recurly 0.4.3 → 0.4.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 (64) hide show
  1. data/lib/recurly/base.rb +9 -4
  2. data/lib/recurly/coupon.rb +1 -1
  3. data/lib/recurly/formats/xml_with_errors.rb +2 -2
  4. data/lib/recurly/rails3/recurly.rake +2 -2
  5. data/lib/recurly/version.rb +1 -1
  6. data/spec/integration/account_spec.rb +3 -3
  7. data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
  8. data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
  9. data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
  10. data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
  11. data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
  12. data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
  13. data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
  14. data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
  15. data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
  16. data/spec/vcr/billing/create/1298594128.yml +12 -12
  17. data/spec/vcr/billing/destroy/1298594128.yml +15 -15
  18. data/spec/vcr/billing/find/1298594128.yml +16 -16
  19. data/spec/vcr/billing/update/1298594128.yml +16 -16
  20. data/spec/vcr/charge/create/1297746103.yml +20 -20
  21. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
  22. data/spec/vcr/charge/list-all/1297746103.yml +31 -31
  23. data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
  24. data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
  25. data/spec/vcr/charge/lookup/1297746103.yml +16 -16
  26. data/spec/vcr/coupon/create/1299714521.yml +11 -11
  27. data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
  28. data/spec/vcr/credit/create/1299714599.yml +16 -16
  29. data/spec/vcr/credit/delete/1299714599.yml +21 -21
  30. data/spec/vcr/credit/list/1299714599.yml +31 -31
  31. data/spec/vcr/credit/lookup/1299714599.yml +16 -16
  32. data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
  33. data/spec/vcr/invoice/create/1297746103.yml +30 -30
  34. data/spec/vcr/invoice/list/1297746103.yml +45 -45
  35. data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
  36. data/spec/vcr/plan/all.yml +6 -6
  37. data/spec/vcr/plan/find.yml +6 -6
  38. data/spec/vcr/plan/update.yml +6 -6
  39. data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
  40. data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
  41. data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
  42. data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
  43. data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
  44. data/spec/vcr/subscription/change1/1301881900.yml +31 -31
  45. data/spec/vcr/subscription/change2/1301881900.yml +31 -31
  46. data/spec/vcr/subscription/create/1301881900.yml +13 -13
  47. data/spec/vcr/subscription/find/1301881900.yml +19 -19
  48. data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
  49. data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
  50. data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
  51. data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
  52. data/spec/vcr/transaction/all/1301883347.yml +43 -43
  53. data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
  54. data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
  55. data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
  56. data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
  57. data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
  58. data/spec/vcr/transaction/refund/1301883347.yml +19 -19
  59. data/spec/vcr/transaction/void/1301883347.yml +26 -26
  60. data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
  61. metadata +27 -33
  62. data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
  63. data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
  64. data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/subscription-cancel-with-code-1301881900
41
41
  x-runtime:
42
- - "304"
42
+ - "502"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "613"
47
47
  set-cookie:
48
- - _recurly_session=fdb8f3850de8c1bdb998deac2f72ff6e; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=ac576e2c90c296e289a08bccf932e180; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>fe0c836b301c4c339e967831a97f98fa</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:24:40Z</created_at>
65
+ <hosted_login_token>dad8176e4d134636ad9acd7ed00d985e</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:19:13Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -90,7 +90,7 @@
90
90
  message: OK
91
91
  headers:
92
92
  x-runtime:
93
- - "262"
93
+ - "83"
94
94
  content-type:
95
95
  - application/xml; charset=utf-8
96
96
  etag:
@@ -100,7 +100,7 @@
100
100
  content-length:
101
101
  - "1558"
102
102
  set-cookie:
103
- - _recurly_session=d705486dfd7e1be5b3d69061a5906377; domain=.recurly.local; path=/; HttpOnly
103
+ - _recurly_session=85cbdc97325e6a80004501abb095d61d; domain=.recurly.local; path=/; HttpOnly
104
104
  connection:
105
105
  - close
106
106
  server:
@@ -180,8 +180,8 @@
180
180
  <username type="yaml" nil="true"></username>
181
181
  <balance-in-cents type="integer">0</balance-in-cents>
182
182
  <closed type="boolean">false</closed>
183
- <hosted-login-token>fe0c836b301c4c339e967831a97f98fa</hosted-login-token>
184
- <created-at type="datetime">2011-04-04T02:24:40Z</created-at>
183
+ <hosted-login-token>dad8176e4d134636ad9acd7ed00d985e</hosted-login-token>
184
+ <created-at type="datetime">2011-04-05T05:19:13Z</created-at>
185
185
  <state>active</state>
186
186
  </account>
187
187
  <addons type="array"/>
@@ -206,13 +206,13 @@
206
206
  cache-control:
207
207
  - no-cache
208
208
  x-runtime:
209
- - "3490"
209
+ - "3728"
210
210
  content-type:
211
211
  - application/xml; charset=utf-8
212
212
  content-length:
213
213
  - "927"
214
214
  set-cookie:
215
- - _recurly_session=1effe18be62694412b29273197bc7021; domain=.recurly.local; path=/; HttpOnly
215
+ - _recurly_session=e2ded4e0d05bbbb52f8db02ceb1bdf3a; domain=.recurly.local; path=/; HttpOnly
216
216
  connection:
217
217
  - close
218
218
  server:
@@ -229,11 +229,11 @@
229
229
  <state>active</state>
230
230
  <quantity type="integer">1</quantity>
231
231
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
232
- <activated_at type="datetime">2011-04-04T02:24:44Z</activated_at>
232
+ <activated_at type="datetime">2011-04-05T05:19:17Z</activated_at>
233
233
  <canceled_at nil="true" type="datetime"></canceled_at>
234
234
  <expires_at nil="true" type="datetime"></expires_at>
235
- <current_period_started_at type="datetime">2011-04-04T02:24:44Z</current_period_started_at>
236
- <current_period_ends_at type="datetime">2011-05-04T02:24:44Z</current_period_ends_at>
235
+ <current_period_started_at type="datetime">2011-04-05T05:19:17Z</current_period_started_at>
236
+ <current_period_ends_at type="datetime">2011-05-05T05:19:17Z</current_period_ends_at>
237
237
  <trial_started_at nil="true" type="datetime"></trial_started_at>
238
238
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
239
239
  <add_ons type="array">
@@ -263,17 +263,17 @@
263
263
  message: OK
264
264
  headers:
265
265
  x-runtime:
266
- - "306"
266
+ - "291"
267
267
  content-type:
268
268
  - application/xml; charset=utf-8
269
269
  etag:
270
- - "\"ce1d5389234988e12bcb8d52c206d269\""
270
+ - "\"2679a9b096a074a23ef80b989d56c112\""
271
271
  cache-control:
272
272
  - private, max-age=0, must-revalidate
273
273
  content-length:
274
274
  - "927"
275
275
  set-cookie:
276
- - _recurly_session=09e9963b1567dd027935d1271fed95c9; domain=.recurly.local; path=/; HttpOnly
276
+ - _recurly_session=621511080a7633577c002e2dc75641f6; domain=.recurly.local; path=/; HttpOnly
277
277
  connection:
278
278
  - close
279
279
  server:
@@ -290,11 +290,11 @@
290
290
  <state>active</state>
291
291
  <quantity type="integer">1</quantity>
292
292
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
293
- <activated_at type="datetime">2011-04-04T02:24:44Z</activated_at>
293
+ <activated_at type="datetime">2011-04-05T05:19:17Z</activated_at>
294
294
  <canceled_at nil="true" type="datetime"></canceled_at>
295
295
  <expires_at nil="true" type="datetime"></expires_at>
296
- <current_period_started_at type="datetime">2011-04-04T02:24:44Z</current_period_started_at>
297
- <current_period_ends_at type="datetime">2011-05-04T02:24:44Z</current_period_ends_at>
296
+ <current_period_started_at type="datetime">2011-04-05T05:19:17Z</current_period_started_at>
297
+ <current_period_ends_at type="datetime">2011-05-05T05:19:17Z</current_period_ends_at>
298
298
  <trial_started_at nil="true" type="datetime"></trial_started_at>
299
299
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
300
300
  <add_ons type="array">
@@ -322,17 +322,17 @@
322
322
  message: OK
323
323
  headers:
324
324
  x-runtime:
325
- - "573"
325
+ - "567"
326
326
  content-type:
327
327
  - application/xml; charset=utf-8
328
328
  etag:
329
- - "\"997805ef311ad7b2086097e07aa93615\""
329
+ - "\"a03fff9631399083634f42719eb85cd2\""
330
330
  cache-control:
331
331
  - private, max-age=0, must-revalidate
332
332
  content-length:
333
333
  - "947"
334
334
  set-cookie:
335
- - _recurly_session=4a72ca4b34c41badeec5315b6069e1a1; domain=.recurly.local; path=/; HttpOnly
335
+ - _recurly_session=66f79c45fa5d030d584a7b77c00d8dfb; domain=.recurly.local; path=/; HttpOnly
336
336
  connection:
337
337
  - close
338
338
  server:
@@ -349,11 +349,11 @@
349
349
  <state>canceled</state>
350
350
  <quantity type="integer">1</quantity>
351
351
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
352
- <activated_at type="datetime">2011-04-04T02:24:44Z</activated_at>
353
- <canceled_at type="datetime">2011-04-04T02:24:51Z</canceled_at>
354
- <expires_at type="datetime">2011-05-04T02:24:44Z</expires_at>
355
- <current_period_started_at type="datetime">2011-04-04T02:24:44Z</current_period_started_at>
356
- <current_period_ends_at type="datetime">2011-05-04T02:24:44Z</current_period_ends_at>
352
+ <activated_at type="datetime">2011-04-05T05:19:17Z</activated_at>
353
+ <canceled_at type="datetime">2011-04-05T05:19:24Z</canceled_at>
354
+ <expires_at type="datetime">2011-05-05T05:19:17Z</expires_at>
355
+ <current_period_started_at type="datetime">2011-04-05T05:19:17Z</current_period_started_at>
356
+ <current_period_ends_at type="datetime">2011-05-05T05:19:17Z</current_period_ends_at>
357
357
  <trial_started_at nil="true" type="datetime"></trial_started_at>
358
358
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
359
359
  <add_ons type="array">
@@ -383,17 +383,17 @@
383
383
  message: OK
384
384
  headers:
385
385
  x-runtime:
386
- - "316"
386
+ - "302"
387
387
  content-type:
388
388
  - application/xml; charset=utf-8
389
389
  etag:
390
- - "\"997805ef311ad7b2086097e07aa93615\""
390
+ - "\"a03fff9631399083634f42719eb85cd2\""
391
391
  cache-control:
392
392
  - private, max-age=0, must-revalidate
393
393
  content-length:
394
394
  - "947"
395
395
  set-cookie:
396
- - _recurly_session=af48fddf4ce25945befb010654305855; domain=.recurly.local; path=/; HttpOnly
396
+ - _recurly_session=5c7b70e8575037c4c96a480c8d1d23fc; domain=.recurly.local; path=/; HttpOnly
397
397
  connection:
398
398
  - close
399
399
  server:
@@ -410,11 +410,11 @@
410
410
  <state>canceled</state>
411
411
  <quantity type="integer">1</quantity>
412
412
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
413
- <activated_at type="datetime">2011-04-04T02:24:44Z</activated_at>
414
- <canceled_at type="datetime">2011-04-04T02:24:51Z</canceled_at>
415
- <expires_at type="datetime">2011-05-04T02:24:44Z</expires_at>
416
- <current_period_started_at type="datetime">2011-04-04T02:24:44Z</current_period_started_at>
417
- <current_period_ends_at type="datetime">2011-05-04T02:24:44Z</current_period_ends_at>
413
+ <activated_at type="datetime">2011-04-05T05:19:17Z</activated_at>
414
+ <canceled_at type="datetime">2011-04-05T05:19:24Z</canceled_at>
415
+ <expires_at type="datetime">2011-05-05T05:19:17Z</expires_at>
416
+ <current_period_started_at type="datetime">2011-04-05T05:19:17Z</current_period_started_at>
417
+ <current_period_ends_at type="datetime">2011-05-05T05:19:17Z</current_period_ends_at>
418
418
  <trial_started_at nil="true" type="datetime"></trial_started_at>
419
419
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
420
420
  <add_ons type="array">
@@ -444,17 +444,17 @@
444
444
  message: OK
445
445
  headers:
446
446
  x-runtime:
447
- - "302"
447
+ - "297"
448
448
  content-type:
449
449
  - application/xml; charset=utf-8
450
450
  etag:
451
- - "\"997805ef311ad7b2086097e07aa93615\""
451
+ - "\"a03fff9631399083634f42719eb85cd2\""
452
452
  cache-control:
453
453
  - private, max-age=0, must-revalidate
454
454
  content-length:
455
455
  - "947"
456
456
  set-cookie:
457
- - _recurly_session=545b03130e0e4c17b180bf4a81cc72df; domain=.recurly.local; path=/; HttpOnly
457
+ - _recurly_session=b6796000b0193e8d5cf9d3429a2965c9; domain=.recurly.local; path=/; HttpOnly
458
458
  connection:
459
459
  - close
460
460
  server:
@@ -471,11 +471,11 @@
471
471
  <state>canceled</state>
472
472
  <quantity type="integer">1</quantity>
473
473
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
474
- <activated_at type="datetime">2011-04-04T02:24:44Z</activated_at>
475
- <canceled_at type="datetime">2011-04-04T02:24:51Z</canceled_at>
476
- <expires_at type="datetime">2011-05-04T02:24:44Z</expires_at>
477
- <current_period_started_at type="datetime">2011-04-04T02:24:44Z</current_period_started_at>
478
- <current_period_ends_at type="datetime">2011-05-04T02:24:44Z</current_period_ends_at>
474
+ <activated_at type="datetime">2011-04-05T05:19:17Z</activated_at>
475
+ <canceled_at type="datetime">2011-04-05T05:19:24Z</canceled_at>
476
+ <expires_at type="datetime">2011-05-05T05:19:17Z</expires_at>
477
+ <current_period_started_at type="datetime">2011-04-05T05:19:17Z</current_period_started_at>
478
+ <current_period_ends_at type="datetime">2011-05-05T05:19:17Z</current_period_ends_at>
479
479
  <trial_started_at nil="true" type="datetime"></trial_started_at>
480
480
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
481
481
  <add_ons type="array">
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/subscription-cancel-1301881900
41
41
  x-runtime:
42
- - "496"
42
+ - "299"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "593"
47
47
  set-cookie:
48
- - _recurly_session=9b08c1ffed3033672de0248e0e21b086; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=3088ab096fd7fc45fa5509764afa20b9; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>aee8c54b19b2470c8f416f66938fc59c</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:24:24Z</created_at>
65
+ <hosted_login_token>1fe2fb2ec9ea4a369365b5b8b6f487d6</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:18:57Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -90,7 +90,7 @@
90
90
  message: OK
91
91
  headers:
92
92
  x-runtime:
93
- - "84"
93
+ - "295"
94
94
  content-type:
95
95
  - application/xml; charset=utf-8
96
96
  etag:
@@ -100,7 +100,7 @@
100
100
  content-length:
101
101
  - "1558"
102
102
  set-cookie:
103
- - _recurly_session=0f5ebd2e8c3c209c782acb0e4685ea63; domain=.recurly.local; path=/; HttpOnly
103
+ - _recurly_session=05d562eabc15562a1718b2a1e53b5dfb; domain=.recurly.local; path=/; HttpOnly
104
104
  connection:
105
105
  - close
106
106
  server:
@@ -180,8 +180,8 @@
180
180
  <username type="yaml" nil="true"></username>
181
181
  <balance-in-cents type="integer">0</balance-in-cents>
182
182
  <closed type="boolean">false</closed>
183
- <hosted-login-token>aee8c54b19b2470c8f416f66938fc59c</hosted-login-token>
184
- <created-at type="datetime">2011-04-04T02:24:24Z</created-at>
183
+ <hosted-login-token>1fe2fb2ec9ea4a369365b5b8b6f487d6</hosted-login-token>
184
+ <created-at type="datetime">2011-04-05T05:18:57Z</created-at>
185
185
  <state>active</state>
186
186
  </account>
187
187
  <addons type="array"/>
@@ -206,13 +206,13 @@
206
206
  cache-control:
207
207
  - no-cache
208
208
  x-runtime:
209
- - "3880"
209
+ - "3684"
210
210
  content-type:
211
211
  - application/xml; charset=utf-8
212
212
  content-length:
213
213
  - "907"
214
214
  set-cookie:
215
- - _recurly_session=ba246630347867cd7b741ce7ad05117f; domain=.recurly.local; path=/; HttpOnly
215
+ - _recurly_session=9eaa163f7fcab8d6ea7b5c5b0f24f356; domain=.recurly.local; path=/; HttpOnly
216
216
  connection:
217
217
  - close
218
218
  server:
@@ -229,11 +229,11 @@
229
229
  <state>active</state>
230
230
  <quantity type="integer">1</quantity>
231
231
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
232
- <activated_at type="datetime">2011-04-04T02:24:28Z</activated_at>
232
+ <activated_at type="datetime">2011-04-05T05:19:01Z</activated_at>
233
233
  <canceled_at nil="true" type="datetime"></canceled_at>
234
234
  <expires_at nil="true" type="datetime"></expires_at>
235
- <current_period_started_at type="datetime">2011-04-04T02:24:28Z</current_period_started_at>
236
- <current_period_ends_at type="datetime">2011-05-04T02:24:28Z</current_period_ends_at>
235
+ <current_period_started_at type="datetime">2011-04-05T05:19:01Z</current_period_started_at>
236
+ <current_period_ends_at type="datetime">2011-05-05T05:19:01Z</current_period_ends_at>
237
237
  <trial_started_at nil="true" type="datetime"></trial_started_at>
238
238
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
239
239
  <add_ons type="array">
@@ -263,17 +263,17 @@
263
263
  message: OK
264
264
  headers:
265
265
  x-runtime:
266
- - "309"
266
+ - "304"
267
267
  content-type:
268
268
  - application/xml; charset=utf-8
269
269
  etag:
270
- - "\"0d2d46cf96c34c8506cc4a5a03c1655d\""
270
+ - "\"0ab0d89167adb7a2a72bf77643f42185\""
271
271
  cache-control:
272
272
  - private, max-age=0, must-revalidate
273
273
  content-length:
274
274
  - "907"
275
275
  set-cookie:
276
- - _recurly_session=98564c783f352be54d583e157f456414; domain=.recurly.local; path=/; HttpOnly
276
+ - _recurly_session=4c95efce756e2fa6ce36ca629c647d02; domain=.recurly.local; path=/; HttpOnly
277
277
  connection:
278
278
  - close
279
279
  server:
@@ -290,11 +290,11 @@
290
290
  <state>active</state>
291
291
  <quantity type="integer">1</quantity>
292
292
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
293
- <activated_at type="datetime">2011-04-04T02:24:28Z</activated_at>
293
+ <activated_at type="datetime">2011-04-05T05:19:01Z</activated_at>
294
294
  <canceled_at nil="true" type="datetime"></canceled_at>
295
295
  <expires_at nil="true" type="datetime"></expires_at>
296
- <current_period_started_at type="datetime">2011-04-04T02:24:28Z</current_period_started_at>
297
- <current_period_ends_at type="datetime">2011-05-04T02:24:28Z</current_period_ends_at>
296
+ <current_period_started_at type="datetime">2011-04-05T05:19:01Z</current_period_started_at>
297
+ <current_period_ends_at type="datetime">2011-05-05T05:19:01Z</current_period_ends_at>
298
298
  <trial_started_at nil="true" type="datetime"></trial_started_at>
299
299
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
300
300
  <add_ons type="array">
@@ -322,17 +322,17 @@
322
322
  message: OK
323
323
  headers:
324
324
  x-runtime:
325
- - "572"
325
+ - "609"
326
326
  content-type:
327
327
  - application/xml; charset=utf-8
328
328
  etag:
329
- - "\"1238869de5dc079826e5ee5a5bdb8422\""
329
+ - "\"899e5771216c3c3c6fc2df124b828775\""
330
330
  cache-control:
331
331
  - private, max-age=0, must-revalidate
332
332
  content-length:
333
333
  - "927"
334
334
  set-cookie:
335
- - _recurly_session=9efe706baeb7b5be710c9158d98fb6b1; domain=.recurly.local; path=/; HttpOnly
335
+ - _recurly_session=1eedd731eab4050b2051ee182d05c118; domain=.recurly.local; path=/; HttpOnly
336
336
  connection:
337
337
  - close
338
338
  server:
@@ -349,11 +349,11 @@
349
349
  <state>canceled</state>
350
350
  <quantity type="integer">1</quantity>
351
351
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
352
- <activated_at type="datetime">2011-04-04T02:24:28Z</activated_at>
353
- <canceled_at type="datetime">2011-04-04T02:24:35Z</canceled_at>
354
- <expires_at type="datetime">2011-05-04T02:24:28Z</expires_at>
355
- <current_period_started_at type="datetime">2011-04-04T02:24:28Z</current_period_started_at>
356
- <current_period_ends_at type="datetime">2011-05-04T02:24:28Z</current_period_ends_at>
352
+ <activated_at type="datetime">2011-04-05T05:19:01Z</activated_at>
353
+ <canceled_at type="datetime">2011-04-05T05:19:08Z</canceled_at>
354
+ <expires_at type="datetime">2011-05-05T05:19:01Z</expires_at>
355
+ <current_period_started_at type="datetime">2011-04-05T05:19:01Z</current_period_started_at>
356
+ <current_period_ends_at type="datetime">2011-05-05T05:19:01Z</current_period_ends_at>
357
357
  <trial_started_at nil="true" type="datetime"></trial_started_at>
358
358
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
359
359
  <add_ons type="array">
@@ -383,17 +383,17 @@
383
383
  message: OK
384
384
  headers:
385
385
  x-runtime:
386
- - "292"
386
+ - "409"
387
387
  content-type:
388
388
  - application/xml; charset=utf-8
389
389
  etag:
390
- - "\"1238869de5dc079826e5ee5a5bdb8422\""
390
+ - "\"899e5771216c3c3c6fc2df124b828775\""
391
391
  cache-control:
392
392
  - private, max-age=0, must-revalidate
393
393
  content-length:
394
394
  - "927"
395
395
  set-cookie:
396
- - _recurly_session=49af7956f04bcd14ea96403bd936b14d; domain=.recurly.local; path=/; HttpOnly
396
+ - _recurly_session=ae0bd8543d7df7768f7313524941a98a; domain=.recurly.local; path=/; HttpOnly
397
397
  connection:
398
398
  - close
399
399
  server:
@@ -410,11 +410,11 @@
410
410
  <state>canceled</state>
411
411
  <quantity type="integer">1</quantity>
412
412
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
413
- <activated_at type="datetime">2011-04-04T02:24:28Z</activated_at>
414
- <canceled_at type="datetime">2011-04-04T02:24:35Z</canceled_at>
415
- <expires_at type="datetime">2011-05-04T02:24:28Z</expires_at>
416
- <current_period_started_at type="datetime">2011-04-04T02:24:28Z</current_period_started_at>
417
- <current_period_ends_at type="datetime">2011-05-04T02:24:28Z</current_period_ends_at>
413
+ <activated_at type="datetime">2011-04-05T05:19:01Z</activated_at>
414
+ <canceled_at type="datetime">2011-04-05T05:19:08Z</canceled_at>
415
+ <expires_at type="datetime">2011-05-05T05:19:01Z</expires_at>
416
+ <current_period_started_at type="datetime">2011-04-05T05:19:01Z</current_period_started_at>
417
+ <current_period_ends_at type="datetime">2011-05-05T05:19:01Z</current_period_ends_at>
418
418
  <trial_started_at nil="true" type="datetime"></trial_started_at>
419
419
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
420
420
  <add_ons type="array">
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/subscription-change1-1301881900
41
41
  x-runtime:
42
- - "465"
42
+ - "311"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "595"
47
47
  set-cookie:
48
- - _recurly_session=8e8ae48d04271d573e23d352801a1bbd; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=f7e7ad97fcaadd972aa846ee51710245; domain=.recurly.local; path=/; HttpOnly
49
49
  connection:
50
50
  - close
51
51
  server:
@@ -62,8 +62,8 @@
62
62
  <company_name>Recurly Ruby Gem</company_name>
63
63
  <balance_in_cents type="integer">0</balance_in_cents>
64
64
  <closed type="boolean">false</closed>
65
- <hosted_login_token>ff73271f7fa84318b61a4eeb547029ca</hosted_login_token>
66
- <created_at type="datetime">2011-04-04T02:23:29Z</created_at>
65
+ <hosted_login_token>24d22ce561744e559778bd7fd754af30</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T05:18:05Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -90,7 +90,7 @@
90
90
  message: OK
91
91
  headers:
92
92
  x-runtime:
93
- - "86"
93
+ - "258"
94
94
  content-type:
95
95
  - application/xml; charset=utf-8
96
96
  etag:
@@ -100,7 +100,7 @@
100
100
  content-length:
101
101
  - "1558"
102
102
  set-cookie:
103
- - _recurly_session=23bf5c4c59ad4fdc695d576561eeaaa1; domain=.recurly.local; path=/; HttpOnly
103
+ - _recurly_session=5f092c815ccc323f15a5c9e9df60820f; domain=.recurly.local; path=/; HttpOnly
104
104
  connection:
105
105
  - close
106
106
  server:
@@ -180,8 +180,8 @@
180
180
  <username type="yaml" nil="true"></username>
181
181
  <balance-in-cents type="integer">0</balance-in-cents>
182
182
  <closed type="boolean">false</closed>
183
- <hosted-login-token>ff73271f7fa84318b61a4eeb547029ca</hosted-login-token>
184
- <created-at type="datetime">2011-04-04T02:23:29Z</created-at>
183
+ <hosted-login-token>24d22ce561744e559778bd7fd754af30</hosted-login-token>
184
+ <created-at type="datetime">2011-04-05T05:18:05Z</created-at>
185
185
  <state>active</state>
186
186
  </account>
187
187
  <addons type="array"/>
@@ -206,13 +206,13 @@
206
206
  cache-control:
207
207
  - no-cache
208
208
  x-runtime:
209
- - "4246"
209
+ - "3891"
210
210
  content-type:
211
211
  - application/xml; charset=utf-8
212
212
  content-length:
213
213
  - "909"
214
214
  set-cookie:
215
- - _recurly_session=74d31d0bea3a099d88e3823b3dddfaf1; domain=.recurly.local; path=/; HttpOnly
215
+ - _recurly_session=e0f4e5e9ec1d9e3ae20aca654fb45290; domain=.recurly.local; path=/; HttpOnly
216
216
  connection:
217
217
  - close
218
218
  server:
@@ -229,11 +229,11 @@
229
229
  <state>active</state>
230
230
  <quantity type="integer">1</quantity>
231
231
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
232
- <activated_at type="datetime">2011-04-04T02:23:34Z</activated_at>
232
+ <activated_at type="datetime">2011-04-05T05:18:09Z</activated_at>
233
233
  <canceled_at nil="true" type="datetime"></canceled_at>
234
234
  <expires_at nil="true" type="datetime"></expires_at>
235
- <current_period_started_at type="datetime">2011-04-04T02:23:34Z</current_period_started_at>
236
- <current_period_ends_at type="datetime">2011-05-04T02:23:34Z</current_period_ends_at>
235
+ <current_period_started_at type="datetime">2011-04-05T05:18:09Z</current_period_started_at>
236
+ <current_period_ends_at type="datetime">2011-05-05T05:18:09Z</current_period_ends_at>
237
237
  <trial_started_at nil="true" type="datetime"></trial_started_at>
238
238
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
239
239
  <add_ons type="array">
@@ -263,17 +263,17 @@
263
263
  message: OK
264
264
  headers:
265
265
  x-runtime:
266
- - "289"
266
+ - "292"
267
267
  content-type:
268
268
  - application/xml; charset=utf-8
269
269
  etag:
270
- - "\"44a2d065a1125272b5df5e0f20b4022b\""
270
+ - "\"063110503fc360bbaa55ff380b0962b4\""
271
271
  cache-control:
272
272
  - private, max-age=0, must-revalidate
273
273
  content-length:
274
274
  - "909"
275
275
  set-cookie:
276
- - _recurly_session=4460c3ed1ba499e688238e1b04d3672d; domain=.recurly.local; path=/; HttpOnly
276
+ - _recurly_session=c2f66eef2659f964294a1f622e698421; domain=.recurly.local; path=/; HttpOnly
277
277
  connection:
278
278
  - close
279
279
  server:
@@ -290,11 +290,11 @@
290
290
  <state>active</state>
291
291
  <quantity type="integer">1</quantity>
292
292
  <total_amount_in_cents type="integer">200</total_amount_in_cents>
293
- <activated_at type="datetime">2011-04-04T02:23:34Z</activated_at>
293
+ <activated_at type="datetime">2011-04-05T05:18:09Z</activated_at>
294
294
  <canceled_at nil="true" type="datetime"></canceled_at>
295
295
  <expires_at nil="true" type="datetime"></expires_at>
296
- <current_period_started_at type="datetime">2011-04-04T02:23:34Z</current_period_started_at>
297
- <current_period_ends_at type="datetime">2011-05-04T02:23:34Z</current_period_ends_at>
296
+ <current_period_started_at type="datetime">2011-04-05T05:18:09Z</current_period_started_at>
297
+ <current_period_ends_at type="datetime">2011-05-05T05:18:09Z</current_period_ends_at>
298
298
  <trial_started_at nil="true" type="datetime"></trial_started_at>
299
299
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
300
300
  <add_ons type="array">
@@ -330,17 +330,17 @@
330
330
  message: OK
331
331
  headers:
332
332
  x-runtime:
333
- - "1966"
333
+ - "1769"
334
334
  content-type:
335
335
  - application/xml; charset=utf-8
336
336
  etag:
337
- - "\"25af1d8da98e785b0307de9a4690a4c4\""
337
+ - "\"3b49e05b5efc98f15b92d2e0905aabe6\""
338
338
  cache-control:
339
339
  - private, max-age=0, must-revalidate
340
340
  content-length:
341
341
  - "909"
342
342
  set-cookie:
343
- - _recurly_session=6ac3baf9acd363d4b726bd076b9b305c; domain=.recurly.local; path=/; HttpOnly
343
+ - _recurly_session=b5055eb8fe94d1baed96d28605b6768a; domain=.recurly.local; path=/; HttpOnly
344
344
  connection:
345
345
  - close
346
346
  server:
@@ -357,11 +357,11 @@
357
357
  <state>active</state>
358
358
  <quantity type="integer">2</quantity>
359
359
  <total_amount_in_cents type="integer">400</total_amount_in_cents>
360
- <activated_at type="datetime">2011-04-04T02:23:41Z</activated_at>
360
+ <activated_at type="datetime">2011-04-05T05:18:16Z</activated_at>
361
361
  <canceled_at nil="true" type="datetime"></canceled_at>
362
362
  <expires_at nil="true" type="datetime"></expires_at>
363
- <current_period_started_at type="datetime">2011-04-04T02:23:34Z</current_period_started_at>
364
- <current_period_ends_at type="datetime">2011-05-04T02:23:34Z</current_period_ends_at>
363
+ <current_period_started_at type="datetime">2011-04-05T05:18:09Z</current_period_started_at>
364
+ <current_period_ends_at type="datetime">2011-05-05T05:18:09Z</current_period_ends_at>
365
365
  <trial_started_at nil="true" type="datetime"></trial_started_at>
366
366
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
367
367
  <add_ons type="array">
@@ -391,17 +391,17 @@
391
391
  message: OK
392
392
  headers:
393
393
  x-runtime:
394
- - "337"
394
+ - "287"
395
395
  content-type:
396
396
  - application/xml; charset=utf-8
397
397
  etag:
398
- - "\"25af1d8da98e785b0307de9a4690a4c4\""
398
+ - "\"3b49e05b5efc98f15b92d2e0905aabe6\""
399
399
  cache-control:
400
400
  - private, max-age=0, must-revalidate
401
401
  content-length:
402
402
  - "909"
403
403
  set-cookie:
404
- - _recurly_session=de7443a54ba936424d56f56ffe7427ce; domain=.recurly.local; path=/; HttpOnly
404
+ - _recurly_session=352fc98661f1ab39af1acf87092ee793; domain=.recurly.local; path=/; HttpOnly
405
405
  connection:
406
406
  - close
407
407
  server:
@@ -418,11 +418,11 @@
418
418
  <state>active</state>
419
419
  <quantity type="integer">2</quantity>
420
420
  <total_amount_in_cents type="integer">400</total_amount_in_cents>
421
- <activated_at type="datetime">2011-04-04T02:23:41Z</activated_at>
421
+ <activated_at type="datetime">2011-04-05T05:18:16Z</activated_at>
422
422
  <canceled_at nil="true" type="datetime"></canceled_at>
423
423
  <expires_at nil="true" type="datetime"></expires_at>
424
- <current_period_started_at type="datetime">2011-04-04T02:23:34Z</current_period_started_at>
425
- <current_period_ends_at type="datetime">2011-05-04T02:23:34Z</current_period_ends_at>
424
+ <current_period_started_at type="datetime">2011-04-05T05:18:09Z</current_period_started_at>
425
+ <current_period_ends_at type="datetime">2011-05-05T05:18:09Z</current_period_ends_at>
426
426
  <trial_started_at nil="true" type="datetime"></trial_started_at>
427
427
  <trial_ends_at nil="true" type="datetime"></trial_ends_at>
428
428
  <add_ons type="array">