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.

Files changed (86) hide show
  1. data/lib/recurly.rb +13 -5
  2. data/lib/recurly/rails3/railtie.rb +1 -8
  3. data/lib/recurly/version.rb +1 -1
  4. data/spec/vcr/account/close/1288381765.yml +15 -15
  5. data/spec/vcr/account/create-blank/1288381765.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
  7. data/spec/vcr/account/create-min/1288381765.yml +6 -6
  8. data/spec/vcr/account/create/1288381765.yml +6 -6
  9. data/spec/vcr/account/find/1288381765.yml +14 -14
  10. data/spec/vcr/account/list/1288381765.yml +251 -530
  11. data/spec/vcr/account/update/1288381765.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +20 -20
  13. data/spec/vcr/billing/destroy/1286682213.yml +29 -29
  14. data/spec/vcr/billing/find/1286682213.yml +25 -25
  15. data/spec/vcr/billing/update/1286682213.yml +27 -27
  16. data/spec/vcr/charge/create/1287465632.yml +31 -29
  17. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
  18. data/spec/vcr/charge/list-all/1287465632.yml +43 -40
  19. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
  20. data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
  21. data/spec/vcr/charge/lookup/1287465632.yml +24 -22
  22. data/spec/vcr/credit/create/1287461400.yml +24 -22
  23. data/spec/vcr/credit/delete/1287461400.yml +31 -29
  24. data/spec/vcr/credit/list/1287461400.yml +47 -41
  25. data/spec/vcr/credit/lookup/1287461400.yml +23 -21
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
  27. data/spec/vcr/invoice/create/1287167121.yml +42 -40
  28. data/spec/vcr/invoice/list/1287167121.yml +59 -57
  29. data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +12 -12
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
  35. data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
  36. data/spec/vcr/subscription/change1/1287455769.yml +39 -39
  37. data/spec/vcr/subscription/change2/1287455769.yml +39 -39
  38. data/spec/vcr/subscription/create/1287455769.yml +18 -18
  39. data/spec/vcr/subscription/find/1287455769.yml +25 -25
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
  44. data/spec/vcr/transaction/all/1289558212.yml +363 -54
  45. data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
  46. data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
  47. data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
  48. data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
  49. data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
  50. data/spec/vcr/transaction/refund/1289558212.yml +82 -90
  51. data/spec/vcr/transaction/void/1289558212.yml +377 -143
  52. metadata +4 -72
  53. data/spec/vcr/account/close/1287167046.yml +0 -159
  54. data/spec/vcr/account/close/1288381369.yml +0 -159
  55. data/spec/vcr/account/close/1288381447.yml +0 -159
  56. data/spec/vcr/account/create-blank/1287167046.yml +0 -49
  57. data/spec/vcr/account/create-blank/1288381369.yml +0 -49
  58. data/spec/vcr/account/create-blank/1288381447.yml +0 -49
  59. data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
  60. data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
  61. data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
  62. data/spec/vcr/account/create-min/1287167046.yml +0 -63
  63. data/spec/vcr/account/create-min/1288381369.yml +0 -63
  64. data/spec/vcr/account/create-min/1288381447.yml +0 -63
  65. data/spec/vcr/account/create/1287167046.yml +0 -67
  66. data/spec/vcr/account/create/1288381369.yml +0 -67
  67. data/spec/vcr/account/create/1288381447.yml +0 -67
  68. data/spec/vcr/account/find-all/1288381369.yml +0 -52
  69. data/spec/vcr/account/find-all/1288381447.yml +0 -1383
  70. data/spec/vcr/account/find/1287167046.yml +0 -160
  71. data/spec/vcr/account/find/1288381369.yml +0 -160
  72. data/spec/vcr/account/find/1288381447.yml +0 -160
  73. data/spec/vcr/account/list/1287167046.yml +0 -1538
  74. data/spec/vcr/account/list/1288381369.yml +0 -1835
  75. data/spec/vcr/account/list/1288381447.yml +0 -1835
  76. data/spec/vcr/account/update/1287167046.yml +0 -250
  77. data/spec/vcr/account/update/1288381369.yml +0 -250
  78. data/spec/vcr/account/update/1288381447.yml +0 -250
  79. data/spec/vcr/transaction/all/1287186411.yml +0 -387
  80. data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
  81. data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
  82. data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
  83. data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
  84. data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
  85. data/spec/vcr/transaction/refund/1287186411.yml +0 -282
  86. 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
- - "585"
37
+ - "271"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:13 GMT
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=9710206895e7392f1a184de558653369f8470e25675ba61918d2c00df887b66f2107a8d43377dac5a2c451c1cdf0ebb859485beb58f2cc49c7f015be5faf3381%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=f7470270b9293c37b826aec1dbd7f23405f09f3287463812d0d81f06b74368f3e204dac642b39eca6b281c33b4e4c523842a83411dee49d1d72baa10e7ce43bb%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=794dbb42847f35ec9d9af8351827d7d7; domain=.recurly.com; path=/; Secure; HttpOnly
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>7faeadfe82d844f8aff67211269be43a</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:13Z</created_at>
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">10</month>
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
- - "\"b5d833485f20b09c709a7ac0d79c21c4\""
108
+ - "\"c6f0662786d7e204e676b48458eb86aa\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "57"
114
+ - "54"
115
115
  date:
116
- - Tue, 19 Oct 2010 05:22:14 GMT
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=e2a6963f6b737df0d6e707587f929db8; domain=.recurly.com; path=/; Secure; HttpOnly
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">10</month>
143
+ <month type="integer">11</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:22:14Z</updated_at>
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
- - "230"
180
+ - "44"
181
181
  date:
182
- - Tue, 19 Oct 2010 05:22:14 GMT
182
+ - Tue, 16 Nov 2010 07:03:57 GMT
183
183
  server:
184
184
  - nginx/0.7.65
185
185
  content-length:
186
- - "454"
186
+ - "516"
187
187
  set-cookie:
188
- - _recurly_session=4c02bafa81f3d704788f7ba08c77c342; domain=.recurly.com; path=/; Secure; HttpOnly
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>debe38c17c274f1cb7c2d47d5c1bd5f0</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-10-19T05:22:14Z</start_date>
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-10-19T05:22:14Z</created_at>
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/9e615b70a3464039b82770aafc0e1716
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
- - "66"
235
+ - "64"
235
236
  date:
236
- - Tue, 19 Oct 2010 05:22:15 GMT
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=3cb46380b3a772518e3ec3cc6641b91e; domain=.recurly.com; path=/; Secure; HttpOnly
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>9e615b70a3464039b82770aafc0e1716</id>
249
+ <id>80705380f0834564963fe6e46b0a3b21</id>
249
250
  <account_code>invoice-list-1287167121</account_code>
250
- <date type="datetime">2010-10-19T05:22:15Z</date>
251
- <invoice_number type="integer">2071</invoice_number>
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>debe38c17c274f1cb7c2d47d5c1bd5f0</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-10-19T05:22:14Z</start_date>
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-10-19T05:22:14Z</created_at>
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
- - "45"
306
+ - "44"
306
307
  date:
307
- - Tue, 19 Oct 2010 05:22:16 GMT
308
+ - Tue, 16 Nov 2010 07:03:58 GMT
308
309
  server:
309
310
  - nginx/0.7.65
310
311
  content-length:
311
- - "454"
312
+ - "516"
312
313
  set-cookie:
313
- - _recurly_session=e678f074905e5d3d40590f38a0eb0f6d; domain=.recurly.com; path=/; Secure; HttpOnly
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>508c275396434d1db787c32a130c72af</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-10-19T05:22:16Z</start_date>
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-10-19T05:22:16Z</created_at>
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/d79a474d12ce43699b4202cc3de987b1
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
- - "93"
361
+ - "56"
360
362
  date:
361
- - Tue, 19 Oct 2010 05:22:16 GMT
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=b38958fc067c5195d2cd2868adb97a2b; domain=.recurly.com; path=/; Secure; HttpOnly
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>d79a474d12ce43699b4202cc3de987b1</id>
375
+ <id>679adf945dd74b1295f95d54894d60dc</id>
374
376
  <account_code>invoice-list-1287167121</account_code>
375
- <date type="datetime">2010-10-19T05:22:16Z</date>
376
- <invoice_number type="integer">2072</invoice_number>
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>508c275396434d1db787c32a130c72af</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-10-19T05:22:16Z</start_date>
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-10-19T05:22:16Z</created_at>
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
- - "\"4f52a575a03ada0a91ed5f7998ac4bd7\""
422
+ - "\"c00dc9d28a37995e4f61ff9ca517f580\""
421
423
  connection:
422
424
  - close
423
425
  content-type:
424
426
  - application/xml; charset=utf-8
425
427
  x-runtime:
426
- - "16"
428
+ - "14"
427
429
  date:
428
- - Tue, 19 Oct 2010 05:22:17 GMT
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=c92f969fb715686362c66670439c7704; domain=.recurly.com; path=/; Secure; HttpOnly
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>d79a474d12ce43699b4202cc3de987b1</id>
443
+ <id>679adf945dd74b1295f95d54894d60dc</id>
442
444
  <account_code>invoice-list-1287167121</account_code>
443
- <date type="datetime">2010-10-19T05:22:16Z</date>
444
- <invoice_number type="integer">2072</invoice_number>
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>9e615b70a3464039b82770aafc0e1716</id>
451
+ <id>80705380f0834564963fe6e46b0a3b21</id>
450
452
  <account_code>invoice-list-1287167121</account_code>
451
- <date type="datetime">2010-10-19T05:22:15Z</date>
452
- <invoice_number type="integer">2071</invoice_number>
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
- - "589"
37
+ - "271"
38
38
  date:
39
- - Tue, 19 Oct 2010 05:22:18 GMT
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=30e3dcbd7878ecd61e53696bd22bcd7516eabed1cdc3df8b1cbb23fc07bac332ad82e5741fedbd7a4eba4f4270959301d1b01aaf71bd9aed5b5bb563d98f97f7%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=7cf6096886b37d4ec774d0cb8f7ccd2516e6330d5ccc0dbac12bb53ac759b0b91e03f6b0f0843617bd87a59e84d627c2ac30a8c04b7f65343ffa72a8175ae3c7%3A%3A; domain=.recurly.com; path=/
46
46
  - ""
47
- - _recurly_session=2e2bbd16882b62327fabeec3ea0b61e3; domain=.recurly.com; path=/; Secure; HttpOnly
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>2d5ee09a186d4d73b75d44cc7ccb3a6c</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:22:18Z</created_at>
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">10</month>
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
- - "\"89e6ba05371e7d42fe1f10d25bc47501\""
108
+ - "\"48382b957ffa404e4cfee2e41f2646c0\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "228"
114
+ - "53"
115
115
  date:
116
- - Tue, 19 Oct 2010 05:22:19 GMT
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=04e95e70094cfc07e2cd2da19dc4d4f7; domain=.recurly.com; path=/; Secure; HttpOnly
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">10</month>
143
+ <month type="integer">11</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:22:19Z</updated_at>
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
- - "46"
180
+ - "43"
181
181
  date:
182
- - Tue, 19 Oct 2010 05:22:20 GMT
182
+ - Tue, 16 Nov 2010 07:03:59 GMT
183
183
  server:
184
184
  - nginx/0.7.65
185
185
  content-length:
186
- - "457"
186
+ - "519"
187
187
  set-cookie:
188
- - _recurly_session=5fd3e0d4842c1b332654bdac7cc8aa64; domain=.recurly.com; path=/; Secure; HttpOnly
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>311788c0fbc442a09d8fc478fd004c51</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-10-19T05:22:20Z</start_date>
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-10-19T05:22:20Z</created_at>
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/e3c637bd17854fa398ad45b5f7b34142
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
- - "264"
235
+ - "57"
235
236
  date:
236
- - Tue, 19 Oct 2010 05:22:20 GMT
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=06f30497f810aa9c147b57f3650f1eff; domain=.recurly.com; path=/; Secure; HttpOnly
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>e3c637bd17854fa398ad45b5f7b34142</id>
249
+ <id>bdb78e450c5642679f9ec0ca0c2321e5</id>
249
250
  <account_code>invoice-lookup-1287167121</account_code>
250
- <date type="datetime">2010-10-19T05:22:20Z</date>
251
- <invoice_number type="integer">2073</invoice_number>
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>311788c0fbc442a09d8fc478fd004c51</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-10-19T05:22:20Z</start_date>
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-10-19T05:22:20Z</created_at>
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/e3c637bd17854fa398ad45b5f7b34142.xml
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
- - "\"12afff642425e1ed58ba924643632e55\""
296
+ - "\"3f8102e2709b891b467ebc8a26cc8ebe\""
296
297
  connection:
297
298
  - close
298
299
  content-type:
299
300
  - application/xml; charset=utf-8
300
301
  x-runtime:
301
- - "37"
302
+ - "17"
302
303
  date:
303
- - Tue, 19 Oct 2010 05:22:21 GMT
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=56c92b1673c202dc2b7dd7eb4594ed37; domain=.recurly.com; path=/; Secure; HttpOnly
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>e3c637bd17854fa398ad45b5f7b34142</id>
316
+ <id>bdb78e450c5642679f9ec0ca0c2321e5</id>
316
317
  <account_code>invoice-lookup-1287167121</account_code>
317
- <date type="datetime">2010-10-19T05:22:20Z</date>
318
- <invoice_number type="integer">2073</invoice_number>
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>311788c0fbc442a09d8fc478fd004c51</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-10-19T05:22:20Z</start_date>
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-10-19T05:22:20Z</created_at>
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">