recurly 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly.rb +1 -0
- data/lib/recurly/base.rb +92 -12
- data/lib/recurly/formats/xml_with_errors.rb +132 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/integration/transaction_spec.rb +4 -3
- data/spec/vcr/account/accept-language-account/1297746103.yml +6 -6
- data/spec/vcr/account/close/1297746103.yml +17 -17
- data/spec/vcr/account/create-blank/1297746103.yml +4 -4
- data/spec/vcr/account/create-duplicate/1297746103.yml +10 -10
- data/spec/vcr/account/create-min/1297746103.yml +6 -6
- data/spec/vcr/account/create/1297746103.yml +6 -6
- data/spec/vcr/account/find/1297746103.yml +16 -16
- data/spec/vcr/account/list/1297746103.yml +204 -156
- data/spec/vcr/account/update/1297746103.yml +29 -29
- data/spec/vcr/billing/create/1298594128.yml +21 -21
- data/spec/vcr/billing/destroy/1298594128.yml +28 -28
- data/spec/vcr/billing/find/1298594128.yml +28 -28
- data/spec/vcr/billing/update/1298594128.yml +29 -29
- data/spec/vcr/charge/create/1297746103.yml +29 -29
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +32 -32
- data/spec/vcr/charge/list-all/1297746103.yml +41 -41
- data/spec/vcr/charge/list-invoiced/1297746103.yml +68 -68
- data/spec/vcr/charge/list-pending/1297746103.yml +41 -41
- data/spec/vcr/charge/lookup/1297746103.yml +21 -21
- data/spec/vcr/coupon/create/1299714521.yml +25 -25
- data/spec/vcr/coupon/destroy/1299714521.yml +22 -22
- data/spec/vcr/credit/create/1299714599.yml +21 -21
- data/spec/vcr/credit/delete/1299714599.yml +28 -28
- data/spec/vcr/credit/list/1299714599.yml +41 -41
- data/spec/vcr/credit/lookup/1299714599.yml +21 -21
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +18 -18
- data/spec/vcr/invoice/create/1297746103.yml +42 -42
- data/spec/vcr/invoice/list/1297746103.yml +61 -61
- data/spec/vcr/invoice/lookup/1297746103.yml +43 -43
- data/spec/vcr/plan/all.yml +65 -52
- data/spec/vcr/plan/find.yml +58 -34
- data/spec/vcr/plan/update.yml +28 -29
- data/spec/vcr/subscription/addons/add/1297746103.yml +293 -335
- data/spec/vcr/subscription/addons/add/1301884213.yml +480 -0
- data/spec/vcr/subscription/addons/create/1297746103.yml +134 -335
- data/spec/vcr/subscription/addons/create/1301884213.yml +321 -0
- data/spec/vcr/subscription/addons/remove/1297746103.yml +262 -335
- data/spec/vcr/subscription/addons/remove/1301884213.yml +449 -0
- data/spec/vcr/subscription/cancel-with-code/{1297746103.yml → 1301881900.yml} +104 -92
- data/spec/vcr/subscription/cancel/{1297746103.yml → 1301881900.yml} +90 -78
- data/spec/vcr/subscription/change1/{1297746103.yml → 1301881900.yml} +86 -74
- data/spec/vcr/subscription/change2/{1297746103.yml → 1301881900.yml} +86 -74
- data/spec/vcr/subscription/create/{1297746103.yml → 1301881900.yml} +50 -38
- data/spec/vcr/subscription/find/{1297746103.yml → 1301881900.yml} +62 -50
- data/spec/vcr/subscription/reactivate/{1297746103.yml → 1301881900.yml} +95 -83
- data/spec/vcr/subscription/refund-full/{1297746103.yml → 1301881900.yml} +79 -67
- data/spec/vcr/subscription/refund-none/{1297746103.yml → 1301881900.yml} +79 -67
- data/spec/vcr/subscription/refund-partial/{1297746103.yml → 1301881900.yml} +79 -67
- data/spec/vcr/transaction/all/1301883347.yml +387 -0
- data/spec/vcr/transaction/create-no-account/{1300473500.yml → 1301883347.yml} +18 -18
- data/spec/vcr/transaction/create-with-account/{1300473500.yml → 1301883347.yml} +37 -37
- data/spec/vcr/transaction/list-filled/{1300473500.yml → 1301883347.yml} +169 -169
- data/spec/vcr/transaction/list-initial/{1300473500.yml → 1301883347.yml} +39 -39
- data/spec/vcr/transaction/lookup/{1300473500.yml → 1301883347.yml} +119 -119
- data/spec/vcr/transaction/refund/{1300473500.yml → 1301883347.yml} +53 -53
- data/spec/vcr/transaction/void/1301883347.yml +365 -0
- data/spec/vcr/transparent/post-url/{1300476053.yml → 1301879142.yml} +19 -19
- metadata +66 -58
- data/spec/vcr/transaction/all/1300473500.yml +0 -387
- data/spec/vcr/transaction/void/1300473500.yml +0 -620
- data/spec/vcr/transparent/post-url/1300475927.yml +0 -41
- data/spec/vcr/transparent/post-url/1300475952.yml +0 -41
- data/spec/vcr/transparent/post-url/1300476034.yml +0 -125
- data/spec/vcr/transparent/post-url/1300476102.yml +0 -125
- data/spec/vcr/transparent/post-url/1300476126.yml +0 -125
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri: http://api-test-
|
5
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
headers:
|
22
22
|
authorization:
|
23
|
-
- Basic
|
23
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
24
24
|
content-type:
|
25
25
|
- application/xml
|
26
26
|
accept:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "543"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "601"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=f1fae4a58d5cc3dfcd7f9b9d467d9d69; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-
|
65
|
+
<hosted_login_token>0816719bc7c549f2b37c18b2fe0d660c</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-04T02:20:45Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -71,7 +71,7 @@
|
|
71
71
|
- !ruby/struct:VCR::HTTPInteraction
|
72
72
|
request: !ruby/struct:VCR::Request
|
73
73
|
method: :post
|
74
|
-
uri: http://api-test-
|
74
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges.xml
|
75
75
|
body: |
|
76
76
|
<?xml version="1.0" encoding="UTF-8"?>
|
77
77
|
<charge>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
|
82
82
|
headers:
|
83
83
|
authorization:
|
84
|
-
- Basic
|
84
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
85
85
|
content-type:
|
86
86
|
- application/xml
|
87
87
|
accept:
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "301"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "527"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=3ed24ecf0fda804562069e6f5d9b7f02; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,25 +112,25 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>26164b2e1d3041679fa2df83f6205fe9</id>
|
116
116
|
<account_code>charge-delete-uinvoiced-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-
|
118
|
+
<start_date type="datetime">2011-04-04T02:20:47Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>inconvenience fee</description>
|
122
|
-
<created_at type="datetime">2011-
|
122
|
+
<created_at type="datetime">2011-04-04T02:20:47Z</created_at>
|
123
123
|
</charge>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test-
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/26164b2e1d3041679fa2df83f6205fe9.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
133
|
-
- Basic
|
133
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
134
134
|
accept:
|
135
135
|
- application/xml
|
136
136
|
accept-encoding:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "297"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"abbedc9e8066d7b210477c289d257e8a\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "527"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=0e21d92d1d917726c5804d8455c03192; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,25 +163,25 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>26164b2e1d3041679fa2df83f6205fe9</id>
|
167
167
|
<account_code>charge-delete-uinvoiced-1297746103</account_code>
|
168
168
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-
|
169
|
+
<start_date type="datetime">2011-04-04T02:20:47Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>inconvenience fee</description>
|
173
|
-
<created_at type="datetime">2011-
|
173
|
+
<created_at type="datetime">2011-04-04T02:20:47Z</created_at>
|
174
174
|
</charge>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
177
177
|
- !ruby/struct:VCR::HTTPInteraction
|
178
178
|
request: !ruby/struct:VCR::Request
|
179
179
|
method: :delete
|
180
|
-
uri: http://api-test-
|
180
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/26164b2e1d3041679fa2df83f6205fe9.xml
|
181
181
|
body:
|
182
182
|
headers:
|
183
183
|
authorization:
|
184
|
-
- Basic
|
184
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
185
185
|
accept:
|
186
186
|
- application/xml
|
187
187
|
user-agent:
|
@@ -196,13 +196,13 @@
|
|
196
196
|
cache-control:
|
197
197
|
- no-cache
|
198
198
|
x-runtime:
|
199
|
-
- "
|
199
|
+
- "84"
|
200
200
|
content-type:
|
201
201
|
- application/xml; charset=utf-8
|
202
202
|
content-length:
|
203
203
|
- "1"
|
204
204
|
set-cookie:
|
205
|
-
- _recurly_session=
|
205
|
+
- _recurly_session=ec913d3ddbe5839a49dba46a1312807a; domain=.recurly.local; path=/; HttpOnly
|
206
206
|
connection:
|
207
207
|
- close
|
208
208
|
server:
|
@@ -212,11 +212,11 @@
|
|
212
212
|
- !ruby/struct:VCR::HTTPInteraction
|
213
213
|
request: !ruby/struct:VCR::Request
|
214
214
|
method: :get
|
215
|
-
uri: http://api-test-
|
215
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/26164b2e1d3041679fa2df83f6205fe9.xml
|
216
216
|
body:
|
217
217
|
headers:
|
218
218
|
authorization:
|
219
|
-
- Basic
|
219
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
220
220
|
accept:
|
221
221
|
- application/xml
|
222
222
|
accept-encoding:
|
@@ -237,7 +237,7 @@
|
|
237
237
|
content-length:
|
238
238
|
- "92"
|
239
239
|
set-cookie:
|
240
|
-
- _recurly_session=
|
240
|
+
- _recurly_session=76da2c47731adc4fa38df6618bd8b094; domain=.recurly.local; path=/; HttpOnly
|
241
241
|
connection:
|
242
242
|
- close
|
243
243
|
server:
|
@@ -252,7 +252,7 @@
|
|
252
252
|
- !ruby/struct:VCR::HTTPInteraction
|
253
253
|
request: !ruby/struct:VCR::Request
|
254
254
|
method: :post
|
255
|
-
uri: http://api-test-
|
255
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/invoices.xml
|
256
256
|
body: |
|
257
257
|
<?xml version="1.0" encoding="UTF-8"?>
|
258
258
|
<invoice>
|
@@ -260,7 +260,7 @@
|
|
260
260
|
|
261
261
|
headers:
|
262
262
|
authorization:
|
263
|
-
- Basic
|
263
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
264
264
|
content-type:
|
265
265
|
- application/xml
|
266
266
|
accept:
|
@@ -277,13 +277,13 @@
|
|
277
277
|
cache-control:
|
278
278
|
- no-cache
|
279
279
|
x-runtime:
|
280
|
-
- "
|
280
|
+
- "320"
|
281
281
|
content-type:
|
282
282
|
- application/xml; charset=utf-8
|
283
283
|
content-length:
|
284
284
|
- "98"
|
285
285
|
set-cookie:
|
286
|
-
- _recurly_session=
|
286
|
+
- _recurly_session=e789af62d937efadc88aaf07ea2e4a5b; domain=.recurly.local; path=/; HttpOnly
|
287
287
|
connection:
|
288
288
|
- close
|
289
289
|
server:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri: http://api-test-
|
5
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
headers:
|
22
22
|
authorization:
|
23
|
-
- Basic
|
23
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
24
24
|
content-type:
|
25
25
|
- application/xml
|
26
26
|
accept:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-list-all-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "345"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "585"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=7335f80e9ed2246663cc7f00123302ea; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-
|
65
|
+
<hosted_login_token>35fd176e1a934315996dbd9a74c035bb</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-04T02:19:46Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -71,7 +71,7 @@
|
|
71
71
|
- !ruby/struct:VCR::HTTPInteraction
|
72
72
|
request: !ruby/struct:VCR::Request
|
73
73
|
method: :post
|
74
|
-
uri: http://api-test-
|
74
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-list-all-1297746103/charges.xml
|
75
75
|
body: |
|
76
76
|
<?xml version="1.0" encoding="UTF-8"?>
|
77
77
|
<charge>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
|
82
82
|
headers:
|
83
83
|
authorization:
|
84
|
-
- Basic
|
84
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
85
85
|
content-type:
|
86
86
|
- application/xml
|
87
87
|
accept:
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "298"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "520"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=db7a37a03fdf6eab4a879794a740d9bc; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>e1e79892e27e47cdba77e5490a97ab71</id>
|
116
116
|
<account_code>charge-list-all-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-
|
118
|
+
<start_date type="datetime">2011-04-04T02:19:48Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>charge description</description>
|
122
|
-
<created_at type="datetime">2011-
|
122
|
+
<created_at type="datetime">2011-04-04T02:19:48Z</created_at>
|
123
123
|
</charge>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :post
|
129
|
-
uri: http://api-test-
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-list-all-1297746103/charges.xml
|
130
130
|
body: |
|
131
131
|
<?xml version="1.0" encoding="UTF-8"?>
|
132
132
|
<charge>
|
@@ -136,7 +136,7 @@
|
|
136
136
|
|
137
137
|
headers:
|
138
138
|
authorization:
|
139
|
-
- Basic
|
139
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
140
140
|
content-type:
|
141
141
|
- application/xml
|
142
142
|
accept:
|
@@ -153,13 +153,13 @@
|
|
153
153
|
cache-control:
|
154
154
|
- no-cache
|
155
155
|
x-runtime:
|
156
|
-
- "
|
156
|
+
- "307"
|
157
157
|
content-type:
|
158
158
|
- application/xml; charset=utf-8
|
159
159
|
content-length:
|
160
160
|
- "520"
|
161
161
|
set-cookie:
|
162
|
-
- _recurly_session=
|
162
|
+
- _recurly_session=996cd56b9cc28ef3c6688befc2cbb70a; domain=.recurly.local; path=/; HttpOnly
|
163
163
|
connection:
|
164
164
|
- close
|
165
165
|
server:
|
@@ -167,21 +167,21 @@
|
|
167
167
|
body: |
|
168
168
|
<?xml version="1.0" encoding="UTF-8"?>
|
169
169
|
<charge type="charge">
|
170
|
-
<id>
|
170
|
+
<id>b681c82962e9464dbcdae13910e418fe</id>
|
171
171
|
<account_code>charge-list-all-1297746103</account_code>
|
172
172
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
173
|
-
<start_date type="datetime">2011-
|
173
|
+
<start_date type="datetime">2011-04-04T02:19:51Z</start_date>
|
174
174
|
<end_date nil="true" type="datetime"></end_date>
|
175
175
|
<invoice_number nil="true" type="integer"></invoice_number>
|
176
176
|
<description>charge description</description>
|
177
|
-
<created_at type="datetime">2011-
|
177
|
+
<created_at type="datetime">2011-04-04T02:19:51Z</created_at>
|
178
178
|
</charge>
|
179
179
|
|
180
180
|
http_version: "1.1"
|
181
181
|
- !ruby/struct:VCR::HTTPInteraction
|
182
182
|
request: !ruby/struct:VCR::Request
|
183
183
|
method: :post
|
184
|
-
uri: http://api-test-
|
184
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-list-all-1297746103/charges.xml
|
185
185
|
body: |
|
186
186
|
<?xml version="1.0" encoding="UTF-8"?>
|
187
187
|
<charge>
|
@@ -191,7 +191,7 @@
|
|
191
191
|
|
192
192
|
headers:
|
193
193
|
authorization:
|
194
|
-
- Basic
|
194
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
195
195
|
content-type:
|
196
196
|
- application/xml
|
197
197
|
accept:
|
@@ -208,13 +208,13 @@
|
|
208
208
|
cache-control:
|
209
209
|
- no-cache
|
210
210
|
x-runtime:
|
211
|
-
- "
|
211
|
+
- "309"
|
212
212
|
content-type:
|
213
213
|
- application/xml; charset=utf-8
|
214
214
|
content-length:
|
215
215
|
- "520"
|
216
216
|
set-cookie:
|
217
|
-
- _recurly_session=
|
217
|
+
- _recurly_session=73244f26e1bffd4e4d8156d3ffecb160; domain=.recurly.local; path=/; HttpOnly
|
218
218
|
connection:
|
219
219
|
- close
|
220
220
|
server:
|
@@ -222,25 +222,25 @@
|
|
222
222
|
body: |
|
223
223
|
<?xml version="1.0" encoding="UTF-8"?>
|
224
224
|
<charge type="charge">
|
225
|
-
<id>
|
225
|
+
<id>e5144ea0ab844ef1816e1f505120ae21</id>
|
226
226
|
<account_code>charge-list-all-1297746103</account_code>
|
227
227
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
228
|
-
<start_date type="datetime">2011-
|
228
|
+
<start_date type="datetime">2011-04-04T02:19:53Z</start_date>
|
229
229
|
<end_date nil="true" type="datetime"></end_date>
|
230
230
|
<invoice_number nil="true" type="integer"></invoice_number>
|
231
231
|
<description>charge description</description>
|
232
|
-
<created_at type="datetime">2011-
|
232
|
+
<created_at type="datetime">2011-04-04T02:19:53Z</created_at>
|
233
233
|
</charge>
|
234
234
|
|
235
235
|
http_version: "1.1"
|
236
236
|
- !ruby/struct:VCR::HTTPInteraction
|
237
237
|
request: !ruby/struct:VCR::Request
|
238
238
|
method: :get
|
239
|
-
uri: http://api-test-
|
239
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-list-all-1297746103/charges.xml
|
240
240
|
body:
|
241
241
|
headers:
|
242
242
|
authorization:
|
243
|
-
- Basic
|
243
|
+
- Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
|
244
244
|
accept:
|
245
245
|
- application/xml
|
246
246
|
accept-encoding:
|
@@ -255,17 +255,17 @@
|
|
255
255
|
message: OK
|
256
256
|
headers:
|
257
257
|
x-runtime:
|
258
|
-
- "
|
258
|
+
- "284"
|
259
259
|
content-type:
|
260
260
|
- application/xml; charset=utf-8
|
261
261
|
etag:
|
262
|
-
- "\"
|
262
|
+
- "\"d34743ce055748cee04437c1f9abb42b\""
|
263
263
|
cache-control:
|
264
264
|
- private, max-age=0, must-revalidate
|
265
265
|
content-length:
|
266
266
|
- "1576"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=e27b2d2677afccc092fc403fe14bac20; domain=.recurly.local; path=/; HttpOnly
|
269
269
|
connection:
|
270
270
|
- close
|
271
271
|
server:
|
@@ -274,34 +274,34 @@
|
|
274
274
|
<?xml version="1.0" encoding="UTF-8"?>
|
275
275
|
<charges type="array">
|
276
276
|
<charge type="charge">
|
277
|
-
<id>
|
277
|
+
<id>e5144ea0ab844ef1816e1f505120ae21</id>
|
278
278
|
<account_code>charge-list-all-1297746103</account_code>
|
279
279
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
280
|
-
<start_date type="datetime">2011-
|
280
|
+
<start_date type="datetime">2011-04-04T02:19:53Z</start_date>
|
281
281
|
<end_date nil="true" type="datetime"></end_date>
|
282
282
|
<invoice_number nil="true" type="integer"></invoice_number>
|
283
283
|
<description>charge description</description>
|
284
|
-
<created_at type="datetime">2011-
|
284
|
+
<created_at type="datetime">2011-04-04T02:19:53Z</created_at>
|
285
285
|
</charge>
|
286
286
|
<charge type="charge">
|
287
|
-
<id>
|
287
|
+
<id>b681c82962e9464dbcdae13910e418fe</id>
|
288
288
|
<account_code>charge-list-all-1297746103</account_code>
|
289
289
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2011-
|
290
|
+
<start_date type="datetime">2011-04-04T02:19:51Z</start_date>
|
291
291
|
<end_date nil="true" type="datetime"></end_date>
|
292
292
|
<invoice_number nil="true" type="integer"></invoice_number>
|
293
293
|
<description>charge description</description>
|
294
|
-
<created_at type="datetime">2011-
|
294
|
+
<created_at type="datetime">2011-04-04T02:19:51Z</created_at>
|
295
295
|
</charge>
|
296
296
|
<charge type="charge">
|
297
|
-
<id>
|
297
|
+
<id>e1e79892e27e47cdba77e5490a97ab71</id>
|
298
298
|
<account_code>charge-list-all-1297746103</account_code>
|
299
299
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
300
|
-
<start_date type="datetime">2011-
|
300
|
+
<start_date type="datetime">2011-04-04T02:19:48Z</start_date>
|
301
301
|
<end_date nil="true" type="datetime"></end_date>
|
302
302
|
<invoice_number nil="true" type="integer"></invoice_number>
|
303
303
|
<description>charge description</description>
|
304
|
-
<created_at type="datetime">2011-
|
304
|
+
<created_at type="datetime">2011-04-04T02:19:48Z</created_at>
|
305
305
|
</charge>
|
306
306
|
</charges>
|
307
307
|
|