recurly 0.4.4 → 0.4.5

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 (59) hide show
  1. data/lib/recurly/base.rb +4 -3
  2. data/lib/recurly/version.rb +1 -1
  3. data/spec/integration/billing_info_spec.rb +33 -0
  4. data/spec/vcr/account/accept-language-account/1301979678.yml +4 -4
  5. data/spec/vcr/account/close/1301979678.yml +11 -11
  6. data/spec/vcr/account/create/1301979678.yml +4 -4
  7. data/spec/vcr/account/create-blank/1301979678.yml +2 -2
  8. data/spec/vcr/account/create-duplicate/1301979678.yml +6 -6
  9. data/spec/vcr/account/create-min/1301979678.yml +4 -4
  10. data/spec/vcr/account/find/1301979678.yml +10 -10
  11. data/spec/vcr/account/list/1301979678.yml +74 -74
  12. data/spec/vcr/account/update/1301979678.yml +21 -21
  13. data/spec/vcr/billing/create/{1298594128.yml → 1302025874.yml} +20 -20
  14. data/spec/vcr/billing/destroy/{1298594128.yml → 1302025874.yml} +25 -25
  15. data/spec/vcr/billing/errors/1302025874.yml +126 -0
  16. data/spec/vcr/billing/find/{1298594128.yml → 1302025874.yml} +27 -27
  17. data/spec/vcr/billing/update/{1298594128.yml → 1302025874.yml} +27 -27
  18. data/spec/vcr/charge/create/1297746103.yml +20 -20
  19. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
  20. data/spec/vcr/charge/list-all/1297746103.yml +31 -31
  21. data/spec/vcr/charge/list-invoiced/1297746103.yml +53 -53
  22. data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
  23. data/spec/vcr/charge/lookup/1297746103.yml +16 -16
  24. data/spec/vcr/coupon/create/1299714521.yml +11 -11
  25. data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
  26. data/spec/vcr/credit/create/1299714599.yml +16 -16
  27. data/spec/vcr/credit/delete/1299714599.yml +21 -21
  28. data/spec/vcr/credit/list/1299714599.yml +31 -31
  29. data/spec/vcr/credit/lookup/1299714599.yml +16 -16
  30. data/spec/vcr/invoice/create/1297746103.yml +30 -30
  31. data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
  32. data/spec/vcr/invoice/list/1297746103.yml +45 -45
  33. data/spec/vcr/invoice/lookup/1297746103.yml +32 -32
  34. data/spec/vcr/plan/all.yml +6 -6
  35. data/spec/vcr/plan/find.yml +6 -6
  36. data/spec/vcr/plan/update.yml +6 -6
  37. data/spec/vcr/subscription/addons/add/1301885121.yml +31 -31
  38. data/spec/vcr/subscription/addons/create/1301885121.yml +19 -19
  39. data/spec/vcr/subscription/addons/remove/1301885121.yml +31 -31
  40. data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
  41. data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
  42. data/spec/vcr/subscription/change1/1301881900.yml +31 -31
  43. data/spec/vcr/subscription/change2/1301881900.yml +31 -31
  44. data/spec/vcr/subscription/create/1301881900.yml +13 -13
  45. data/spec/vcr/subscription/find/1301881900.yml +19 -19
  46. data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
  47. data/spec/vcr/subscription/refund-full/1301881900.yml +28 -28
  48. data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
  49. data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
  50. data/spec/vcr/transaction/all/1301883347.yml +55 -55
  51. data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
  52. data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
  53. data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
  54. data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
  55. data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
  56. data/spec/vcr/transaction/refund/1301883347.yml +19 -19
  57. data/spec/vcr/transaction/void/1301883347.yml +26 -26
  58. data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
  59. metadata +12 -10
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/charge-list-pending-1297746103
41
41
  x-runtime:
42
- - "284"
42
+ - "395"
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=219baacbaca22dff511bdfedf9ecbf92; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=ad18d90d05bb71b07b3e865695bd6911; 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>b32d0c0cb20f4efa8ca4d85cc8d64f63</hosted_login_token>
66
- <created_at type="datetime">2011-04-05T05:15:07Z</created_at>
65
+ <hosted_login_token>ab6d93f3834240cf843de25bb6ce637e</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T19:41:19Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "243"
101
+ - "368"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "524"
106
106
  set-cookie:
107
- - _recurly_session=8d8b05b6d0f28617001cc1b5f8feb5c1; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=885ee740fde61c406dd75352c58be3b1; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,14 +112,14 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <charge type="charge">
115
- <id>b80965ef2e174af8b42f2873a7bff692</id>
115
+ <id>9bbc05e9e35e440ea150d23de1f998af</id>
116
116
  <account_code>charge-list-pending-1297746103</account_code>
117
117
  <amount_in_cents type="integer">1000</amount_in_cents>
118
- <start_date type="datetime">2011-04-05T05:15:09Z</start_date>
118
+ <start_date type="datetime">2011-04-05T19:41:22Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>charge description</description>
122
- <created_at type="datetime">2011-04-05T05:15:09Z</created_at>
122
+ <created_at type="datetime">2011-04-05T19:41:22Z</created_at>
123
123
  </charge>
124
124
 
125
125
  http_version: "1.1"
@@ -153,13 +153,13 @@
153
153
  cache-control:
154
154
  - no-cache
155
155
  x-runtime:
156
- - "245"
156
+ - "371"
157
157
  content-type:
158
158
  - application/xml; charset=utf-8
159
159
  content-length:
160
160
  - "524"
161
161
  set-cookie:
162
- - _recurly_session=0f617ebf8b5e076ab46ca7963e1d7820; domain=.recurly.local; path=/; HttpOnly
162
+ - _recurly_session=b38f7df7749fd86ccfc012472400d1ab; domain=.recurly.local; path=/; HttpOnly
163
163
  connection:
164
164
  - close
165
165
  server:
@@ -167,14 +167,14 @@
167
167
  body: |
168
168
  <?xml version="1.0" encoding="UTF-8"?>
169
169
  <charge type="charge">
170
- <id>d78c520ee79d4f5ab94e040be713fb8f</id>
170
+ <id>e8d01a5662b44be79091293158e6f6c4</id>
171
171
  <account_code>charge-list-pending-1297746103</account_code>
172
172
  <amount_in_cents type="integer">1000</amount_in_cents>
173
- <start_date type="datetime">2011-04-05T05:15:11Z</start_date>
173
+ <start_date type="datetime">2011-04-05T19:41:24Z</start_date>
174
174
  <end_date nil="true" type="datetime"></end_date>
175
175
  <invoice_number nil="true" type="integer"></invoice_number>
176
176
  <description>charge description</description>
177
- <created_at type="datetime">2011-04-05T05:15:11Z</created_at>
177
+ <created_at type="datetime">2011-04-05T19:41:24Z</created_at>
178
178
  </charge>
179
179
 
180
180
  http_version: "1.1"
@@ -208,13 +208,13 @@
208
208
  cache-control:
209
209
  - no-cache
210
210
  x-runtime:
211
- - "248"
211
+ - "368"
212
212
  content-type:
213
213
  - application/xml; charset=utf-8
214
214
  content-length:
215
215
  - "524"
216
216
  set-cookie:
217
- - _recurly_session=47eaad69f15809348847e21fb21f9ec6; domain=.recurly.local; path=/; HttpOnly
217
+ - _recurly_session=b83ce27c871d24357cdf99b79188f736; domain=.recurly.local; path=/; HttpOnly
218
218
  connection:
219
219
  - close
220
220
  server:
@@ -222,14 +222,14 @@
222
222
  body: |
223
223
  <?xml version="1.0" encoding="UTF-8"?>
224
224
  <charge type="charge">
225
- <id>bc5fe9ecdd45487cb75f3f350934a372</id>
225
+ <id>9207bc8afe6a40f6ab533eac297bacdb</id>
226
226
  <account_code>charge-list-pending-1297746103</account_code>
227
227
  <amount_in_cents type="integer">1000</amount_in_cents>
228
- <start_date type="datetime">2011-04-05T05:15:13Z</start_date>
228
+ <start_date type="datetime">2011-04-05T19:41:27Z</start_date>
229
229
  <end_date nil="true" type="datetime"></end_date>
230
230
  <invoice_number nil="true" type="integer"></invoice_number>
231
231
  <description>charge description</description>
232
- <created_at type="datetime">2011-04-05T05:15:13Z</created_at>
232
+ <created_at type="datetime">2011-04-05T19:41:27Z</created_at>
233
233
  </charge>
234
234
 
235
235
  http_version: "1.1"
@@ -255,17 +255,17 @@
255
255
  message: OK
256
256
  headers:
257
257
  x-runtime:
258
- - "224"
258
+ - "351"
259
259
  content-type:
260
260
  - application/xml; charset=utf-8
261
261
  etag:
262
- - "\"9e1fc3bff3c507d754d1413491d1f70c\""
262
+ - "\"b72b73f3b1310c9f399fb96e03a3e1a0\""
263
263
  cache-control:
264
264
  - private, max-age=0, must-revalidate
265
265
  content-length:
266
266
  - "1588"
267
267
  set-cookie:
268
- - _recurly_session=ba0e40be0f302c704a1b997df69518a2; domain=.recurly.local; path=/; HttpOnly
268
+ - _recurly_session=5e4db1fbc514b3ec51aaae21c7dff936; domain=.recurly.local; path=/; HttpOnly
269
269
  connection:
270
270
  - close
271
271
  server:
@@ -274,34 +274,34 @@
274
274
  <?xml version="1.0" encoding="UTF-8"?>
275
275
  <charges type="array">
276
276
  <charge type="charge">
277
- <id>bc5fe9ecdd45487cb75f3f350934a372</id>
277
+ <id>9207bc8afe6a40f6ab533eac297bacdb</id>
278
278
  <account_code>charge-list-pending-1297746103</account_code>
279
279
  <amount_in_cents type="integer">1000</amount_in_cents>
280
- <start_date type="datetime">2011-04-05T05:15:13Z</start_date>
280
+ <start_date type="datetime">2011-04-05T19:41:27Z</start_date>
281
281
  <end_date nil="true" type="datetime"></end_date>
282
282
  <invoice_number nil="true" type="integer"></invoice_number>
283
283
  <description>charge description</description>
284
- <created_at type="datetime">2011-04-05T05:15:13Z</created_at>
284
+ <created_at type="datetime">2011-04-05T19:41:27Z</created_at>
285
285
  </charge>
286
286
  <charge type="charge">
287
- <id>d78c520ee79d4f5ab94e040be713fb8f</id>
287
+ <id>e8d01a5662b44be79091293158e6f6c4</id>
288
288
  <account_code>charge-list-pending-1297746103</account_code>
289
289
  <amount_in_cents type="integer">1000</amount_in_cents>
290
- <start_date type="datetime">2011-04-05T05:15:11Z</start_date>
290
+ <start_date type="datetime">2011-04-05T19:41:24Z</start_date>
291
291
  <end_date nil="true" type="datetime"></end_date>
292
292
  <invoice_number nil="true" type="integer"></invoice_number>
293
293
  <description>charge description</description>
294
- <created_at type="datetime">2011-04-05T05:15:11Z</created_at>
294
+ <created_at type="datetime">2011-04-05T19:41:24Z</created_at>
295
295
  </charge>
296
296
  <charge type="charge">
297
- <id>b80965ef2e174af8b42f2873a7bff692</id>
297
+ <id>9bbc05e9e35e440ea150d23de1f998af</id>
298
298
  <account_code>charge-list-pending-1297746103</account_code>
299
299
  <amount_in_cents type="integer">1000</amount_in_cents>
300
- <start_date type="datetime">2011-04-05T05:15:09Z</start_date>
300
+ <start_date type="datetime">2011-04-05T19:41:22Z</start_date>
301
301
  <end_date nil="true" type="datetime"></end_date>
302
302
  <invoice_number nil="true" type="integer"></invoice_number>
303
303
  <description>charge description</description>
304
- <created_at type="datetime">2011-04-05T05:15:09Z</created_at>
304
+ <created_at type="datetime">2011-04-05T19:41:22Z</created_at>
305
305
  </charge>
306
306
  </charges>
307
307
 
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/charge-lookup-1297746103
41
41
  x-runtime:
42
- - "277"
42
+ - "396"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=dcf850fb2f06e9dcd611812b6493745d; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=cc84951bed29f8bf1b7492d014675897; 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>8dc2089ef79544bcbcbaf03a5b3f43db</hosted_login_token>
66
- <created_at type="datetime">2011-04-05T05:15:39Z</created_at>
65
+ <hosted_login_token>4398973b6fcb4ec3a3aabfa4662b3cfd</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T19:42:03Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "83"
101
+ - "385"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "517"
106
106
  set-cookie:
107
- - _recurly_session=3967eba5f35f3180b4ee268d24ae833f; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=b34fe0e8270a62c05e9370a9f90f1c79; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,21 +112,21 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <charge type="charge">
115
- <id>5a7906294c344526b3fbfd7b60bdacfe</id>
115
+ <id>51e7e95a44c04f7ba4b2644abc56797f</id>
116
116
  <account_code>charge-lookup-1297746103</account_code>
117
117
  <amount_in_cents type="integer">1315</amount_in_cents>
118
- <start_date type="datetime">2011-04-05T05:15:41Z</start_date>
118
+ <start_date type="datetime">2011-04-05T19:42:06Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>inconvenience fee</description>
122
- <created_at type="datetime">2011-04-05T05:15:41Z</created_at>
122
+ <created_at type="datetime">2011-04-05T19:42:06Z</created_at>
123
123
  </charge>
124
124
 
125
125
  http_version: "1.1"
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :get
129
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/5a7906294c344526b3fbfd7b60bdacfe.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/51e7e95a44c04f7ba4b2644abc56797f.xml
130
130
  body:
131
131
  headers:
132
132
  authorization:
@@ -145,17 +145,17 @@
145
145
  message: OK
146
146
  headers:
147
147
  x-runtime:
148
- - "255"
148
+ - "74"
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  etag:
152
- - "\"395e25f1ad14c1efa585824658f53a01\""
152
+ - "\"b015d7b4d8c51fa43d93638063529730\""
153
153
  cache-control:
154
154
  - private, max-age=0, must-revalidate
155
155
  content-length:
156
156
  - "517"
157
157
  set-cookie:
158
- - _recurly_session=221d10d74835d4cdb5e7835655a0258c; domain=.recurly.local; path=/; HttpOnly
158
+ - _recurly_session=d5234dd44de7698ddfe994a7ba2bf669; domain=.recurly.local; path=/; HttpOnly
159
159
  connection:
160
160
  - close
161
161
  server:
@@ -163,14 +163,14 @@
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <charge type="charge">
166
- <id>5a7906294c344526b3fbfd7b60bdacfe</id>
166
+ <id>51e7e95a44c04f7ba4b2644abc56797f</id>
167
167
  <account_code>charge-lookup-1297746103</account_code>
168
168
  <amount_in_cents type="integer">1315</amount_in_cents>
169
- <start_date type="datetime">2011-04-05T05:15:41Z</start_date>
169
+ <start_date type="datetime">2011-04-05T19:42:06Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <invoice_number nil="true" type="integer"></invoice_number>
172
172
  <description>inconvenience fee</description>
173
- <created_at type="datetime">2011-04-05T05:15:41Z</created_at>
173
+ <created_at type="datetime">2011-04-05T19:42:06Z</created_at>
174
174
  </charge>
175
175
 
176
176
  http_version: "1.1"
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/coupon-create-1299714521
41
41
  x-runtime:
42
- - "276"
42
+ - "408"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=eeb9ed2426b01561014da6a6d0b45aec; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=f28ed29f998a9648d91491d61c1bef5c; 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>d68c993dd8864a27984a372c4bfd24da</hosted_login_token>
66
- <created_at type="datetime">2011-04-05T05:15:56Z</created_at>
65
+ <hosted_login_token>7cd5dd7d07334ae399ae1df3036843be</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T19:42:27Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -97,13 +97,13 @@
97
97
  cache-control:
98
98
  - no-cache
99
99
  x-runtime:
100
- - "281"
100
+ - "438"
101
101
  content-type:
102
102
  - application/xml; charset=utf-8
103
103
  content-length:
104
104
  - "520"
105
105
  set-cookie:
106
- - _recurly_session=016eec6002ed8d0e434336a422b69d35; domain=.recurly.local; path=/; HttpOnly
106
+ - _recurly_session=0cc33b1c9e046fa6e80379d05e2fff25; domain=.recurly.local; path=/; HttpOnly
107
107
  connection:
108
108
  - close
109
109
  server:
@@ -118,7 +118,7 @@
118
118
  <discount_percent type="integer"></discount_percent>
119
119
  <redemption>
120
120
  <account_code>coupon-create-1299714521</account_code>
121
- <redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
121
+ <redeemed_at type="datetime">2011-04-05T19:42:30Z</redeemed_at>
122
122
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
123
123
  </redemption>
124
124
  </coupon>
@@ -146,17 +146,17 @@
146
146
  message: OK
147
147
  headers:
148
148
  x-runtime:
149
- - "270"
149
+ - "383"
150
150
  content-type:
151
151
  - application/xml; charset=utf-8
152
152
  etag:
153
- - "\"1f0c21ec9fba77001a6bc15abc6b82da\""
153
+ - "\"41fb0a5e0b49fd85d9a230c2bdaf1849\""
154
154
  cache-control:
155
155
  - private, max-age=0, must-revalidate
156
156
  content-length:
157
157
  - "520"
158
158
  set-cookie:
159
- - _recurly_session=b190a64bb13c4e45d80d3216b827d3f1; domain=.recurly.local; path=/; HttpOnly
159
+ - _recurly_session=4f6a51e29c8159912fe4dbe08e824925; domain=.recurly.local; path=/; HttpOnly
160
160
  connection:
161
161
  - close
162
162
  server:
@@ -171,7 +171,7 @@
171
171
  <discount_percent type="integer"></discount_percent>
172
172
  <redemption>
173
173
  <account_code>coupon-create-1299714521</account_code>
174
- <redeemed_at type="datetime">2011-04-05T05:15:58Z</redeemed_at>
174
+ <redeemed_at type="datetime">2011-04-05T19:42:30Z</redeemed_at>
175
175
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
176
176
  </redemption>
177
177
  </coupon>
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/coupon-destroy-1299714521
41
41
  x-runtime:
42
- - "440"
42
+ - "398"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "583"
47
47
  set-cookie:
48
- - _recurly_session=b1f89f15d367718708b9428cb7c9a8ab; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=04ad85bda6648770f4c2b3d5e04ce66c; 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>f7eec11339c647bb90a7c6f9f20acecf</hosted_login_token>
66
- <created_at type="datetime">2011-04-05T05:16:02Z</created_at>
65
+ <hosted_login_token>284bb81f2ba64ec8bee5c7b81ae379e3</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T19:42:35Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -97,13 +97,13 @@
97
97
  cache-control:
98
98
  - no-cache
99
99
  x-runtime:
100
- - "494"
100
+ - "407"
101
101
  content-type:
102
102
  - application/xml; charset=utf-8
103
103
  content-length:
104
104
  - "522"
105
105
  set-cookie:
106
- - _recurly_session=dab26df8f120671174013b1a5f6dd26c; domain=.recurly.local; path=/; HttpOnly
106
+ - _recurly_session=9b924f1e24fb34e2968a6ef5c29965fa; domain=.recurly.local; path=/; HttpOnly
107
107
  connection:
108
108
  - close
109
109
  server:
@@ -118,7 +118,7 @@
118
118
  <discount_percent type="integer"></discount_percent>
119
119
  <redemption>
120
120
  <account_code>coupon-destroy-1299714521</account_code>
121
- <redeemed_at type="datetime">2011-04-05T05:16:04Z</redeemed_at>
121
+ <redeemed_at type="datetime">2011-04-05T19:42:38Z</redeemed_at>
122
122
  <total_discounted_in_cents type="integer">0</total_discounted_in_cents>
123
123
  </redemption>
124
124
  </coupon>
@@ -146,13 +146,13 @@
146
146
  cache-control:
147
147
  - no-cache
148
148
  x-runtime:
149
- - "253"
149
+ - "367"
150
150
  content-type:
151
151
  - application/xml; charset=utf-8
152
152
  content-length:
153
153
  - "1"
154
154
  set-cookie:
155
- - _recurly_session=d29e1ae4fb729fba6d509ba99d15b849; domain=.recurly.local; path=/; HttpOnly
155
+ - _recurly_session=c42c2edb2edbe3ec26e245e20b492079; domain=.recurly.local; path=/; HttpOnly
156
156
  connection:
157
157
  - close
158
158
  server:
@@ -187,7 +187,7 @@
187
187
  content-length:
188
188
  - "92"
189
189
  set-cookie:
190
- - _recurly_session=f3a5aee8a87d95e4fabc5930c19afce0; domain=.recurly.local; path=/; HttpOnly
190
+ - _recurly_session=2b6c2cab605f8f8a26d756ec29ee2b8f; domain=.recurly.local; path=/; HttpOnly
191
191
  connection:
192
192
  - close
193
193
  server:
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/credit-create-1299714599
41
41
  x-runtime:
42
- - "457"
42
+ - "402"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "581"
47
47
  set-cookie:
48
- - _recurly_session=1900f617722ad639c8db1c6d17f0864d; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=ba1b10ce885f02b78c86742de8cf3707; 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>5020b545c89149b6a96dbdc548eda329</hosted_login_token>
66
- <created_at type="datetime">2011-04-05T05:16:09Z</created_at>
65
+ <hosted_login_token>69114a2ac95f4c779c2335c1a310e42c</hosted_login_token>
66
+ <created_at type="datetime">2011-04-05T19:42:46Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -98,13 +98,13 @@
98
98
  cache-control:
99
99
  - no-cache
100
100
  x-runtime:
101
- - "246"
101
+ - "379"
102
102
  content-type:
103
103
  - application/xml; charset=utf-8
104
104
  content-length:
105
105
  - "512"
106
106
  set-cookie:
107
- - _recurly_session=9f2fd56b9cadb334d7b24df9ba871385; domain=.recurly.local; path=/; HttpOnly
107
+ - _recurly_session=b850bcae941654e22ce56b00177389cc; domain=.recurly.local; path=/; HttpOnly
108
108
  connection:
109
109
  - close
110
110
  server:
@@ -112,21 +112,21 @@
112
112
  body: |
113
113
  <?xml version="1.0" encoding="UTF-8"?>
114
114
  <credit type="credit">
115
- <id>c29445991a6545a5856a7003e3120ff8</id>
115
+ <id>f3e0f68c1cde426e846302a03155bc6d</id>
116
116
  <account_code>credit-create-1299714599</account_code>
117
117
  <amount_in_cents type="integer">-1005</amount_in_cents>
118
- <start_date type="datetime">2011-04-05T05:16:11Z</start_date>
118
+ <start_date type="datetime">2011-04-05T19:42:49Z</start_date>
119
119
  <end_date nil="true" type="datetime"></end_date>
120
120
  <invoice_number nil="true" type="integer"></invoice_number>
121
121
  <description>free moniez</description>
122
- <created_at type="datetime">2011-04-05T05:16:11Z</created_at>
122
+ <created_at type="datetime">2011-04-05T19:42:49Z</created_at>
123
123
  </credit>
124
124
 
125
125
  http_version: "1.1"
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :get
129
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/c29445991a6545a5856a7003e3120ff8.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/f3e0f68c1cde426e846302a03155bc6d.xml
130
130
  body:
131
131
  headers:
132
132
  authorization:
@@ -145,17 +145,17 @@
145
145
  message: OK
146
146
  headers:
147
147
  x-runtime:
148
- - "236"
148
+ - "71"
149
149
  content-type:
150
150
  - application/xml; charset=utf-8
151
151
  etag:
152
- - "\"67ee38ba33f34e1bd792dfadaed6ac7e\""
152
+ - "\"a6d8e03c45b0fbf96dac4ae04edb4ca1\""
153
153
  cache-control:
154
154
  - private, max-age=0, must-revalidate
155
155
  content-length:
156
156
  - "512"
157
157
  set-cookie:
158
- - _recurly_session=c073b578c9216ab440fbafc51d1966ed; domain=.recurly.local; path=/; HttpOnly
158
+ - _recurly_session=a2a1327d72032ecb933afa84f96e60f9; domain=.recurly.local; path=/; HttpOnly
159
159
  connection:
160
160
  - close
161
161
  server:
@@ -163,14 +163,14 @@
163
163
  body: |
164
164
  <?xml version="1.0" encoding="UTF-8"?>
165
165
  <credit type="credit">
166
- <id>c29445991a6545a5856a7003e3120ff8</id>
166
+ <id>f3e0f68c1cde426e846302a03155bc6d</id>
167
167
  <account_code>credit-create-1299714599</account_code>
168
168
  <amount_in_cents type="integer">-1005</amount_in_cents>
169
- <start_date type="datetime">2011-04-05T05:16:11Z</start_date>
169
+ <start_date type="datetime">2011-04-05T19:42:49Z</start_date>
170
170
  <end_date nil="true" type="datetime"></end_date>
171
171
  <invoice_number nil="true" type="integer"></invoice_number>
172
172
  <description>free moniez</description>
173
- <created_at type="datetime">2011-04-05T05:16:11Z</created_at>
173
+ <created_at type="datetime">2011-04-05T19:42:49Z</created_at>
174
174
  </credit>
175
175
 
176
176
  http_version: "1.1"