recurly 0.2.9 → 0.3.0
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 +13 -5
- data/lib/recurly/rails3/railtie.rb +1 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381765.yml +15 -15
- data/spec/vcr/account/create-blank/1288381765.yml +3 -3
- data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
- data/spec/vcr/account/create-min/1288381765.yml +6 -6
- data/spec/vcr/account/create/1288381765.yml +6 -6
- data/spec/vcr/account/find/1288381765.yml +14 -14
- data/spec/vcr/account/list/1288381765.yml +251 -530
- data/spec/vcr/account/update/1288381765.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +20 -20
- data/spec/vcr/billing/destroy/1286682213.yml +29 -29
- data/spec/vcr/billing/find/1286682213.yml +25 -25
- data/spec/vcr/billing/update/1286682213.yml +27 -27
- data/spec/vcr/charge/create/1287465632.yml +31 -29
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
- data/spec/vcr/charge/list-all/1287465632.yml +43 -40
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
- data/spec/vcr/charge/lookup/1287465632.yml +24 -22
- data/spec/vcr/credit/create/1287461400.yml +24 -22
- data/spec/vcr/credit/delete/1287461400.yml +31 -29
- data/spec/vcr/credit/list/1287461400.yml +47 -41
- data/spec/vcr/credit/lookup/1287461400.yml +23 -21
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
- data/spec/vcr/invoice/create/1287167121.yml +42 -40
- data/spec/vcr/invoice/list/1287167121.yml +59 -57
- data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +12 -12
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
- data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
- data/spec/vcr/subscription/change1/1287455769.yml +39 -39
- data/spec/vcr/subscription/change2/1287455769.yml +39 -39
- data/spec/vcr/subscription/create/1287455769.yml +18 -18
- data/spec/vcr/subscription/find/1287455769.yml +25 -25
- data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
- data/spec/vcr/transaction/all/1289558212.yml +363 -54
- data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
- data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
- data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
- data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
- data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
- data/spec/vcr/transaction/refund/1289558212.yml +82 -90
- data/spec/vcr/transaction/void/1289558212.yml +377 -143
- metadata +4 -72
- data/spec/vcr/account/close/1287167046.yml +0 -159
- data/spec/vcr/account/close/1288381369.yml +0 -159
- data/spec/vcr/account/close/1288381447.yml +0 -159
- data/spec/vcr/account/create-blank/1287167046.yml +0 -49
- data/spec/vcr/account/create-blank/1288381369.yml +0 -49
- data/spec/vcr/account/create-blank/1288381447.yml +0 -49
- data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
- data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
- data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
- data/spec/vcr/account/create-min/1287167046.yml +0 -63
- data/spec/vcr/account/create-min/1288381369.yml +0 -63
- data/spec/vcr/account/create-min/1288381447.yml +0 -63
- data/spec/vcr/account/create/1287167046.yml +0 -67
- data/spec/vcr/account/create/1288381369.yml +0 -67
- data/spec/vcr/account/create/1288381447.yml +0 -67
- data/spec/vcr/account/find-all/1288381369.yml +0 -52
- data/spec/vcr/account/find-all/1288381447.yml +0 -1383
- data/spec/vcr/account/find/1287167046.yml +0 -160
- data/spec/vcr/account/find/1288381369.yml +0 -160
- data/spec/vcr/account/find/1288381447.yml +0 -160
- data/spec/vcr/account/list/1287167046.yml +0 -1538
- data/spec/vcr/account/list/1288381369.yml +0 -1835
- data/spec/vcr/account/list/1288381447.yml +0 -1835
- data/spec/vcr/account/update/1287167046.yml +0 -250
- data/spec/vcr/account/update/1288381369.yml +0 -250
- data/spec/vcr/account/update/1288381447.yml +0 -250
- data/spec/vcr/transaction/all/1287186411.yml +0 -387
- data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
- data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
- data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
- data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
- data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
- data/spec/vcr/transaction/refund/1287186411.yml +0 -282
- data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "271"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:56 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "579"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=f7470270b9293c37b826aec1dbd7f23405f09f3287463812d0d81f06b74368f3e204dac642b39eca6b281c33b4e4c523842a83411dee49d1d72baa10e7ce43bb%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=4cc4e6160f1ed5c6fc92ac7d608525c1; 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-
|
62
|
+
<hosted_login_token>5c3ffee278234507a0f33f8e8cf80083</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:55Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<country>US</country>
|
80
80
|
<credit-card>
|
81
81
|
<number>1</number>
|
82
|
-
<month type="integer">
|
82
|
+
<month type="integer">11</month>
|
83
83
|
<year type="integer">2011</year>
|
84
84
|
<verification-value>123</verification-value>
|
85
85
|
</credit-card>
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"c6f0662786d7e204e676b48458eb86aa\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "54"
|
115
115
|
date:
|
116
|
-
- Tue,
|
116
|
+
- Tue, 16 Nov 2010 07:03:54 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "637"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=6dfe194eb89f07506305c2894283a42f; domain=.recurly.com; path=/; secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -140,10 +140,10 @@
|
|
140
140
|
<credit_card>
|
141
141
|
<type>bogus</type>
|
142
142
|
<last_four>1</last_four>
|
143
|
-
<month type="integer">
|
143
|
+
<month type="integer">11</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-
|
146
|
+
<updated_at type="datetime">2010-11-16T07:03:54Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -177,27 +177,28 @@
|
|
177
177
|
content-type:
|
178
178
|
- application/xml; charset=utf-8
|
179
179
|
x-runtime:
|
180
|
-
- "
|
180
|
+
- "44"
|
181
181
|
date:
|
182
|
-
- Tue,
|
182
|
+
- Tue, 16 Nov 2010 07:03:57 GMT
|
183
183
|
server:
|
184
184
|
- nginx/0.7.65
|
185
185
|
content-length:
|
186
|
-
- "
|
186
|
+
- "516"
|
187
187
|
set-cookie:
|
188
|
-
- _recurly_session=
|
188
|
+
- _recurly_session=680e03e4651fab43a9b3ded80cf1f94c; domain=.recurly.com; path=/; secure; HttpOnly
|
189
189
|
cache-control:
|
190
190
|
- no-cache
|
191
191
|
body: |
|
192
192
|
<?xml version="1.0" encoding="UTF-8"?>
|
193
193
|
<charge type="charge">
|
194
|
-
<id>
|
194
|
+
<id>68cde074fe314496949539a2089a31f3</id>
|
195
195
|
<account_code>invoice-list-1287167121</account_code>
|
196
196
|
<amount_in_cents type="integer">100</amount_in_cents>
|
197
|
-
<start_date type="datetime">2010-
|
197
|
+
<start_date type="datetime">2010-11-16T07:03:57Z</start_date>
|
198
198
|
<end_date nil="true" type="datetime"></end_date>
|
199
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
199
200
|
<description>charge description</description>
|
200
|
-
<created_at type="datetime">2010-
|
201
|
+
<created_at type="datetime">2010-11-16T07:03:57Z</created_at>
|
201
202
|
</charge>
|
202
203
|
|
203
204
|
http_version: "1.1"
|
@@ -225,30 +226,30 @@
|
|
225
226
|
message: Created
|
226
227
|
headers:
|
227
228
|
location:
|
228
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
229
|
+
- https://recurlytest3-test.recurly.com/invoices/80705380f0834564963fe6e46b0a3b21
|
229
230
|
connection:
|
230
231
|
- close
|
231
232
|
content-type:
|
232
233
|
- application/xml; charset=utf-8
|
233
234
|
x-runtime:
|
234
|
-
- "
|
235
|
+
- "64"
|
235
236
|
date:
|
236
|
-
- Tue,
|
237
|
+
- Tue, 16 Nov 2010 07:03:55 GMT
|
237
238
|
server:
|
238
239
|
- nginx/0.7.65
|
239
240
|
content-length:
|
240
241
|
- "1100"
|
241
242
|
set-cookie:
|
242
|
-
- _recurly_session=
|
243
|
+
- _recurly_session=8517c075c032126788394bfd0ac0a706; domain=.recurly.com; path=/; secure; HttpOnly
|
243
244
|
cache-control:
|
244
245
|
- no-cache
|
245
246
|
body: |
|
246
247
|
<?xml version="1.0" encoding="UTF-8"?>
|
247
248
|
<invoice>
|
248
|
-
<id>
|
249
|
+
<id>80705380f0834564963fe6e46b0a3b21</id>
|
249
250
|
<account_code>invoice-list-1287167121</account_code>
|
250
|
-
<date type="datetime">2010-
|
251
|
-
<invoice_number type="integer">
|
251
|
+
<date type="datetime">2010-11-16T07:03:55Z</date>
|
252
|
+
<invoice_number type="integer">2227</invoice_number>
|
252
253
|
<vat_number></vat_number>
|
253
254
|
<status>open</status>
|
254
255
|
<subtotal_in_cents type="integer">100</subtotal_in_cents>
|
@@ -258,13 +259,13 @@
|
|
258
259
|
<total_due_in_cents type="integer">100</total_due_in_cents>
|
259
260
|
<line_items type="array">
|
260
261
|
<line_item>
|
261
|
-
<id>
|
262
|
+
<id>68cde074fe314496949539a2089a31f3</id>
|
262
263
|
<type>charge</type>
|
263
264
|
<amount_in_cents type="integer">100</amount_in_cents>
|
264
|
-
<start_date type="datetime">2010-
|
265
|
+
<start_date type="datetime">2010-11-16T07:03:57Z</start_date>
|
265
266
|
<end_date nil="true" type="datetime"></end_date>
|
266
267
|
<description>charge description</description>
|
267
|
-
<created_at type="datetime">2010-
|
268
|
+
<created_at type="datetime">2010-11-16T07:03:57Z</created_at>
|
268
269
|
</line_item>
|
269
270
|
</line_items>
|
270
271
|
<payments type="array">
|
@@ -302,27 +303,28 @@
|
|
302
303
|
content-type:
|
303
304
|
- application/xml; charset=utf-8
|
304
305
|
x-runtime:
|
305
|
-
- "
|
306
|
+
- "44"
|
306
307
|
date:
|
307
|
-
- Tue,
|
308
|
+
- Tue, 16 Nov 2010 07:03:58 GMT
|
308
309
|
server:
|
309
310
|
- nginx/0.7.65
|
310
311
|
content-length:
|
311
|
-
- "
|
312
|
+
- "516"
|
312
313
|
set-cookie:
|
313
|
-
- _recurly_session=
|
314
|
+
- _recurly_session=48c693c24e21e31899d504c111d71452; domain=.recurly.com; path=/; secure; HttpOnly
|
314
315
|
cache-control:
|
315
316
|
- no-cache
|
316
317
|
body: |
|
317
318
|
<?xml version="1.0" encoding="UTF-8"?>
|
318
319
|
<charge type="charge">
|
319
|
-
<id>
|
320
|
+
<id>0ed4c719de884c9e831e356874cf1733</id>
|
320
321
|
<account_code>invoice-list-1287167121</account_code>
|
321
322
|
<amount_in_cents type="integer">300</amount_in_cents>
|
322
|
-
<start_date type="datetime">2010-
|
323
|
+
<start_date type="datetime">2010-11-16T07:03:58Z</start_date>
|
323
324
|
<end_date nil="true" type="datetime"></end_date>
|
325
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
324
326
|
<description>charge description</description>
|
325
|
-
<created_at type="datetime">2010-
|
327
|
+
<created_at type="datetime">2010-11-16T07:03:58Z</created_at>
|
326
328
|
</charge>
|
327
329
|
|
328
330
|
http_version: "1.1"
|
@@ -350,30 +352,30 @@
|
|
350
352
|
message: Created
|
351
353
|
headers:
|
352
354
|
location:
|
353
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
355
|
+
- https://recurlytest3-test.recurly.com/invoices/679adf945dd74b1295f95d54894d60dc
|
354
356
|
connection:
|
355
357
|
- close
|
356
358
|
content-type:
|
357
359
|
- application/xml; charset=utf-8
|
358
360
|
x-runtime:
|
359
|
-
- "
|
361
|
+
- "56"
|
360
362
|
date:
|
361
|
-
- Tue,
|
363
|
+
- Tue, 16 Nov 2010 07:03:56 GMT
|
362
364
|
server:
|
363
365
|
- nginx/0.7.65
|
364
366
|
content-length:
|
365
367
|
- "1100"
|
366
368
|
set-cookie:
|
367
|
-
- _recurly_session=
|
369
|
+
- _recurly_session=366c087c7dab46dbbb0879cdbb136481; domain=.recurly.com; path=/; secure; HttpOnly
|
368
370
|
cache-control:
|
369
371
|
- no-cache
|
370
372
|
body: |
|
371
373
|
<?xml version="1.0" encoding="UTF-8"?>
|
372
374
|
<invoice>
|
373
|
-
<id>
|
375
|
+
<id>679adf945dd74b1295f95d54894d60dc</id>
|
374
376
|
<account_code>invoice-list-1287167121</account_code>
|
375
|
-
<date type="datetime">2010-
|
376
|
-
<invoice_number type="integer">
|
377
|
+
<date type="datetime">2010-11-16T07:03:56Z</date>
|
378
|
+
<invoice_number type="integer">2228</invoice_number>
|
377
379
|
<vat_number></vat_number>
|
378
380
|
<status>open</status>
|
379
381
|
<subtotal_in_cents type="integer">300</subtotal_in_cents>
|
@@ -383,13 +385,13 @@
|
|
383
385
|
<total_due_in_cents type="integer">300</total_due_in_cents>
|
384
386
|
<line_items type="array">
|
385
387
|
<line_item>
|
386
|
-
<id>
|
388
|
+
<id>0ed4c719de884c9e831e356874cf1733</id>
|
387
389
|
<type>charge</type>
|
388
390
|
<amount_in_cents type="integer">300</amount_in_cents>
|
389
|
-
<start_date type="datetime">2010-
|
391
|
+
<start_date type="datetime">2010-11-16T07:03:58Z</start_date>
|
390
392
|
<end_date nil="true" type="datetime"></end_date>
|
391
393
|
<description>charge description</description>
|
392
|
-
<created_at type="datetime">2010-
|
394
|
+
<created_at type="datetime">2010-11-16T07:03:58Z</created_at>
|
393
395
|
</line_item>
|
394
396
|
</line_items>
|
395
397
|
<payments type="array">
|
@@ -417,39 +419,39 @@
|
|
417
419
|
x-ua-compatible:
|
418
420
|
- IE=Edge
|
419
421
|
etag:
|
420
|
-
- "\"
|
422
|
+
- "\"c00dc9d28a37995e4f61ff9ca517f580\""
|
421
423
|
connection:
|
422
424
|
- close
|
423
425
|
content-type:
|
424
426
|
- application/xml; charset=utf-8
|
425
427
|
x-runtime:
|
426
|
-
- "
|
428
|
+
- "14"
|
427
429
|
date:
|
428
|
-
- Tue,
|
430
|
+
- Tue, 16 Nov 2010 07:03:59 GMT
|
429
431
|
server:
|
430
432
|
- nginx/0.7.65
|
431
433
|
content-length:
|
432
434
|
- "789"
|
433
435
|
set-cookie:
|
434
|
-
- _recurly_session=
|
436
|
+
- _recurly_session=59c07f289a1b47f19a929e72340046fc; domain=.recurly.com; path=/; secure; HttpOnly
|
435
437
|
cache-control:
|
436
438
|
- private, max-age=0, must-revalidate
|
437
439
|
body: |
|
438
440
|
<?xml version="1.0" encoding="UTF-8"?>
|
439
441
|
<invoices type="array">
|
440
442
|
<invoice>
|
441
|
-
<id>
|
443
|
+
<id>679adf945dd74b1295f95d54894d60dc</id>
|
442
444
|
<account_code>invoice-list-1287167121</account_code>
|
443
|
-
<date type="datetime">2010-
|
444
|
-
<invoice_number type="integer">
|
445
|
+
<date type="datetime">2010-11-16T07:03:56Z</date>
|
446
|
+
<invoice_number type="integer">2228</invoice_number>
|
445
447
|
<subtotal_in_cents type="integer">300</subtotal_in_cents>
|
446
448
|
<total_in_cents type="integer">300</total_in_cents>
|
447
449
|
</invoice>
|
448
450
|
<invoice>
|
449
|
-
<id>
|
451
|
+
<id>80705380f0834564963fe6e46b0a3b21</id>
|
450
452
|
<account_code>invoice-list-1287167121</account_code>
|
451
|
-
<date type="datetime">2010-
|
452
|
-
<invoice_number type="integer">
|
453
|
+
<date type="datetime">2010-11-16T07:03:55Z</date>
|
454
|
+
<invoice_number type="integer">2227</invoice_number>
|
453
455
|
<subtotal_in_cents type="integer">100</subtotal_in_cents>
|
454
456
|
<total_in_cents type="integer">100</total_in_cents>
|
455
457
|
</invoice>
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "271"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:58 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "583"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=7cf6096886b37d4ec774d0cb8f7ccd2516e6330d5ccc0dbac12bb53ac759b0b91e03f6b0f0843617bd87a59e84d627c2ac30a8c04b7f65343ffa72a8175ae3c7%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=e5aa559625a6fc60f611ecbff219dbb6; 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-
|
62
|
+
<hosted_login_token>364e5e87e0b1496abed3eabb1665da0d</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:58Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<country>US</country>
|
80
80
|
<credit-card>
|
81
81
|
<number>1</number>
|
82
|
-
<month type="integer">
|
82
|
+
<month type="integer">11</month>
|
83
83
|
<year type="integer">2011</year>
|
84
84
|
<verification-value>123</verification-value>
|
85
85
|
</credit-card>
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"48382b957ffa404e4cfee2e41f2646c0\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "53"
|
115
115
|
date:
|
116
|
-
- Tue,
|
116
|
+
- Tue, 16 Nov 2010 07:04:00 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "639"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=de2c7a0ff1a42abc3d642118df830f38; domain=.recurly.com; path=/; secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -140,10 +140,10 @@
|
|
140
140
|
<credit_card>
|
141
141
|
<type>bogus</type>
|
142
142
|
<last_four>1</last_four>
|
143
|
-
<month type="integer">
|
143
|
+
<month type="integer">11</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-
|
146
|
+
<updated_at type="datetime">2010-11-16T07:04:00Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -177,27 +177,28 @@
|
|
177
177
|
content-type:
|
178
178
|
- application/xml; charset=utf-8
|
179
179
|
x-runtime:
|
180
|
-
- "
|
180
|
+
- "43"
|
181
181
|
date:
|
182
|
-
- Tue,
|
182
|
+
- Tue, 16 Nov 2010 07:03:59 GMT
|
183
183
|
server:
|
184
184
|
- nginx/0.7.65
|
185
185
|
content-length:
|
186
|
-
- "
|
186
|
+
- "519"
|
187
187
|
set-cookie:
|
188
|
-
- _recurly_session=
|
188
|
+
- _recurly_session=d58690c3129724e50dd3dd43f49a04d1; domain=.recurly.com; path=/; secure; HttpOnly
|
189
189
|
cache-control:
|
190
190
|
- no-cache
|
191
191
|
body: |
|
192
192
|
<?xml version="1.0" encoding="UTF-8"?>
|
193
193
|
<charge type="charge">
|
194
|
-
<id>
|
194
|
+
<id>2906ac4736344f1ebd950b6750b07f4f</id>
|
195
195
|
<account_code>invoice-lookup-1287167121</account_code>
|
196
196
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
197
|
-
<start_date type="datetime">2010-
|
197
|
+
<start_date type="datetime">2010-11-16T07:03:59Z</start_date>
|
198
198
|
<end_date nil="true" type="datetime"></end_date>
|
199
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
199
200
|
<description>charge description</description>
|
200
|
-
<created_at type="datetime">2010-
|
201
|
+
<created_at type="datetime">2010-11-16T07:03:59Z</created_at>
|
201
202
|
</charge>
|
202
203
|
|
203
204
|
http_version: "1.1"
|
@@ -225,30 +226,30 @@
|
|
225
226
|
message: Created
|
226
227
|
headers:
|
227
228
|
location:
|
228
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
229
|
+
- https://recurlytest3-test.recurly.com/invoices/bdb78e450c5642679f9ec0ca0c2321e5
|
229
230
|
connection:
|
230
231
|
- close
|
231
232
|
content-type:
|
232
233
|
- application/xml; charset=utf-8
|
233
234
|
x-runtime:
|
234
|
-
- "
|
235
|
+
- "57"
|
235
236
|
date:
|
236
|
-
- Tue,
|
237
|
+
- Tue, 16 Nov 2010 07:04:01 GMT
|
237
238
|
server:
|
238
239
|
- nginx/0.7.65
|
239
240
|
content-length:
|
240
241
|
- "1106"
|
241
242
|
set-cookie:
|
242
|
-
- _recurly_session=
|
243
|
+
- _recurly_session=c7c949a5a50674a67b2f2f3ee33f0db1; domain=.recurly.com; path=/; secure; HttpOnly
|
243
244
|
cache-control:
|
244
245
|
- no-cache
|
245
246
|
body: |
|
246
247
|
<?xml version="1.0" encoding="UTF-8"?>
|
247
248
|
<invoice>
|
248
|
-
<id>
|
249
|
+
<id>bdb78e450c5642679f9ec0ca0c2321e5</id>
|
249
250
|
<account_code>invoice-lookup-1287167121</account_code>
|
250
|
-
<date type="datetime">2010-
|
251
|
-
<invoice_number type="integer">
|
251
|
+
<date type="datetime">2010-11-16T07:04:01Z</date>
|
252
|
+
<invoice_number type="integer">2229</invoice_number>
|
252
253
|
<vat_number></vat_number>
|
253
254
|
<status>open</status>
|
254
255
|
<subtotal_in_cents type="integer">1500</subtotal_in_cents>
|
@@ -258,13 +259,13 @@
|
|
258
259
|
<total_due_in_cents type="integer">1500</total_due_in_cents>
|
259
260
|
<line_items type="array">
|
260
261
|
<line_item>
|
261
|
-
<id>
|
262
|
+
<id>2906ac4736344f1ebd950b6750b07f4f</id>
|
262
263
|
<type>charge</type>
|
263
264
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
264
|
-
<start_date type="datetime">2010-
|
265
|
+
<start_date type="datetime">2010-11-16T07:03:59Z</start_date>
|
265
266
|
<end_date nil="true" type="datetime"></end_date>
|
266
267
|
<description>charge description</description>
|
267
|
-
<created_at type="datetime">2010-
|
268
|
+
<created_at type="datetime">2010-11-16T07:03:59Z</created_at>
|
268
269
|
</line_item>
|
269
270
|
</line_items>
|
270
271
|
<payments type="array">
|
@@ -275,7 +276,7 @@
|
|
275
276
|
- !ruby/struct:VCR::HTTPInteraction
|
276
277
|
request: !ruby/struct:VCR::Request
|
277
278
|
method: :get
|
278
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/
|
279
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/bdb78e450c5642679f9ec0ca0c2321e5.xml
|
279
280
|
body:
|
280
281
|
headers:
|
281
282
|
accept:
|
@@ -292,30 +293,30 @@
|
|
292
293
|
x-ua-compatible:
|
293
294
|
- IE=Edge
|
294
295
|
etag:
|
295
|
-
- "\"
|
296
|
+
- "\"3f8102e2709b891b467ebc8a26cc8ebe\""
|
296
297
|
connection:
|
297
298
|
- close
|
298
299
|
content-type:
|
299
300
|
- application/xml; charset=utf-8
|
300
301
|
x-runtime:
|
301
|
-
- "
|
302
|
+
- "17"
|
302
303
|
date:
|
303
|
-
- Tue,
|
304
|
+
- Tue, 16 Nov 2010 07:04:00 GMT
|
304
305
|
server:
|
305
306
|
- nginx/0.7.65
|
306
307
|
content-length:
|
307
308
|
- "1106"
|
308
309
|
set-cookie:
|
309
|
-
- _recurly_session=
|
310
|
+
- _recurly_session=e3a17f660455038bdf3e197eb9942564; domain=.recurly.com; path=/; secure; HttpOnly
|
310
311
|
cache-control:
|
311
312
|
- private, max-age=0, must-revalidate
|
312
313
|
body: |
|
313
314
|
<?xml version="1.0" encoding="UTF-8"?>
|
314
315
|
<invoice>
|
315
|
-
<id>
|
316
|
+
<id>bdb78e450c5642679f9ec0ca0c2321e5</id>
|
316
317
|
<account_code>invoice-lookup-1287167121</account_code>
|
317
|
-
<date type="datetime">2010-
|
318
|
-
<invoice_number type="integer">
|
318
|
+
<date type="datetime">2010-11-16T07:04:01Z</date>
|
319
|
+
<invoice_number type="integer">2229</invoice_number>
|
319
320
|
<vat_number></vat_number>
|
320
321
|
<status>open</status>
|
321
322
|
<subtotal_in_cents type="integer">1500</subtotal_in_cents>
|
@@ -325,13 +326,13 @@
|
|
325
326
|
<total_due_in_cents type="integer">1500</total_due_in_cents>
|
326
327
|
<line_items type="array">
|
327
328
|
<line_item>
|
328
|
-
<id>
|
329
|
+
<id>2906ac4736344f1ebd950b6750b07f4f</id>
|
329
330
|
<type>charge</type>
|
330
331
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
331
|
-
<start_date type="datetime">2010-
|
332
|
+
<start_date type="datetime">2010-11-16T07:03:59Z</start_date>
|
332
333
|
<end_date nil="true" type="datetime"></end_date>
|
333
334
|
<description>charge description</description>
|
334
|
-
<created_at type="datetime">2010-
|
335
|
+
<created_at type="datetime">2010-11-16T07:03:59Z</created_at>
|
335
336
|
</line_item>
|
336
337
|
</line_items>
|
337
338
|
<payments type="array">
|