recurly 0.2.2 → 0.2.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/subscription.rb +2 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +0 -2
- data/spec/integration/invoice_spec.rb +0 -1
- data/spec/integration/subscription_spec.rb +49 -10
- data/spec/integration/transaction_spec.rb +3 -2
- data/spec/support/factory.rb +2 -2
- data/spec/vcr/account/close/{1286666929.yml → 1287167046.yml} +23 -23
- data/spec/vcr/account/create/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/create-blank/{1286666929.yml → 1287167046.yml} +3 -3
- data/spec/vcr/account/create-duplicate/{1286666929.yml → 1287167046.yml} +27 -12
- data/spec/vcr/account/create-min/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/find/{1286666929.yml → 1287167046.yml} +67 -29
- data/spec/vcr/account/list/{1286666929.yml → 1287167046.yml} +201 -228
- data/spec/vcr/account/update/{1286666929.yml → 1287167046.yml} +41 -41
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +25 -25
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/list/1286681343.yml +37 -37
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/invoice/create/{1286679184.yml → 1287167121.yml} +49 -49
- data/spec/vcr/{transaction/refund/1286674805.yml → invoice/create-no-charges/1287167121.yml} +32 -57
- data/spec/vcr/invoice/list/{1286679184.yml → 1287167121.yml} +71 -71
- data/spec/vcr/invoice/lookup/{1286679184.yml → 1287167121.yml} +50 -50
- data/spec/vcr/plan/all.yml +8 -8
- data/spec/vcr/plan/delete/1286677585.yml +15 -15
- data/spec/vcr/plan/find.yml +8 -8
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/cancel/{1287037363.yml → 1287439446.yml} +62 -62
- data/spec/vcr/subscription/cancel/{1287037325.yml → 1287442108.yml} +60 -60
- data/spec/vcr/subscription/cancel/{1287036910.yml → 1287442352.yml} +60 -60
- data/spec/vcr/subscription/change1/{1287037363.yml → 1287439446.yml} +58 -58
- data/spec/vcr/subscription/change1/{1287037152.yml → 1287442108.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287036910.yml → 1287442352.yml} +56 -56
- data/spec/vcr/subscription/{change1/1287037325.yml → change2/1287439446.yml} +64 -64
- data/spec/vcr/subscription/change2/{1287036910.yml → 1287442108.yml} +55 -55
- data/spec/vcr/subscription/change2/{1287037363.yml → 1287442352.yml} +58 -58
- data/spec/vcr/subscription/create/{1287037363.yml → 1287439446.yml} +27 -27
- data/spec/vcr/subscription/create/{1287037325.yml → 1287442108.yml} +28 -28
- data/spec/vcr/subscription/create/{1287037152.yml → 1287442352.yml} +28 -28
- data/spec/vcr/subscription/find/{1287036910.yml → 1287439446.yml} +36 -36
- data/spec/vcr/subscription/find/{1287037152.yml → 1287442108.yml} +38 -38
- data/spec/vcr/subscription/find/{1287037325.yml → 1287442352.yml} +38 -38
- data/spec/vcr/subscription/{refund/1287037325.yml → refund-full/1287439446.yml} +56 -56
- data/spec/vcr/subscription/{refund/1287037363.yml → refund-full/1287442108.yml} +58 -58
- data/spec/vcr/subscription/{refund/1287036910.yml → refund-full/1287442352.yml} +55 -55
- data/spec/vcr/subscription/refund-none/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442352.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442352.yml +382 -0
- data/spec/vcr/transaction/all/{1286674805.yml → 1287186411.yml} +104 -104
- data/spec/vcr/transaction/create-no-account/{1286674805.yml → 1287186411.yml} +11 -11
- data/spec/vcr/transaction/create-with-account/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-empty/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-filled/{1286674805.yml → 1287186411.yml} +59 -59
- data/spec/vcr/transaction/lookup/{1286674805.yml → 1287186411.yml} +66 -66
- data/spec/vcr/transaction/refund/1287186411.yml +282 -0
- data/spec/vcr/transaction/void/{1286674805.yml → 1287186411.yml} +87 -155
- metadata +92 -86
- data/spec/vcr/subscription/change2/1287037152.yml +0 -283
- data/spec/vcr/subscription/change2/1287037325.yml +0 -283
- data/spec/vcr/subscription/create/1287036910.yml +0 -224
- data/spec/vcr/subscription/find/1287037363.yml +0 -283
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "586"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:30 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "595"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=b25693fb4961677bf2d29035dda3cd8262059514c5b71c28982d6aa9746793da5f01df95ba9513517bc05c7ad71680e14a2348e5a89b4d5977fac35e83c7ad74%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=a6525c202bf43e6fff54dfad7ba1e494; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>1369e863697e44ba8fc3f1c9efb8ec3f</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:30Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,27 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "47"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:31 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "463"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=1918f0eba5839f2aeb7bafd649ad017b; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
112
|
+
<id>fb155de0732748d9bde3b8b10e0b452c</id>
|
113
113
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
114
114
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:31Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:31Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
@@ -149,27 +149,27 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "66"
|
153
153
|
date:
|
154
|
-
-
|
154
|
+
- Mon, 18 Oct 2010 22:05:32 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "463"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=f721d4c8fc960c42fb02b726fe43029c; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>2635e71d71594df29c976b647341a9a4</id>
|
167
167
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
168
168
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
@@ -203,27 +203,27 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "46"
|
207
207
|
date:
|
208
|
-
-
|
208
|
+
- Mon, 18 Oct 2010 22:05:32 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "463"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=bb5faf86a0d1d40fe00b72aacb93206f; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<charge type="charge">
|
220
|
-
<id>
|
220
|
+
<id>1d1190fe9fda43c1bfd51933ad3d1af4</id>
|
221
221
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
222
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -251,30 +251,30 @@
|
|
251
251
|
message: Created
|
252
252
|
headers:
|
253
253
|
location:
|
254
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
254
|
+
- https://recurlytest3-test.recurly.com/invoices/80d45b08695c4ddbb9ce3751e5a4240f
|
255
255
|
connection:
|
256
256
|
- close
|
257
257
|
content-type:
|
258
258
|
- application/xml; charset=utf-8
|
259
259
|
x-runtime:
|
260
|
-
- "
|
260
|
+
- "87"
|
261
261
|
date:
|
262
|
-
-
|
262
|
+
- Mon, 18 Oct 2010 22:05:33 GMT
|
263
263
|
server:
|
264
264
|
- nginx/0.7.65
|
265
265
|
content-length:
|
266
266
|
- "1934"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=57946aabc460aefe443e6487ef99dbd4; domain=.recurly.com; path=/; Secure; HttpOnly
|
269
269
|
cache-control:
|
270
270
|
- no-cache
|
271
271
|
body: |
|
272
272
|
<?xml version="1.0" encoding="UTF-8"?>
|
273
273
|
<invoice>
|
274
|
-
<id>
|
274
|
+
<id>80d45b08695c4ddbb9ce3751e5a4240f</id>
|
275
275
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
276
|
-
<date type="datetime">2010-10-
|
277
|
-
<invoice_number type="integer">
|
276
|
+
<date type="datetime">2010-10-18T22:05:33Z</date>
|
277
|
+
<invoice_number type="integer">1865</invoice_number>
|
278
278
|
<vat_number></vat_number>
|
279
279
|
<status>open</status>
|
280
280
|
<subtotal_in_cents type="integer">3000</subtotal_in_cents>
|
@@ -284,31 +284,31 @@
|
|
284
284
|
<total_due_in_cents type="integer">3000</total_due_in_cents>
|
285
285
|
<line_items type="array">
|
286
286
|
<line_item>
|
287
|
-
<id>
|
287
|
+
<id>fb155de0732748d9bde3b8b10e0b452c</id>
|
288
288
|
<type>charge</type>
|
289
289
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2010-10-
|
290
|
+
<start_date type="datetime">2010-10-18T22:05:31Z</start_date>
|
291
291
|
<end_date nil="true" type="datetime"></end_date>
|
292
292
|
<description>charge description</description>
|
293
|
-
<created_at type="datetime">2010-10-
|
293
|
+
<created_at type="datetime">2010-10-18T22:05:31Z</created_at>
|
294
294
|
</line_item>
|
295
295
|
<line_item>
|
296
|
-
<id>
|
296
|
+
<id>2635e71d71594df29c976b647341a9a4</id>
|
297
297
|
<type>charge</type>
|
298
298
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
299
|
-
<start_date type="datetime">2010-10-
|
299
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
300
300
|
<end_date nil="true" type="datetime"></end_date>
|
301
301
|
<description>charge description</description>
|
302
|
-
<created_at type="datetime">2010-10-
|
302
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
303
303
|
</line_item>
|
304
304
|
<line_item>
|
305
|
-
<id>
|
305
|
+
<id>1d1190fe9fda43c1bfd51933ad3d1af4</id>
|
306
306
|
<type>charge</type>
|
307
307
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
308
|
-
<start_date type="datetime">2010-10-
|
308
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
309
309
|
<end_date nil="true" type="datetime"></end_date>
|
310
310
|
<description>charge description</description>
|
311
|
-
<created_at type="datetime">2010-10-
|
311
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
312
312
|
</line_item>
|
313
313
|
</line_items>
|
314
314
|
<payments type="array">
|
@@ -346,27 +346,27 @@
|
|
346
346
|
content-type:
|
347
347
|
- application/xml; charset=utf-8
|
348
348
|
x-runtime:
|
349
|
-
- "
|
349
|
+
- "66"
|
350
350
|
date:
|
351
|
-
-
|
351
|
+
- Mon, 18 Oct 2010 22:05:34 GMT
|
352
352
|
server:
|
353
353
|
- nginx/0.7.65
|
354
354
|
content-length:
|
355
355
|
- "463"
|
356
356
|
set-cookie:
|
357
|
-
- _recurly_session=
|
357
|
+
- _recurly_session=c48b0e8d1e1bf4918f5ba23dea576521; domain=.recurly.com; path=/; Secure; HttpOnly
|
358
358
|
cache-control:
|
359
359
|
- no-cache
|
360
360
|
body: |
|
361
361
|
<?xml version="1.0" encoding="UTF-8"?>
|
362
362
|
<charge type="charge">
|
363
|
-
<id>
|
363
|
+
<id>52e65fb087cd4f809a1c69331609588f</id>
|
364
364
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
365
365
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
366
|
-
<start_date type="datetime">2010-10-
|
366
|
+
<start_date type="datetime">2010-10-18T22:05:34Z</start_date>
|
367
367
|
<end_date nil="true" type="datetime"></end_date>
|
368
368
|
<description>charge description</description>
|
369
|
-
<created_at type="datetime">2010-10-
|
369
|
+
<created_at type="datetime">2010-10-18T22:05:34Z</created_at>
|
370
370
|
</charge>
|
371
371
|
|
372
372
|
http_version: "1.1"
|
@@ -390,55 +390,55 @@
|
|
390
390
|
x-ua-compatible:
|
391
391
|
- IE=Edge
|
392
392
|
etag:
|
393
|
-
- "\"
|
393
|
+
- "\"1901a3a749b79036b2a29a6fab9b7b93\""
|
394
394
|
connection:
|
395
395
|
- close
|
396
396
|
content-type:
|
397
397
|
- application/xml; charset=utf-8
|
398
398
|
x-runtime:
|
399
|
-
- "
|
399
|
+
- "190"
|
400
400
|
date:
|
401
|
-
-
|
401
|
+
- Mon, 18 Oct 2010 22:05:35 GMT
|
402
402
|
server:
|
403
403
|
- nginx/0.7.65
|
404
404
|
content-length:
|
405
405
|
- "1570"
|
406
406
|
set-cookie:
|
407
|
-
- _recurly_session=
|
407
|
+
- _recurly_session=512a49ddb749004ea82a614b72081dd1; domain=.recurly.com; path=/; Secure; HttpOnly
|
408
408
|
cache-control:
|
409
409
|
- private, max-age=0, must-revalidate
|
410
410
|
body: |
|
411
411
|
<?xml version="1.0" encoding="UTF-8"?>
|
412
412
|
<charges type="array">
|
413
413
|
<charge type="charge">
|
414
|
-
<id>
|
414
|
+
<id>1d1190fe9fda43c1bfd51933ad3d1af4</id>
|
415
415
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
416
416
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
417
|
-
<start_date type="datetime">2010-10-
|
417
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
418
418
|
<end_date nil="true" type="datetime"></end_date>
|
419
|
-
<invoice_nunber type="integer">
|
419
|
+
<invoice_nunber type="integer">1865</invoice_nunber>
|
420
420
|
<description>charge description</description>
|
421
|
-
<created_at type="datetime">2010-10-
|
421
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
422
422
|
</charge>
|
423
423
|
<charge type="charge">
|
424
|
-
<id>
|
424
|
+
<id>2635e71d71594df29c976b647341a9a4</id>
|
425
425
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
426
426
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
427
|
-
<start_date type="datetime">2010-10-
|
427
|
+
<start_date type="datetime">2010-10-18T22:05:32Z</start_date>
|
428
428
|
<end_date nil="true" type="datetime"></end_date>
|
429
|
-
<invoice_nunber type="integer">
|
429
|
+
<invoice_nunber type="integer">1865</invoice_nunber>
|
430
430
|
<description>charge description</description>
|
431
|
-
<created_at type="datetime">2010-10-
|
431
|
+
<created_at type="datetime">2010-10-18T22:05:32Z</created_at>
|
432
432
|
</charge>
|
433
433
|
<charge type="charge">
|
434
|
-
<id>
|
434
|
+
<id>fb155de0732748d9bde3b8b10e0b452c</id>
|
435
435
|
<account_code>charge-list-invoiced-1286681273</account_code>
|
436
436
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
437
|
-
<start_date type="datetime">2010-10-
|
437
|
+
<start_date type="datetime">2010-10-18T22:05:31Z</start_date>
|
438
438
|
<end_date nil="true" type="datetime"></end_date>
|
439
|
-
<invoice_nunber type="integer">
|
439
|
+
<invoice_nunber type="integer">1865</invoice_nunber>
|
440
440
|
<description>charge description</description>
|
441
|
-
<created_at type="datetime">2010-10-
|
441
|
+
<created_at type="datetime">2010-10-18T22:05:31Z</created_at>
|
442
442
|
</charge>
|
443
443
|
</charges>
|
444
444
|
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "584"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:25 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "593"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=498da6960e53485243f9635e25686f72e019c99b848f8c2a08277922d7b865f4fe2dd50247e022f561d9f81ae9545210dc5882a900c090650c43c14174a4ae6e%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=155ab6da9c5310c18f743d74301280c4; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>a03a7ad5e119420bb9cb6f2efb8ed693</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:25Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,27 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "99"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:26 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "462"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=00dff0a288d3ab0016a683b55aa3e6ba; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
112
|
+
<id>300e64c1fbbc40ef8ef48a978bfe271c</id>
|
113
113
|
<account_code>charge-list-pending-1286681273</account_code>
|
114
114
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:26Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:26Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
@@ -149,27 +149,27 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "47"
|
153
153
|
date:
|
154
|
-
-
|
154
|
+
- Mon, 18 Oct 2010 22:05:27 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "462"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=f39b76caa9644e147f93cb61d8851131; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>2b06178c555040e5b0666cb1fedf2a3b</id>
|
167
167
|
<account_code>charge-list-pending-1286681273</account_code>
|
168
168
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-18T22:05:27Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-18T22:05:27Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
@@ -203,27 +203,27 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "216"
|
207
207
|
date:
|
208
|
-
-
|
208
|
+
- Mon, 18 Oct 2010 22:05:28 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "462"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=83fef8d37eebd6f568fc57ad9d65df94; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<charge type="charge">
|
220
|
-
<id>
|
220
|
+
<id>73ec49dcd756456c95dfcc118ae501f9</id>
|
221
221
|
<account_code>charge-list-pending-1286681273</account_code>
|
222
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-18T22:05:28Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-18T22:05:28Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -247,55 +247,55 @@
|
|
247
247
|
x-ua-compatible:
|
248
248
|
- IE=Edge
|
249
249
|
etag:
|
250
|
-
- "\"
|
250
|
+
- "\"200d9a129fd26b0965a32817afdd71a0\""
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "28"
|
257
257
|
date:
|
258
|
-
-
|
258
|
+
- Mon, 18 Oct 2010 22:05:29 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "1588"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=bf8f977d0fe02bd185ba400c8636eac4; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
265
|
cache-control:
|
266
266
|
- private, max-age=0, must-revalidate
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<charges type="array">
|
270
270
|
<charge type="charge">
|
271
|
-
<id>
|
271
|
+
<id>73ec49dcd756456c95dfcc118ae501f9</id>
|
272
272
|
<account_code>charge-list-pending-1286681273</account_code>
|
273
273
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
-
<start_date type="datetime">2010-10-
|
274
|
+
<start_date type="datetime">2010-10-18T22:05:28Z</start_date>
|
275
275
|
<end_date nil="true" type="datetime"></end_date>
|
276
276
|
<invoice_number nil="true" type="integer"></invoice_number>
|
277
277
|
<description>charge description</description>
|
278
|
-
<created_at type="datetime">2010-10-
|
278
|
+
<created_at type="datetime">2010-10-18T22:05:28Z</created_at>
|
279
279
|
</charge>
|
280
280
|
<charge type="charge">
|
281
|
-
<id>
|
281
|
+
<id>2b06178c555040e5b0666cb1fedf2a3b</id>
|
282
282
|
<account_code>charge-list-pending-1286681273</account_code>
|
283
283
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
284
|
-
<start_date type="datetime">2010-10-
|
284
|
+
<start_date type="datetime">2010-10-18T22:05:27Z</start_date>
|
285
285
|
<end_date nil="true" type="datetime"></end_date>
|
286
286
|
<invoice_number nil="true" type="integer"></invoice_number>
|
287
287
|
<description>charge description</description>
|
288
|
-
<created_at type="datetime">2010-10-
|
288
|
+
<created_at type="datetime">2010-10-18T22:05:27Z</created_at>
|
289
289
|
</charge>
|
290
290
|
<charge type="charge">
|
291
|
-
<id>
|
291
|
+
<id>300e64c1fbbc40ef8ef48a978bfe271c</id>
|
292
292
|
<account_code>charge-list-pending-1286681273</account_code>
|
293
293
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
294
|
-
<start_date type="datetime">2010-10-
|
294
|
+
<start_date type="datetime">2010-10-18T22:05:26Z</start_date>
|
295
295
|
<end_date nil="true" type="datetime"></end_date>
|
296
296
|
<invoice_number nil="true" type="integer"></invoice_number>
|
297
297
|
<description>charge description</description>
|
298
|
-
<created_at type="datetime">2010-10-
|
298
|
+
<created_at type="datetime">2010-10-18T22:05:26Z</created_at>
|
299
299
|
</charge>
|
300
300
|
</charges>
|
301
301
|
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "610"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:40 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "581"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=c090abb88bd782fd3c49ab732d9f32d4a9eb4026ecac2715c6b8bc64aaf8723e88a2ca3eb62175ac0de541de74d5e555bc85071664aee089f43e8b8a560ae31e%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=ccde8ccb044b0574fe211f8b5d8383b0; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>0b66f6a79c574ff3bfffc1aedaac24c9</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:40Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "46"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:41 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "455"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=a9c2f1bbc752c570f5bee0b8716bac77; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
112
|
+
<id>5a1bac91670c455a8e7dddfbf510b3cf</id>
|
113
113
|
<account_code>charge-lookup-1286681273</account_code>
|
114
114
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:41Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>inconvenience fee</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:41Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1286681273/charges/
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1286681273/charges/5a1bac91670c455a8e7dddfbf510b3cf.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,33 +139,33 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"eb07a6796ef62540e9ce1bfcaa6759e8\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
146
146
|
- application/xml; charset=utf-8
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "14"
|
149
149
|
date:
|
150
|
-
-
|
150
|
+
- Mon, 18 Oct 2010 22:05:42 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "455"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=e60615c3a1d55788d29063acc2c54553; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<charge type="charge">
|
162
|
-
<id>
|
162
|
+
<id>5a1bac91670c455a8e7dddfbf510b3cf</id>
|
163
163
|
<account_code>charge-lookup-1286681273</account_code>
|
164
164
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-18T22:05:41Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>inconvenience fee</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-18T22:05:41Z</created_at>
|
169
169
|
</charge>
|
170
170
|
|
171
171
|
http_version: "1.1"
|