recurly 0.3.1 → 0.3.2

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 (61) hide show
  1. data/lib/recurly.rb +8 -0
  2. data/lib/recurly/account.rb +5 -0
  3. data/lib/recurly/rails3/railtie.rb +9 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/integration/account_spec.rb +29 -1
  6. data/spec/integration/add_on_spec.rb +84 -0
  7. data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
  8. data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
  9. data/spec/vcr/account/accept-language/1294473117.yml +167 -0
  10. data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
  11. data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
  12. data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
  13. data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
  14. data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
  15. data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
  16. data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
  17. data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
  18. data/spec/vcr/billing/create/1286682213.yml +28 -27
  19. data/spec/vcr/billing/destroy/1286682213.yml +42 -41
  20. data/spec/vcr/billing/find/1286682213.yml +38 -37
  21. data/spec/vcr/billing/update/1286682213.yml +40 -39
  22. data/spec/vcr/charge/create/1287465632.yml +36 -35
  23. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
  24. data/spec/vcr/charge/list-all/1287465632.yml +43 -42
  25. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
  26. data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
  27. data/spec/vcr/charge/lookup/1287465632.yml +22 -21
  28. data/spec/vcr/credit/create/1287461400.yml +23 -22
  29. data/spec/vcr/credit/delete/1287461400.yml +33 -32
  30. data/spec/vcr/credit/list/1287461400.yml +43 -42
  31. data/spec/vcr/credit/lookup/1287461400.yml +24 -23
  32. data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
  33. data/spec/vcr/invoice/create/1287167121.yml +48 -47
  34. data/spec/vcr/invoice/list/1287167121.yml +67 -66
  35. data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
  36. data/spec/vcr/plan/all.yml +29 -17
  37. data/spec/vcr/plan/delete/1286677585.yml +21 -21
  38. data/spec/vcr/plan/find.yml +42 -18
  39. data/spec/vcr/plan/update.yml +17 -17
  40. data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
  41. data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
  42. data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
  43. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
  44. data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
  45. data/spec/vcr/subscription/change1/1287455769.yml +77 -55
  46. data/spec/vcr/subscription/change2/1287455769.yml +77 -55
  47. data/spec/vcr/subscription/create/1287455769.yml +43 -27
  48. data/spec/vcr/subscription/find/1287455769.yml +54 -36
  49. data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
  50. data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
  51. data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
  52. data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
  53. data/spec/vcr/transaction/all/1289558212.yml +46 -46
  54. data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
  55. data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
  56. data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
  57. data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
  58. data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
  59. data/spec/vcr/transaction/refund/1289558212.yml +35 -34
  60. data/spec/vcr/transaction/void/1289558212.yml +71 -70
  61. metadata +34 -20
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>charge-list-pending-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "277"
38
+ - "352"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:22 GMT
40
+ - Sat, 08 Jan 2011 08:04:06 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "593"
44
45
  set-cookie:
45
- - account_credentials=299eb88c0713f8795f86ef34725493da9500efbfb0550777c0e55ce9e2e25f20f689cb4033157946abc5f789b4d9942801d589bead5320b10e828e4a1794cb65%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=d079476e27c07ea770667801aa028ff038880eae78a37e61b91108971f9091c550dac1a6b57dae72430a69b6dec1faa006af35e451308a92f2a4a8e3eb594f9b%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=919a23b59594dc9b62c4b0f84259dc98; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=cc44feba27cac45cac5c8e0f4940022a; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>3e7ecec876644339b6b9a42f7248659d</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:22Z</created_at>
63
+ <hosted_login_token>831b1f8d50394ddf8dcd76f3cb731b0f</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:04:06Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -95,28 +96,28 @@
95
96
  content-type:
96
97
  - application/xml; charset=utf-8
97
98
  x-runtime:
98
- - "47"
99
+ - "46"
99
100
  date:
100
- - Tue, 16 Nov 2010 07:03:24 GMT
101
+ - Sat, 08 Jan 2011 08:04:07 GMT
101
102
  server:
102
- - nginx/0.7.65
103
+ - nginx/0.8.53
103
104
  content-length:
104
105
  - "524"
105
106
  set-cookie:
106
- - _recurly_session=57554597616963a144156f5e2d13e49f; domain=.recurly.com; path=/; secure; HttpOnly
107
+ - _recurly_session=ba01b1cbc2ee569b5948c3810a995451; domain=.recurly.com; path=/; secure; HttpOnly
107
108
  cache-control:
108
109
  - no-cache
109
110
  body: |
110
111
  <?xml version="1.0" encoding="UTF-8"?>
111
112
  <charge type="charge">
112
- <id>db9face9f8444351a4e1b6e3776fe04c</id>
113
+ <id>ca817b38fc4e48379b144ea519cd440a</id>
113
114
  <account_code>charge-list-pending-1287465632</account_code>
114
115
  <amount_in_cents type="integer">1000</amount_in_cents>
115
- <start_date type="datetime">2010-11-16T07:03:24Z</start_date>
116
+ <start_date type="datetime">2011-01-08T08:04:07Z</start_date>
116
117
  <end_date nil="true" type="datetime"></end_date>
117
118
  <invoice_number nil="true" type="integer"></invoice_number>
118
119
  <description>charge description</description>
119
- <created_at type="datetime">2010-11-16T07:03:24Z</created_at>
120
+ <created_at type="datetime">2011-01-08T08:04:07Z</created_at>
120
121
  </charge>
121
122
 
122
123
  http_version: "1.1"
@@ -150,28 +151,28 @@
150
151
  content-type:
151
152
  - application/xml; charset=utf-8
152
153
  x-runtime:
153
- - "95"
154
+ - "46"
154
155
  date:
155
- - Tue, 16 Nov 2010 07:03:23 GMT
156
+ - Sat, 08 Jan 2011 08:04:08 GMT
156
157
  server:
157
- - nginx/0.7.65
158
+ - nginx/0.8.53
158
159
  content-length:
159
160
  - "524"
160
161
  set-cookie:
161
- - _recurly_session=e4fbecbab2ee57fc68be03c3c650704b; domain=.recurly.com; path=/; secure; HttpOnly
162
+ - _recurly_session=ac2aa4c67899af52811c1159dad75e57; domain=.recurly.com; path=/; secure; HttpOnly
162
163
  cache-control:
163
164
  - no-cache
164
165
  body: |
165
166
  <?xml version="1.0" encoding="UTF-8"?>
166
167
  <charge type="charge">
167
- <id>9ae89e16e55541cfb905b0756a117ccf</id>
168
+ <id>d3948fb472d54b52be76cdaf10b7b92d</id>
168
169
  <account_code>charge-list-pending-1287465632</account_code>
169
170
  <amount_in_cents type="integer">1000</amount_in_cents>
170
- <start_date type="datetime">2010-11-16T07:03:23Z</start_date>
171
+ <start_date type="datetime">2011-01-08T08:04:08Z</start_date>
171
172
  <end_date nil="true" type="datetime"></end_date>
172
173
  <invoice_number nil="true" type="integer"></invoice_number>
173
174
  <description>charge description</description>
174
- <created_at type="datetime">2010-11-16T07:03:23Z</created_at>
175
+ <created_at type="datetime">2011-01-08T08:04:08Z</created_at>
175
176
  </charge>
176
177
 
177
178
  http_version: "1.1"
@@ -205,28 +206,28 @@
205
206
  content-type:
206
207
  - application/xml; charset=utf-8
207
208
  x-runtime:
208
- - "44"
209
+ - "156"
209
210
  date:
210
- - Tue, 16 Nov 2010 07:03:25 GMT
211
+ - Sat, 08 Jan 2011 08:04:09 GMT
211
212
  server:
212
- - nginx/0.7.65
213
+ - nginx/0.8.53
213
214
  content-length:
214
215
  - "524"
215
216
  set-cookie:
216
- - _recurly_session=71a8b223e68f36e969cac556ee21eec5; domain=.recurly.com; path=/; secure; HttpOnly
217
+ - _recurly_session=f24ab4a9b33bb3049e009e363eb85d1b; domain=.recurly.com; path=/; secure; HttpOnly
217
218
  cache-control:
218
219
  - no-cache
219
220
  body: |
220
221
  <?xml version="1.0" encoding="UTF-8"?>
221
222
  <charge type="charge">
222
- <id>7583de1868e94a31870cf858ff81222a</id>
223
+ <id>9ad2a1185dbf498c8281ea78ce91a318</id>
223
224
  <account_code>charge-list-pending-1287465632</account_code>
224
225
  <amount_in_cents type="integer">1000</amount_in_cents>
225
- <start_date type="datetime">2010-11-16T07:03:25Z</start_date>
226
+ <start_date type="datetime">2011-01-08T08:04:09Z</start_date>
226
227
  <end_date nil="true" type="datetime"></end_date>
227
228
  <invoice_number nil="true" type="integer"></invoice_number>
228
229
  <description>charge description</description>
229
- <created_at type="datetime">2010-11-16T07:03:25Z</created_at>
230
+ <created_at type="datetime">2011-01-08T08:04:09Z</created_at>
230
231
  </charge>
231
232
 
232
233
  http_version: "1.1"
@@ -250,55 +251,55 @@
250
251
  x-ua-compatible:
251
252
  - IE=Edge
252
253
  etag:
253
- - "\"97c0b7cc7ea3f2122c972820758e9e28\""
254
+ - "\"0059ffacf3c41bf32c2d9b415910870a\""
254
255
  connection:
255
256
  - close
256
257
  content-type:
257
258
  - application/xml; charset=utf-8
258
259
  x-runtime:
259
- - "14"
260
+ - "17"
260
261
  date:
261
- - Tue, 16 Nov 2010 07:03:24 GMT
262
+ - Sat, 08 Jan 2011 08:04:10 GMT
262
263
  server:
263
- - nginx/0.7.65
264
+ - nginx/0.8.53
264
265
  content-length:
265
266
  - "1588"
266
267
  set-cookie:
267
- - _recurly_session=2ea0ce4613b34569f4c525ee94653a06; domain=.recurly.com; path=/; secure; HttpOnly
268
+ - _recurly_session=38759d3a419f67b26cd8229353ebe9a9; domain=.recurly.com; path=/; secure; HttpOnly
268
269
  cache-control:
269
270
  - private, max-age=0, must-revalidate
270
271
  body: |
271
272
  <?xml version="1.0" encoding="UTF-8"?>
272
273
  <charges type="array">
273
274
  <charge type="charge">
274
- <id>7583de1868e94a31870cf858ff81222a</id>
275
+ <id>9ad2a1185dbf498c8281ea78ce91a318</id>
275
276
  <account_code>charge-list-pending-1287465632</account_code>
276
277
  <amount_in_cents type="integer">1000</amount_in_cents>
277
- <start_date type="datetime">2010-11-16T07:03:25Z</start_date>
278
+ <start_date type="datetime">2011-01-08T08:04:09Z</start_date>
278
279
  <end_date nil="true" type="datetime"></end_date>
279
280
  <invoice_number nil="true" type="integer"></invoice_number>
280
281
  <description>charge description</description>
281
- <created_at type="datetime">2010-11-16T07:03:25Z</created_at>
282
+ <created_at type="datetime">2011-01-08T08:04:09Z</created_at>
282
283
  </charge>
283
284
  <charge type="charge">
284
- <id>9ae89e16e55541cfb905b0756a117ccf</id>
285
+ <id>d3948fb472d54b52be76cdaf10b7b92d</id>
285
286
  <account_code>charge-list-pending-1287465632</account_code>
286
287
  <amount_in_cents type="integer">1000</amount_in_cents>
287
- <start_date type="datetime">2010-11-16T07:03:23Z</start_date>
288
+ <start_date type="datetime">2011-01-08T08:04:08Z</start_date>
288
289
  <end_date nil="true" type="datetime"></end_date>
289
290
  <invoice_number nil="true" type="integer"></invoice_number>
290
291
  <description>charge description</description>
291
- <created_at type="datetime">2010-11-16T07:03:23Z</created_at>
292
+ <created_at type="datetime">2011-01-08T08:04:08Z</created_at>
292
293
  </charge>
293
294
  <charge type="charge">
294
- <id>db9face9f8444351a4e1b6e3776fe04c</id>
295
+ <id>ca817b38fc4e48379b144ea519cd440a</id>
295
296
  <account_code>charge-list-pending-1287465632</account_code>
296
297
  <amount_in_cents type="integer">1000</amount_in_cents>
297
- <start_date type="datetime">2010-11-16T07:03:24Z</start_date>
298
+ <start_date type="datetime">2011-01-08T08:04:07Z</start_date>
298
299
  <end_date nil="true" type="datetime"></end_date>
299
300
  <invoice_number nil="true" type="integer"></invoice_number>
300
301
  <description>charge description</description>
301
- <created_at type="datetime">2010-11-16T07:03:24Z</created_at>
302
+ <created_at type="datetime">2011-01-08T08:04:07Z</created_at>
302
303
  </charge>
303
304
  </charges>
304
305
 
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>charge-lookup-1287465632</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "271"
38
+ - "350"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:32 GMT
40
+ - Sat, 08 Jan 2011 08:04:23 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "581"
44
45
  set-cookie:
45
- - account_credentials=e3c8f79d4c87bde3458fdcb0eb94c147820d69e6fbe9a260c495f1c4420740828f4b422b47a1a2bbc4fbf05106e910f78588a5b27205633f874ae21286955d58%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=de8a8a32f61588e3cf6d432ba4f6ea12b12d4a9b3ffa8af1801717ecbc328d2d5738dc8ede77154bb0714057bb6fb80c5f71a445ff9494a8a6efda2a3ff21927%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=a34cd7bcf3b2bbad8309ab05b7ba8308; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=1922adfc2877d0096429569899ef5dfc; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>b8db416f90c9493cad98e17c5ab309ff</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:32Z</created_at>
63
+ <hosted_login_token>5e507fefee3144feacebbaa5061b46da</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:04:23Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -97,33 +98,33 @@
97
98
  x-runtime:
98
99
  - "46"
99
100
  date:
100
- - Tue, 16 Nov 2010 07:03:35 GMT
101
+ - Sat, 08 Jan 2011 08:04:24 GMT
101
102
  server:
102
- - nginx/0.7.65
103
+ - nginx/0.8.53
103
104
  content-length:
104
105
  - "517"
105
106
  set-cookie:
106
- - _recurly_session=4c6b6e5d86d8080ff2238b9c00d6d2ae; domain=.recurly.com; path=/; secure; HttpOnly
107
+ - _recurly_session=1e793e2edc81eb944dedf0ff7c39595a; domain=.recurly.com; path=/; secure; HttpOnly
107
108
  cache-control:
108
109
  - no-cache
109
110
  body: |
110
111
  <?xml version="1.0" encoding="UTF-8"?>
111
112
  <charge type="charge">
112
- <id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
113
+ <id>b81ec64111f04d9aa8cfbd2b55d8e95d</id>
113
114
  <account_code>charge-lookup-1287465632</account_code>
114
115
  <amount_in_cents type="integer">1315</amount_in_cents>
115
- <start_date type="datetime">2010-11-16T07:03:35Z</start_date>
116
+ <start_date type="datetime">2011-01-08T08:04:24Z</start_date>
116
117
  <end_date nil="true" type="datetime"></end_date>
117
118
  <invoice_number nil="true" type="integer"></invoice_number>
118
119
  <description>inconvenience fee</description>
119
- <created_at type="datetime">2010-11-16T07:03:35Z</created_at>
120
+ <created_at type="datetime">2011-01-08T08:04:24Z</created_at>
120
121
  </charge>
121
122
 
122
123
  http_version: "1.1"
123
124
  - !ruby/struct:VCR::HTTPInteraction
124
125
  request: !ruby/struct:VCR::Request
125
126
  method: :get
126
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/1fac7de40f2f48bcb44de2c4c518ee0b.xml
127
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/b81ec64111f04d9aa8cfbd2b55d8e95d.xml
127
128
  body:
128
129
  headers:
129
130
  accept:
@@ -140,7 +141,7 @@
140
141
  x-ua-compatible:
141
142
  - IE=Edge
142
143
  etag:
143
- - "\"ee0b957ba90a1da1b57abfbdf2001140\""
144
+ - "\"e038e741a2825851aab255220b0dad0e\""
144
145
  connection:
145
146
  - close
146
147
  content-type:
@@ -148,26 +149,26 @@
148
149
  x-runtime:
149
150
  - "14"
150
151
  date:
151
- - Tue, 16 Nov 2010 07:03:34 GMT
152
+ - Sat, 08 Jan 2011 08:04:25 GMT
152
153
  server:
153
- - nginx/0.7.65
154
+ - nginx/0.8.53
154
155
  content-length:
155
156
  - "517"
156
157
  set-cookie:
157
- - _recurly_session=24010a63b58d5eb1e0a28b126345ef80; domain=.recurly.com; path=/; secure; HttpOnly
158
+ - _recurly_session=70a60faa0879ab6d7da4a46e85362581; domain=.recurly.com; path=/; secure; HttpOnly
158
159
  cache-control:
159
160
  - private, max-age=0, must-revalidate
160
161
  body: |
161
162
  <?xml version="1.0" encoding="UTF-8"?>
162
163
  <charge type="charge">
163
- <id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
164
+ <id>b81ec64111f04d9aa8cfbd2b55d8e95d</id>
164
165
  <account_code>charge-lookup-1287465632</account_code>
165
166
  <amount_in_cents type="integer">1315</amount_in_cents>
166
- <start_date type="datetime">2010-11-16T07:03:35Z</start_date>
167
+ <start_date type="datetime">2011-01-08T08:04:24Z</start_date>
167
168
  <end_date nil="true" type="datetime"></end_date>
168
169
  <invoice_number nil="true" type="integer"></invoice_number>
169
170
  <description>inconvenience fee</description>
170
- <created_at type="datetime">2010-11-16T07:03:35Z</created_at>
171
+ <created_at type="datetime">2011-01-08T08:04:24Z</created_at>
171
172
  </charge>
172
173
 
173
174
  http_version: "1.1"
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>credit-create-1287461400</account-code>
11
11
  <last-name>Test</last-name>
12
+ <accept-language type="yaml" nil="true"></accept-language>
12
13
  <email>verena@test.com</email>
13
14
  <first-name>Verena</first-name>
14
15
  </account>
@@ -34,17 +35,17 @@
34
35
  content-type:
35
36
  - application/xml; charset=utf-8
36
37
  x-runtime:
37
- - "273"
38
+ - "343"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:40 GMT
40
+ - Sat, 08 Jan 2011 08:04:32 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "581"
44
45
  set-cookie:
45
- - account_credentials=7822bed51c38d79a813fdbaf88ac6790d1e1915b5a7a9c389b032c663bb29694117173667b2b22d79121d9b2ab1c5430a21a90c56019f47a6e8566bd534be279%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=ea696926d8ee6e325d2eeeeae634ff4ce7ca7f4d103a4529662b6f900e617b8138cff7990c94e7e99a62928d3b97966f709a22c57c9580446ea3d630ea9f93e9%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=b8faa40ca59780d9a82cd26976b07355; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=e4e20a669c49412a54d1d1bb79bb2622; domain=.recurly.com; path=/; secure; HttpOnly
48
49
  cache-control:
49
50
  - no-cache
50
51
  body: |
@@ -59,8 +60,8 @@
59
60
  <company_name>Recurly Ruby Gem</company_name>
60
61
  <balance_in_cents type="integer">0</balance_in_cents>
61
62
  <closed type="boolean">false</closed>
62
- <hosted_login_token>813eda4625b145b48e56c363cafd89b0</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:40Z</created_at>
63
+ <hosted_login_token>9dd2551a648746769cc504aaa73d6451</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:04:32Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -95,35 +96,35 @@
95
96
  content-type:
96
97
  - application/xml; charset=utf-8
97
98
  x-runtime:
98
- - "110"
99
+ - "43"
99
100
  date:
100
- - Tue, 16 Nov 2010 07:03:39 GMT
101
+ - Sat, 08 Jan 2011 08:04:32 GMT
101
102
  server:
102
- - nginx/0.7.65
103
+ - nginx/0.8.53
103
104
  content-length:
104
105
  - "512"
105
106
  set-cookie:
106
- - _recurly_session=3991f1be36c22846b8fd73740673d41d; domain=.recurly.com; path=/; secure; HttpOnly
107
+ - _recurly_session=a84425a87e48040e1db0902a2f7bf473; domain=.recurly.com; path=/; secure; HttpOnly
107
108
  cache-control:
108
109
  - no-cache
109
110
  body: |
110
111
  <?xml version="1.0" encoding="UTF-8"?>
111
112
  <credit type="credit">
112
- <id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
113
+ <id>fcd6c6c5f83942f2913516f189921646</id>
113
114
  <account_code>credit-create-1287461400</account_code>
114
115
  <amount_in_cents type="integer">-1005</amount_in_cents>
115
- <start_date type="datetime">2010-11-16T07:03:39Z</start_date>
116
+ <start_date type="datetime">2011-01-08T08:04:32Z</start_date>
116
117
  <end_date nil="true" type="datetime"></end_date>
117
118
  <invoice_number nil="true" type="integer"></invoice_number>
118
119
  <description>free moniez</description>
119
- <created_at type="datetime">2010-11-16T07:03:39Z</created_at>
120
+ <created_at type="datetime">2011-01-08T08:04:32Z</created_at>
120
121
  </credit>
121
122
 
122
123
  http_version: "1.1"
123
124
  - !ruby/struct:VCR::HTTPInteraction
124
125
  request: !ruby/struct:VCR::Request
125
126
  method: :get
126
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/8c0f22c463f642b28aa8ddcd7dc22e91.xml
127
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/fcd6c6c5f83942f2913516f189921646.xml
127
128
  body:
128
129
  headers:
129
130
  accept:
@@ -140,7 +141,7 @@
140
141
  x-ua-compatible:
141
142
  - IE=Edge
142
143
  etag:
143
- - "\"66ca506e7677221fa12e8e14396c4942\""
144
+ - "\"47422ddeededd9e8671c5be4b79e7dd2\""
144
145
  connection:
145
146
  - close
146
147
  content-type:
@@ -148,26 +149,26 @@
148
149
  x-runtime:
149
150
  - "14"
150
151
  date:
151
- - Tue, 16 Nov 2010 07:03:41 GMT
152
+ - Sat, 08 Jan 2011 08:04:33 GMT
152
153
  server:
153
- - nginx/0.7.65
154
+ - nginx/0.8.53
154
155
  content-length:
155
156
  - "512"
156
157
  set-cookie:
157
- - _recurly_session=0d39a2a4a1b15408fc7dcbc4317fe1d0; domain=.recurly.com; path=/; secure; HttpOnly
158
+ - _recurly_session=2109823b8d05af7a47d766b914e7eb9e; domain=.recurly.com; path=/; secure; HttpOnly
158
159
  cache-control:
159
160
  - private, max-age=0, must-revalidate
160
161
  body: |
161
162
  <?xml version="1.0" encoding="UTF-8"?>
162
163
  <credit type="credit">
163
- <id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
164
+ <id>fcd6c6c5f83942f2913516f189921646</id>
164
165
  <account_code>credit-create-1287461400</account_code>
165
166
  <amount_in_cents type="integer">-1005</amount_in_cents>
166
- <start_date type="datetime">2010-11-16T07:03:39Z</start_date>
167
+ <start_date type="datetime">2011-01-08T08:04:32Z</start_date>
167
168
  <end_date nil="true" type="datetime"></end_date>
168
169
  <invoice_number nil="true" type="integer"></invoice_number>
169
170
  <description>free moniez</description>
170
- <created_at type="datetime">2010-11-16T07:03:39Z</created_at>
171
+ <created_at type="datetime">2011-01-08T08:04:32Z</created_at>
171
172
  </credit>
172
173
 
173
174
  http_version: "1.1"