recurly 0.2.3 → 0.2.4

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 (80) hide show
  1. data/lib/recurly.rb +1 -0
  2. data/lib/recurly/charge.rb +6 -0
  3. data/lib/recurly/subscription.rb +23 -5
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/charge_spec.rb +45 -0
  6. data/spec/integration/credit_spec.rb +19 -0
  7. data/spec/integration/subscription_spec.rb +62 -9
  8. data/spec/vcr/account/close/1287167046.yml +15 -15
  9. data/spec/vcr/account/create-blank/1287167046.yml +3 -3
  10. data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
  11. data/spec/vcr/account/create-min/1287167046.yml +6 -6
  12. data/spec/vcr/account/create/1287167046.yml +6 -6
  13. data/spec/vcr/account/find/1287167046.yml +14 -14
  14. data/spec/vcr/account/list/1287167046.yml +101 -101
  15. data/spec/vcr/account/update/1287167046.yml +26 -26
  16. data/spec/vcr/billing/create/1286682213.yml +15 -15
  17. data/spec/vcr/billing/destroy/1286682213.yml +23 -23
  18. data/spec/vcr/billing/find/1286682213.yml +21 -21
  19. data/spec/vcr/billing/update/1286682213.yml +21 -21
  20. data/spec/vcr/charge/create/1286681273.yml +24 -24
  21. data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
  22. data/spec/vcr/charge/list-all/1286681273.yml +37 -37
  23. data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
  24. data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
  25. data/spec/vcr/charge/lookup/1286681273.yml +20 -20
  26. data/spec/vcr/credit/create/1286681343.yml +20 -20
  27. data/spec/vcr/credit/create/1287460732.yml +171 -0
  28. data/spec/vcr/credit/create/1287461340.yml +171 -0
  29. data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
  30. data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
  31. data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
  32. data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
  33. data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
  34. data/spec/vcr/credit/list/1286681343.yml +36 -36
  35. data/spec/vcr/credit/list/1287460732.yml +299 -0
  36. data/spec/vcr/credit/list/1287461340.yml +299 -0
  37. data/spec/vcr/credit/lookup/1286681343.yml +20 -20
  38. data/spec/vcr/credit/lookup/1287460732.yml +171 -0
  39. data/spec/vcr/credit/lookup/1287461340.yml +171 -0
  40. data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
  41. data/spec/vcr/invoice/create/1287167121.yml +36 -36
  42. data/spec/vcr/invoice/list/1287167121.yml +52 -52
  43. data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
  44. data/spec/vcr/plan/all.yml +9 -9
  45. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  46. data/spec/vcr/plan/find.yml +9 -9
  47. data/spec/vcr/plan/update.yml +9 -9
  48. data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
  49. data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
  50. data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
  51. data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
  52. data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
  53. data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
  54. data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
  55. data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
  56. data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
  57. data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
  58. data/spec/vcr/transaction/all/1287186411.yml +80 -80
  59. data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
  60. data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
  61. data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
  62. data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
  63. data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
  64. data/spec/vcr/transaction/refund/1287186411.yml +24 -24
  65. data/spec/vcr/transaction/void/1287186411.yml +60 -60
  66. metadata +67 -56
  67. data/spec/vcr/subscription/change1/1287439446.yml +0 -409
  68. data/spec/vcr/subscription/change1/1287442108.yml +0 -409
  69. data/spec/vcr/subscription/change2/1287439446.yml +0 -409
  70. data/spec/vcr/subscription/change2/1287442108.yml +0 -409
  71. data/spec/vcr/subscription/create/1287439446.yml +0 -224
  72. data/spec/vcr/subscription/create/1287442108.yml +0 -224
  73. data/spec/vcr/subscription/find/1287439446.yml +0 -283
  74. data/spec/vcr/subscription/find/1287442352.yml +0 -283
  75. data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
  76. data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
  77. data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
  78. data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
  79. data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
  80. data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "584"
37
+ - "608"
38
38
  date:
39
- - Mon, 18 Oct 2010 22:07:08 GMT
39
+ - Tue, 19 Oct 2010 03:21:15 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "591"
44
44
  set-cookie:
45
- - account_credentials=390e72a26294b27c85217d8ca58edaf8f8e79d9b7ef5bbf950ad64ef55676aaaef6899ebeba64d05263bd738a89ee5c760aec4c8f0067e6a18d9629869f81fc5%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=838a2ad2ae456acb81e1b1766a6382d0d154cdf6248641447210d60fbabaa2ff92087b8afff80e197cb2031f11705dbe159b35405472e1dac597a34a9763a55a%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=3858982824df51fbf4435ff37b7d2c0d; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=d0e035a9908a94f31faaafc0807432c3; 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>9ed59c9c2063450eafc5e8d66e6f26da</hosted_login_token>
63
- <created_at type="datetime">2010-10-18T22:07:08Z</created_at>
62
+ <hosted_login_token>bb43a1dec0ea4679806c4f84c42b87eb</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T03:21:15Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"c96b8ac2b2ceff7a7556b5ea1e4f5b90\""
108
+ - "\"fad010e7e420b8d11c70895d886c6f69\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "83"
114
+ - "71"
115
115
  date:
116
- - Mon, 18 Oct 2010 22:07:09 GMT
116
+ - Tue, 19 Oct 2010 03:21:16 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "643"
121
121
  set-cookie:
122
- - _recurly_session=e39387ea80ddd3399314942e408c7411; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=9a3cacf58cecc9348222fb3bc54eef4d; domain=.recurly.com; path=/; Secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -143,7 +143,7 @@
143
143
  <month type="integer">10</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-18T22:07:09Z</updated_at>
146
+ <updated_at type="datetime">2010-10-19T03:21:16Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -176,30 +176,30 @@
176
176
  message: Created
177
177
  headers:
178
178
  location:
179
- - https://recurlytest3-test.recurly.com/transactions/cd30c473df9c46819bdb6c789d4e2d8e
179
+ - https://recurlytest3-test.recurly.com/transactions/a81acf81ad8f4addb650821938bf2ec4
180
180
  connection:
181
181
  - close
182
182
  content-type:
183
183
  - application/xml; charset=utf-8
184
184
  x-runtime:
185
- - "589"
185
+ - "511"
186
186
  date:
187
- - Mon, 18 Oct 2010 22:07:10 GMT
187
+ - Tue, 19 Oct 2010 03:21:17 GMT
188
188
  server:
189
189
  - nginx/0.7.65
190
190
  content-length:
191
191
  - "850"
192
192
  set-cookie:
193
- - _recurly_session=1547d5a15444bbfc3ff1042b5c19c1e7; domain=.recurly.com; path=/; Secure; HttpOnly
193
+ - _recurly_session=a787f2a5ee50e00f90ee67294c9012c3; domain=.recurly.com; path=/; Secure; HttpOnly
194
194
  cache-control:
195
195
  - no-cache
196
196
  body: |
197
197
  <?xml version="1.0" encoding="UTF-8"?>
198
198
  <transaction type="Payment">
199
- <id>cd30c473df9c46819bdb6c789d4e2d8e</id>
199
+ <id>a81acf81ad8f4addb650821938bf2ec4</id>
200
200
  <account_code>transaction-lookup-1287186411</account_code>
201
201
  <action>purchase</action>
202
- <date type="datetime">2010-10-18T22:07:10Z</date>
202
+ <date type="datetime">2010-10-19T03:21:16Z</date>
203
203
  <amount_in_cents type="integer">100</amount_in_cents>
204
204
  <status>success</status>
205
205
  <message>Test Gateway: Successful test transaction</message>
@@ -247,30 +247,30 @@
247
247
  message: Created
248
248
  headers:
249
249
  location:
250
- - https://recurlytest3-test.recurly.com/transactions/f3d1299c55194758b25dba5dc687bbda
250
+ - https://recurlytest3-test.recurly.com/transactions/04549b618baf4c09be4081b2832ed8ba
251
251
  connection:
252
252
  - close
253
253
  content-type:
254
254
  - application/xml; charset=utf-8
255
255
  x-runtime:
256
- - "495"
256
+ - "545"
257
257
  date:
258
- - Mon, 18 Oct 2010 22:07:12 GMT
258
+ - Tue, 19 Oct 2010 03:21:18 GMT
259
259
  server:
260
260
  - nginx/0.7.65
261
261
  content-length:
262
262
  - "850"
263
263
  set-cookie:
264
- - _recurly_session=729c45f849c7a00ed4c421bd4e01649b; domain=.recurly.com; path=/; Secure; HttpOnly
264
+ - _recurly_session=1725b900f9cc42ff470902177a3cd5e9; domain=.recurly.com; path=/; Secure; HttpOnly
265
265
  cache-control:
266
266
  - no-cache
267
267
  body: |
268
268
  <?xml version="1.0" encoding="UTF-8"?>
269
269
  <transaction type="Payment">
270
- <id>f3d1299c55194758b25dba5dc687bbda</id>
270
+ <id>04549b618baf4c09be4081b2832ed8ba</id>
271
271
  <account_code>transaction-lookup-1287186411</account_code>
272
272
  <action>purchase</action>
273
- <date type="datetime">2010-10-18T22:07:11Z</date>
273
+ <date type="datetime">2010-10-19T03:21:18Z</date>
274
274
  <amount_in_cents type="integer">200</amount_in_cents>
275
275
  <status>success</status>
276
276
  <message>Test Gateway: Successful test transaction</message>
@@ -318,30 +318,30 @@
318
318
  message: Created
319
319
  headers:
320
320
  location:
321
- - https://recurlytest3-test.recurly.com/transactions/d75002d8e3c94258a96e263deb7dd3b0
321
+ - https://recurlytest3-test.recurly.com/transactions/afdb2a362364499db76114d0dfc8bf6d
322
322
  connection:
323
323
  - close
324
324
  content-type:
325
325
  - application/xml; charset=utf-8
326
326
  x-runtime:
327
- - "604"
327
+ - "470"
328
328
  date:
329
- - Mon, 18 Oct 2010 22:07:13 GMT
329
+ - Tue, 19 Oct 2010 03:21:19 GMT
330
330
  server:
331
331
  - nginx/0.7.65
332
332
  content-length:
333
333
  - "850"
334
334
  set-cookie:
335
- - _recurly_session=7af7d62a35823c633948b4abc6e8efee; domain=.recurly.com; path=/; Secure; HttpOnly
335
+ - _recurly_session=2eb0c3a8eee68add2ce77dc30c128ba1; domain=.recurly.com; path=/; Secure; HttpOnly
336
336
  cache-control:
337
337
  - no-cache
338
338
  body: |
339
339
  <?xml version="1.0" encoding="UTF-8"?>
340
340
  <transaction type="Payment">
341
- <id>d75002d8e3c94258a96e263deb7dd3b0</id>
341
+ <id>afdb2a362364499db76114d0dfc8bf6d</id>
342
342
  <account_code>transaction-lookup-1287186411</account_code>
343
343
  <action>purchase</action>
344
- <date type="datetime">2010-10-18T22:07:12Z</date>
344
+ <date type="datetime">2010-10-19T03:21:19Z</date>
345
345
  <amount_in_cents type="integer">300</amount_in_cents>
346
346
  <status>success</status>
347
347
  <message>Test Gateway: Successful test transaction</message>
@@ -363,7 +363,7 @@
363
363
  - !ruby/struct:VCR::HTTPInteraction
364
364
  request: !ruby/struct:VCR::Request
365
365
  method: :get
366
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/cd30c473df9c46819bdb6c789d4e2d8e.xml?account_code=transaction-lookup-1287186411
366
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/a81acf81ad8f4addb650821938bf2ec4.xml?account_code=transaction-lookup-1287186411
367
367
  body:
368
368
  headers:
369
369
  accept:
@@ -380,30 +380,30 @@
380
380
  x-ua-compatible:
381
381
  - IE=Edge
382
382
  etag:
383
- - "\"7b52999e57e6aef69cbe1d50546d9036\""
383
+ - "\"2ff4a13c33662f029ce37c51a92a17d4\""
384
384
  connection:
385
385
  - close
386
386
  content-type:
387
387
  - application/xml; charset=utf-8
388
388
  x-runtime:
389
- - "22"
389
+ - "17"
390
390
  date:
391
- - Mon, 18 Oct 2010 22:07:13 GMT
391
+ - Tue, 19 Oct 2010 03:21:20 GMT
392
392
  server:
393
393
  - nginx/0.7.65
394
394
  content-length:
395
395
  - "850"
396
396
  set-cookie:
397
- - _recurly_session=39ddb792078794fea8e610df39c747ad; domain=.recurly.com; path=/; Secure; HttpOnly
397
+ - _recurly_session=4a378dcc78a0f222ac8a6cbabb93198d; domain=.recurly.com; path=/; Secure; HttpOnly
398
398
  cache-control:
399
399
  - private, max-age=0, must-revalidate
400
400
  body: |
401
401
  <?xml version="1.0" encoding="UTF-8"?>
402
402
  <transaction type="Payment">
403
- <id>cd30c473df9c46819bdb6c789d4e2d8e</id>
403
+ <id>a81acf81ad8f4addb650821938bf2ec4</id>
404
404
  <account_code>transaction-lookup-1287186411</account_code>
405
405
  <action>purchase</action>
406
- <date type="datetime">2010-10-18T22:07:10Z</date>
406
+ <date type="datetime">2010-10-19T03:21:16Z</date>
407
407
  <amount_in_cents type="integer">100</amount_in_cents>
408
408
  <status>success</status>
409
409
  <message>Test Gateway: Successful test transaction</message>
@@ -425,7 +425,7 @@
425
425
  - !ruby/struct:VCR::HTTPInteraction
426
426
  request: !ruby/struct:VCR::Request
427
427
  method: :get
428
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/f3d1299c55194758b25dba5dc687bbda.xml?account_code=transaction-lookup-1287186411
428
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/04549b618baf4c09be4081b2832ed8ba.xml?account_code=transaction-lookup-1287186411
429
429
  body:
430
430
  headers:
431
431
  accept:
@@ -442,30 +442,30 @@
442
442
  x-ua-compatible:
443
443
  - IE=Edge
444
444
  etag:
445
- - "\"ba2d1ed571f9c6c3fb6e957522191fe4\""
445
+ - "\"2135d0f2d02c1ad24caf3d4ec3f26a4a\""
446
446
  connection:
447
447
  - close
448
448
  content-type:
449
449
  - application/xml; charset=utf-8
450
450
  x-runtime:
451
- - "16"
451
+ - "35"
452
452
  date:
453
- - Mon, 18 Oct 2010 22:07:14 GMT
453
+ - Tue, 19 Oct 2010 03:21:20 GMT
454
454
  server:
455
455
  - nginx/0.7.65
456
456
  content-length:
457
457
  - "850"
458
458
  set-cookie:
459
- - _recurly_session=0840feda2c627c296815af9f99679fb1; domain=.recurly.com; path=/; Secure; HttpOnly
459
+ - _recurly_session=e152a212b2fbcb51a5e7de3f4d8487f9; domain=.recurly.com; path=/; Secure; HttpOnly
460
460
  cache-control:
461
461
  - private, max-age=0, must-revalidate
462
462
  body: |
463
463
  <?xml version="1.0" encoding="UTF-8"?>
464
464
  <transaction type="Payment">
465
- <id>f3d1299c55194758b25dba5dc687bbda</id>
465
+ <id>04549b618baf4c09be4081b2832ed8ba</id>
466
466
  <account_code>transaction-lookup-1287186411</account_code>
467
467
  <action>purchase</action>
468
- <date type="datetime">2010-10-18T22:07:11Z</date>
468
+ <date type="datetime">2010-10-19T03:21:18Z</date>
469
469
  <amount_in_cents type="integer">200</amount_in_cents>
470
470
  <status>success</status>
471
471
  <message>Test Gateway: Successful test transaction</message>
@@ -487,7 +487,7 @@
487
487
  - !ruby/struct:VCR::HTTPInteraction
488
488
  request: !ruby/struct:VCR::Request
489
489
  method: :get
490
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/d75002d8e3c94258a96e263deb7dd3b0.xml?account_code=transaction-lookup-1287186411
490
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/afdb2a362364499db76114d0dfc8bf6d.xml?account_code=transaction-lookup-1287186411
491
491
  body:
492
492
  headers:
493
493
  accept:
@@ -504,30 +504,30 @@
504
504
  x-ua-compatible:
505
505
  - IE=Edge
506
506
  etag:
507
- - "\"ef9e1b565202d8c42bd62b396b3e8d96\""
507
+ - "\"2013b0433c88a5c9cf92764705884c64\""
508
508
  connection:
509
509
  - close
510
510
  content-type:
511
511
  - application/xml; charset=utf-8
512
512
  x-runtime:
513
- - "31"
513
+ - "42"
514
514
  date:
515
- - Mon, 18 Oct 2010 22:07:14 GMT
515
+ - Tue, 19 Oct 2010 03:21:21 GMT
516
516
  server:
517
517
  - nginx/0.7.65
518
518
  content-length:
519
519
  - "850"
520
520
  set-cookie:
521
- - _recurly_session=e6080fd8f23e86d3e3980047ea3670c8; domain=.recurly.com; path=/; Secure; HttpOnly
521
+ - _recurly_session=111d0e3835e970b429755cad5bafa710; domain=.recurly.com; path=/; Secure; HttpOnly
522
522
  cache-control:
523
523
  - private, max-age=0, must-revalidate
524
524
  body: |
525
525
  <?xml version="1.0" encoding="UTF-8"?>
526
526
  <transaction type="Payment">
527
- <id>d75002d8e3c94258a96e263deb7dd3b0</id>
527
+ <id>afdb2a362364499db76114d0dfc8bf6d</id>
528
528
  <account_code>transaction-lookup-1287186411</account_code>
529
529
  <action>purchase</action>
530
- <date type="datetime">2010-10-18T22:07:12Z</date>
530
+ <date type="datetime">2010-10-19T03:21:19Z</date>
531
531
  <amount_in_cents type="integer">300</amount_in_cents>
532
532
  <status>success</status>
533
533
  <message>Test Gateway: Successful test transaction</message>
@@ -34,17 +34,17 @@
34
34
  content-type:
35
35
  - application/xml; charset=utf-8
36
36
  x-runtime:
37
- - "609"
37
+ - "722"
38
38
  date:
39
- - Mon, 18 Oct 2010 22:07:20 GMT
39
+ - Tue, 19 Oct 2010 03:21:27 GMT
40
40
  server:
41
41
  - nginx/0.7.65
42
42
  content-length:
43
43
  - "591"
44
44
  set-cookie:
45
- - account_credentials=20176c4be12f6da34684bcca35557e03bb49676fbf2108b7a9217c6d88ed7144be671c0c45d2f89c2635bf93a67676222e340358af6be5270f5b45dc586aa7d4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
45
+ - account_credentials=30548c76381040abda0fc849ea9dcdef33a015d690b3b24624701b3bc7b531b1ad1bf7501064a08d3b20cbc2d4667b1fb9767e3d8479fbd1e1dd63f1f1935ad4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
46
  - ""
47
- - _recurly_session=3375f94bc4e4fbde916f82507c6007c1; domain=.recurly.com; path=/; Secure; HttpOnly
47
+ - _recurly_session=5cfeb100e858d5436d44077e673f5b14; 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>ac1dd82bec4f48cb9ae69ffb0f06528f</hosted_login_token>
63
- <created_at type="datetime">2010-10-18T22:07:20Z</created_at>
62
+ <hosted_login_token>0f6c631d1e104cb8ab5c3c107ca33a7d</hosted_login_token>
63
+ <created_at type="datetime">2010-10-19T03:21:27Z</created_at>
64
64
  <state>active</state>
65
65
  </account>
66
66
 
@@ -105,21 +105,21 @@
105
105
  x-ua-compatible:
106
106
  - IE=Edge
107
107
  etag:
108
- - "\"f832d446abedc4db95509030482c3366\""
108
+ - "\"b32d7c4b63745b2385a8c43bb876a229\""
109
109
  connection:
110
110
  - close
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  x-runtime:
114
- - "62"
114
+ - "228"
115
115
  date:
116
- - Mon, 18 Oct 2010 22:07:21 GMT
116
+ - Tue, 19 Oct 2010 03:21:28 GMT
117
117
  server:
118
118
  - nginx/0.7.65
119
119
  content-length:
120
120
  - "643"
121
121
  set-cookie:
122
- - _recurly_session=474049835955950e7cc11dd2d8163e69; domain=.recurly.com; path=/; Secure; HttpOnly
122
+ - _recurly_session=edaca18982b45ea21f8454362a7855fd; domain=.recurly.com; path=/; Secure; HttpOnly
123
123
  cache-control:
124
124
  - private, max-age=0, must-revalidate
125
125
  body: |
@@ -143,7 +143,7 @@
143
143
  <month type="integer">10</month>
144
144
  <year type="integer">2011</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2010-10-18T22:07:21Z</updated_at>
146
+ <updated_at type="datetime">2010-10-19T03:21:28Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
@@ -176,30 +176,30 @@
176
176
  message: Created
177
177
  headers:
178
178
  location:
179
- - https://recurlytest3-test.recurly.com/transactions/6207d67c6b454a02b26e4107775d50eb
179
+ - https://recurlytest3-test.recurly.com/transactions/80e08c38886a4c3896c5f78683650d8f
180
180
  connection:
181
181
  - close
182
182
  content-type:
183
183
  - application/xml; charset=utf-8
184
184
  x-runtime:
185
- - "551"
185
+ - "584"
186
186
  date:
187
- - Mon, 18 Oct 2010 22:07:22 GMT
187
+ - Tue, 19 Oct 2010 03:21:29 GMT
188
188
  server:
189
189
  - nginx/0.7.65
190
190
  content-length:
191
191
  - "851"
192
192
  set-cookie:
193
- - _recurly_session=9fe0c27eab354c6aa7d4879a680f422e; domain=.recurly.com; path=/; Secure; HttpOnly
193
+ - _recurly_session=1e5f3d1ca6912ab6a50739282fccfed3; domain=.recurly.com; path=/; Secure; HttpOnly
194
194
  cache-control:
195
195
  - no-cache
196
196
  body: |
197
197
  <?xml version="1.0" encoding="UTF-8"?>
198
198
  <transaction type="Payment">
199
- <id>6207d67c6b454a02b26e4107775d50eb</id>
199
+ <id>80e08c38886a4c3896c5f78683650d8f</id>
200
200
  <account_code>transaction-refund-1287186411</account_code>
201
201
  <action>purchase</action>
202
- <date type="datetime">2010-10-18T22:07:21Z</date>
202
+ <date type="datetime">2010-10-19T03:21:29Z</date>
203
203
  <amount_in_cents type="integer">1000</amount_in_cents>
204
204
  <status>success</status>
205
205
  <message>Test Gateway: Successful test transaction</message>
@@ -221,7 +221,7 @@
221
221
  - !ruby/struct:VCR::HTTPInteraction
222
222
  request: !ruby/struct:VCR::Request
223
223
  method: :delete
224
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/6207d67c6b454a02b26e4107775d50eb.xml?action=refund&amount=1000
224
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/80e08c38886a4c3896c5f78683650d8f.xml?action=refund&amount=1000
225
225
  body:
226
226
  headers:
227
227
  accept:
@@ -238,30 +238,30 @@
238
238
  x-ua-compatible:
239
239
  - IE=Edge
240
240
  etag:
241
- - "\"001bea0b5e67e3a3ff2f802e208d0c5b\""
241
+ - "\"7b59ce6bdf76b5980239ebae263ffceb\""
242
242
  connection:
243
243
  - close
244
244
  content-type:
245
245
  - application/xml; charset=utf-8
246
246
  x-runtime:
247
- - "56"
247
+ - "37"
248
248
  date:
249
- - Mon, 18 Oct 2010 22:07:22 GMT
249
+ - Tue, 19 Oct 2010 03:21:30 GMT
250
250
  server:
251
251
  - nginx/0.7.65
252
252
  content-length:
253
253
  - "850"
254
254
  set-cookie:
255
- - _recurly_session=6e3621fc75422d1f7001dbc5f5771205; domain=.recurly.com; path=/; Secure; HttpOnly
255
+ - _recurly_session=f940d4b5980f4ee99967b6652ee1dd7c; domain=.recurly.com; path=/; Secure; HttpOnly
256
256
  cache-control:
257
257
  - private, max-age=0, must-revalidate
258
258
  body: |
259
259
  <?xml version="1.0" encoding="UTF-8"?>
260
260
  <transaction type="Payment">
261
- <id>6207d67c6b454a02b26e4107775d50eb</id>
261
+ <id>80e08c38886a4c3896c5f78683650d8f</id>
262
262
  <account_code>transaction-refund-1287186411</account_code>
263
263
  <action>purchase</action>
264
- <date type="datetime">2010-10-18T22:07:21Z</date>
264
+ <date type="datetime">2010-10-19T03:21:29Z</date>
265
265
  <amount_in_cents type="integer">1000</amount_in_cents>
266
266
  <status>void</status>
267
267
  <message>Test Gateway: Successful test transaction</message>