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>billing-find-1286682213</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
- - "312"
38
+ - "430"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:14 GMT
40
+ - Sat, 08 Jan 2011 08:03:54 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "579"
44
45
  set-cookie:
45
- - account_credentials=01916fc520397f4946a53c64c818ef521d43f6e1757e0b5530e5a64d5442a4c791d7c48a6eecc76d586c10da679c13e7b55a63432770fc4f5529feb02182374f%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=879220fd680ed02b5a78de1a1337960f63005e156959cfdcbb1100f36da2896a2823ff3dece513e1655fb917e1397928873362f4924ff10b27b9fd921104b1d0%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=c1a58f966bb2433f05975e26f4560f5d; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=f27e8a14278e8573482e25cd54975493; 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>f990613ac77349879a211e1db0e2f7b2</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:14Z</created_at>
63
+ <hosted_login_token>dd2d58da31f04a7180f7349af7971208</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:54Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>billing-find-1286682213</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"6e73995f13c1cd2d16b04ff119a474f3\""
109
+ - "\"0c0788fb789cbabd71356165286e2f2e\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "53"
115
+ - "244"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:03:16 GMT
117
+ - Sat, 08 Jan 2011 08:03:55 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "637"
121
+ - "636"
121
122
  set-cookie:
122
- - _recurly_session=c4c8dace5930a213acb4a5eeb4a1cebd; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=69470e6ea8f54e1f562f884982c36f11; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:03:16Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:03:55Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -167,21 +168,21 @@
167
168
  x-ua-compatible:
168
169
  - IE=Edge
169
170
  etag:
170
- - "\"6e73995f13c1cd2d16b04ff119a474f3\""
171
+ - "\"0c0788fb789cbabd71356165286e2f2e\""
171
172
  connection:
172
173
  - close
173
174
  content-type:
174
175
  - application/xml; charset=utf-8
175
176
  x-runtime:
176
- - "12"
177
+ - "13"
177
178
  date:
178
- - Tue, 16 Nov 2010 07:03:15 GMT
179
+ - Sat, 08 Jan 2011 08:03:55 GMT
179
180
  server:
180
- - nginx/0.7.65
181
+ - nginx/0.8.53
181
182
  content-length:
182
- - "637"
183
+ - "636"
183
184
  set-cookie:
184
- - _recurly_session=1303515572b159ba01af03ddfa6968eb; domain=.recurly.com; path=/; secure; HttpOnly
185
+ - _recurly_session=7566fedb3d5ad34fbc38583f5b93d9d6; domain=.recurly.com; path=/; secure; HttpOnly
185
186
  cache-control:
186
187
  - private, max-age=0, must-revalidate
187
188
  body: |
@@ -202,10 +203,10 @@
202
203
  <credit_card>
203
204
  <type>bogus</type>
204
205
  <last_four>1</last_four>
205
- <month type="integer">11</month>
206
- <year type="integer">2011</year>
206
+ <month type="integer">1</month>
207
+ <year type="integer">2012</year>
207
208
  </credit_card>
208
- <updated_at type="datetime">2010-11-16T07:03:16Z</updated_at>
209
+ <updated_at type="datetime">2011-01-08T08:03:55Z</updated_at>
209
210
  </billing_info>
210
211
 
211
212
  http_version: "1.1"
@@ -229,21 +230,21 @@
229
230
  x-ua-compatible:
230
231
  - IE=Edge
231
232
  etag:
232
- - "\"6e73995f13c1cd2d16b04ff119a474f3\""
233
+ - "\"0c0788fb789cbabd71356165286e2f2e\""
233
234
  connection:
234
235
  - close
235
236
  content-type:
236
237
  - application/xml; charset=utf-8
237
238
  x-runtime:
238
- - "11"
239
+ - "12"
239
240
  date:
240
- - Tue, 16 Nov 2010 07:03:17 GMT
241
+ - Sat, 08 Jan 2011 08:03:56 GMT
241
242
  server:
242
- - nginx/0.7.65
243
+ - nginx/0.8.53
243
244
  content-length:
244
- - "637"
245
+ - "636"
245
246
  set-cookie:
246
- - _recurly_session=3d7705b269ebb049d010456b0f8bd51f; domain=.recurly.com; path=/; secure; HttpOnly
247
+ - _recurly_session=8d857390071797aaa8a090cbd1f17e49; domain=.recurly.com; path=/; secure; HttpOnly
247
248
  cache-control:
248
249
  - private, max-age=0, must-revalidate
249
250
  body: |
@@ -264,10 +265,10 @@
264
265
  <credit_card>
265
266
  <type>bogus</type>
266
267
  <last_four>1</last_four>
267
- <month type="integer">11</month>
268
- <year type="integer">2011</year>
268
+ <month type="integer">1</month>
269
+ <year type="integer">2012</year>
269
270
  </credit_card>
270
- <updated_at type="datetime">2010-11-16T07:03:16Z</updated_at>
271
+ <updated_at type="datetime">2011-01-08T08:03:55Z</updated_at>
271
272
  </billing_info>
272
273
 
273
274
  http_version: "1.1"
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>billing-update-1286682213</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
+ - "346"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:11 GMT
40
+ - Sat, 08 Jan 2011 08:03:50 GMT
40
41
  server:
41
- - nginx/0.7.65
42
+ - nginx/0.8.53
42
43
  content-length:
43
44
  - "583"
44
45
  set-cookie:
45
- - account_credentials=199a4eaa317579c43a5fa514028390fa5d60afee35a293381957decd7a323846e2a8451c9399fe2113c86fa30d59e5fd9a008b279a219d441f8baa07456b427c%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=2dff6be7a330aecc7e81aed3952ead086f473ec728d555fa47aa41920edda5941568fa89af0146e1e9ee2fcdb132bb7bf813a0c96d9e78481389b2140712cae0%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=82eb7e35da563fd08717606762da34bd; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=a6f4cf5282876c5de1c99e60d2725683; 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>4e27dc2c31d748389eebf572eccaa7bb</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:11Z</created_at>
63
+ <hosted_login_token>a12d3edb04424c20ab7218bbe36fb6f7</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:03:50Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>billing-update-1286682213</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"8b103c13beff67d4359dd104d384903e\""
109
+ - "\"66a340947066ff6e2eea1c6ca9133266\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "54"
115
+ - "197"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:03:14 GMT
117
+ - Sat, 08 Jan 2011 08:03:51 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "639"
121
+ - "638"
121
122
  set-cookie:
122
- - _recurly_session=3d99c0b57af1b63c1e39c5307460ac66; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=79f587eb054b4567869b2e4911a83a1c; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:03:14Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:03:51Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -154,14 +155,14 @@
154
155
  body: |
155
156
  <?xml version="1.0" encoding="UTF-8"?>
156
157
  <billing-info>
157
- <city>San Francisco</city>
158
158
  <address1>1st Ave South, Apt 5001</address1>
159
+ <city>San Francisco</city>
159
160
  <zip>94115</zip>
160
161
  <country>US</country>
161
162
  <credit-card>
162
163
  <number>1</number>
163
- <month type="integer">11</month>
164
- <year type="integer">2011</year>
164
+ <month type="integer">1</month>
165
+ <year type="integer">2012</year>
165
166
  <verification-value>123</verification-value>
166
167
  </credit-card>
167
168
  <last-name>Test</last-name>
@@ -186,21 +187,21 @@
186
187
  x-ua-compatible:
187
188
  - IE=Edge
188
189
  etag:
189
- - "\"466faf079016590a5d3720d468c913a8\""
190
+ - "\"5b5a4683dc023ce4013f6f577c717692\""
190
191
  connection:
191
192
  - close
192
193
  content-type:
193
194
  - application/xml; charset=utf-8
194
195
  x-runtime:
195
- - "60"
196
+ - "275"
196
197
  date:
197
- - Tue, 16 Nov 2010 07:03:12 GMT
198
+ - Sat, 08 Jan 2011 08:03:52 GMT
198
199
  server:
199
- - nginx/0.7.65
200
+ - nginx/0.8.53
200
201
  content-length:
201
- - "651"
202
+ - "650"
202
203
  set-cookie:
203
- - _recurly_session=84aba406b9ac7f7d8e4e4d29c9e149d8; domain=.recurly.com; path=/; secure; HttpOnly
204
+ - _recurly_session=6406a405ad0bfae8395b659ca90f0cf3; domain=.recurly.com; path=/; secure; HttpOnly
204
205
  cache-control:
205
206
  - private, max-age=0, must-revalidate
206
207
  body: |
@@ -221,10 +222,10 @@
221
222
  <credit_card>
222
223
  <type>bogus</type>
223
224
  <last_four>1</last_four>
224
- <month type="integer">11</month>
225
- <year type="integer">2011</year>
225
+ <month type="integer">1</month>
226
+ <year type="integer">2012</year>
226
227
  </credit_card>
227
- <updated_at type="datetime">2010-11-16T07:03:12Z</updated_at>
228
+ <updated_at type="datetime">2011-01-08T08:03:52Z</updated_at>
228
229
  </billing_info>
229
230
 
230
231
  http_version: "1.1"
@@ -248,7 +249,7 @@
248
249
  x-ua-compatible:
249
250
  - IE=Edge
250
251
  etag:
251
- - "\"466faf079016590a5d3720d468c913a8\""
252
+ - "\"5b5a4683dc023ce4013f6f577c717692\""
252
253
  connection:
253
254
  - close
254
255
  content-type:
@@ -256,13 +257,13 @@
256
257
  x-runtime:
257
258
  - "12"
258
259
  date:
259
- - Tue, 16 Nov 2010 07:03:15 GMT
260
+ - Sat, 08 Jan 2011 08:03:52 GMT
260
261
  server:
261
- - nginx/0.7.65
262
+ - nginx/0.8.53
262
263
  content-length:
263
- - "651"
264
+ - "650"
264
265
  set-cookie:
265
- - _recurly_session=eddefb2312256af0acb8f4e01b022150; domain=.recurly.com; path=/; secure; HttpOnly
266
+ - _recurly_session=fe8ee05b8f569f153cc94e8f9ecbd605; domain=.recurly.com; path=/; secure; HttpOnly
266
267
  cache-control:
267
268
  - private, max-age=0, must-revalidate
268
269
  body: |
@@ -283,10 +284,10 @@
283
284
  <credit_card>
284
285
  <type>bogus</type>
285
286
  <last_four>1</last_four>
286
- <month type="integer">11</month>
287
- <year type="integer">2011</year>
287
+ <month type="integer">1</month>
288
+ <year type="integer">2012</year>
288
289
  </credit_card>
289
- <updated_at type="datetime">2010-11-16T07:03:12Z</updated_at>
290
+ <updated_at type="datetime">2011-01-08T08:03:52Z</updated_at>
290
291
  </billing_info>
291
292
 
292
293
  http_version: "1.1"
@@ -9,6 +9,7 @@
9
9
  <company-name>Recurly Ruby Gem</company-name>
10
10
  <account-code>charge-create-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
+ - "425"
38
39
  date:
39
- - Tue, 16 Nov 2010 07:03:30 GMT
40
+ - Sat, 08 Jan 2011 08:04:19 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=8ea88cfbef71f219fe71384bb28cb9187a33bcd5791dd62ca2bd5fca689dde40c6a909e0312deb1e9e0b6157066182ddfcbd41d1813a5cc7036e0e7e7cde6941%3A%3A; domain=.recurly.com; path=/
46
+ - account_credentials=22c9ccf5bc756446738c05c0903988882644a84d2d2a8142dbb9c0d6a11bf02fbd28013ac1c3fff0c8bdedee5522854e262829e4e3e854673529ddc8e9ec1f4d%3A%3A; domain=.recurly.com; path=/
46
47
  - ""
47
- - _recurly_session=02c4e20c1bd56f6427bf6b563e500837; domain=.recurly.com; path=/; secure; HttpOnly
48
+ - _recurly_session=912567638b9c0c6fd76e839a3e7f6e67; 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>c23d72f96a024903b3a72c035ca73d67</hosted_login_token>
63
- <created_at type="datetime">2010-11-16T07:03:30Z</created_at>
63
+ <hosted_login_token>2b7dddf450cf408b8660f3bcbdefddfc</hosted_login_token>
64
+ <created_at type="datetime">2011-01-08T08:04:19Z</created_at>
64
65
  <state>active</state>
65
66
  </account>
66
67
 
@@ -72,15 +73,15 @@
72
73
  body: |
73
74
  <?xml version="1.0" encoding="UTF-8"?>
74
75
  <billing-info>
75
- <city>San Francisco</city>
76
76
  <address1>123 Test St</address1>
77
+ <city>San Francisco</city>
77
78
  <zip>94115</zip>
78
79
  <account-code>charge-create-1287465632</account-code>
79
80
  <country>US</country>
80
81
  <credit-card>
81
82
  <number>1</number>
82
- <month type="integer">11</month>
83
- <year type="integer">2011</year>
83
+ <month type="integer">1</month>
84
+ <year type="integer">2012</year>
84
85
  <verification-value>123</verification-value>
85
86
  </credit-card>
86
87
  <last-name>Test</last-name>
@@ -105,21 +106,21 @@
105
106
  x-ua-compatible:
106
107
  - IE=Edge
107
108
  etag:
108
- - "\"5943d7a3742086e3cc35b9753662b6bc\""
109
+ - "\"d9ba53e96a2688069eb9d6babd942fa4\""
109
110
  connection:
110
111
  - close
111
112
  content-type:
112
113
  - application/xml; charset=utf-8
113
114
  x-runtime:
114
- - "54"
115
+ - "202"
115
116
  date:
116
- - Tue, 16 Nov 2010 07:03:32 GMT
117
+ - Sat, 08 Jan 2011 08:04:20 GMT
117
118
  server:
118
- - nginx/0.7.65
119
+ - nginx/0.8.53
119
120
  content-length:
120
- - "638"
121
+ - "637"
121
122
  set-cookie:
122
- - _recurly_session=9119ba75ba8802f6bd7f0ea991eb0605; domain=.recurly.com; path=/; secure; HttpOnly
123
+ - _recurly_session=150239789158fc371a4cba991528caa0; domain=.recurly.com; path=/; secure; HttpOnly
123
124
  cache-control:
124
125
  - private, max-age=0, must-revalidate
125
126
  body: |
@@ -140,10 +141,10 @@
140
141
  <credit_card>
141
142
  <type>bogus</type>
142
143
  <last_four>1</last_four>
143
- <month type="integer">11</month>
144
- <year type="integer">2011</year>
144
+ <month type="integer">1</month>
145
+ <year type="integer">2012</year>
145
146
  </credit_card>
146
- <updated_at type="datetime">2010-11-16T07:03:32Z</updated_at>
147
+ <updated_at type="datetime">2011-01-08T08:04:20Z</updated_at>
147
148
  </billing_info>
148
149
 
149
150
  http_version: "1.1"
@@ -177,35 +178,35 @@
177
178
  content-type:
178
179
  - application/xml; charset=utf-8
179
180
  x-runtime:
180
- - "43"
181
+ - "45"
181
182
  date:
182
- - Tue, 16 Nov 2010 07:03:31 GMT
183
+ - Sat, 08 Jan 2011 08:04:21 GMT
183
184
  server:
184
- - nginx/0.7.65
185
+ - nginx/0.8.53
185
186
  content-length:
186
187
  - "524"
187
188
  set-cookie:
188
- - _recurly_session=99b4d5eaa901b7a66b58a8e1d497db17; domain=.recurly.com; path=/; secure; HttpOnly
189
+ - _recurly_session=ee55a02b9ccafbe2b836df43c13091e0; domain=.recurly.com; path=/; secure; HttpOnly
189
190
  cache-control:
190
191
  - no-cache
191
192
  body: |
192
193
  <?xml version="1.0" encoding="UTF-8"?>
193
194
  <charge type="charge">
194
- <id>e3b0a3274f4346158b1c487e9ee0b90d</id>
195
+ <id>67f24fa1203d409e91e23efa42467cf8</id>
195
196
  <account_code>charge-create-1287465632</account_code>
196
197
  <amount_in_cents type="integer">250</amount_in_cents>
197
- <start_date type="datetime">2010-11-16T07:03:31Z</start_date>
198
+ <start_date type="datetime">2011-01-08T08:04:21Z</start_date>
198
199
  <end_date nil="true" type="datetime"></end_date>
199
200
  <invoice_number nil="true" type="integer"></invoice_number>
200
201
  <description>virtual cow maintence fee</description>
201
- <created_at type="datetime">2010-11-16T07:03:31Z</created_at>
202
+ <created_at type="datetime">2011-01-08T08:04:21Z</created_at>
202
203
  </charge>
203
204
 
204
205
  http_version: "1.1"
205
206
  - !ruby/struct:VCR::HTTPInteraction
206
207
  request: !ruby/struct:VCR::Request
207
208
  method: :get
208
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-create-1287465632/charges/e3b0a3274f4346158b1c487e9ee0b90d.xml
209
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-create-1287465632/charges/67f24fa1203d409e91e23efa42467cf8.xml
209
210
  body:
210
211
  headers:
211
212
  accept:
@@ -222,34 +223,34 @@
222
223
  x-ua-compatible:
223
224
  - IE=Edge
224
225
  etag:
225
- - "\"47d22e6e50540ec883c4f2aec1e918a7\""
226
+ - "\"c8de67fbfa0dfc3bc338e6cd94b75a3c\""
226
227
  connection:
227
228
  - close
228
229
  content-type:
229
230
  - application/xml; charset=utf-8
230
231
  x-runtime:
231
- - "14"
232
+ - "15"
232
233
  date:
233
- - Tue, 16 Nov 2010 07:03:33 GMT
234
+ - Sat, 08 Jan 2011 08:04:22 GMT
234
235
  server:
235
- - nginx/0.7.65
236
+ - nginx/0.8.53
236
237
  content-length:
237
238
  - "524"
238
239
  set-cookie:
239
- - _recurly_session=d1647210b26092fb26b83cef99e3e672; domain=.recurly.com; path=/; secure; HttpOnly
240
+ - _recurly_session=edef4755b14e73ff9fbfd2a23609c049; domain=.recurly.com; path=/; secure; HttpOnly
240
241
  cache-control:
241
242
  - private, max-age=0, must-revalidate
242
243
  body: |
243
244
  <?xml version="1.0" encoding="UTF-8"?>
244
245
  <charge type="charge">
245
- <id>e3b0a3274f4346158b1c487e9ee0b90d</id>
246
+ <id>67f24fa1203d409e91e23efa42467cf8</id>
246
247
  <account_code>charge-create-1287465632</account_code>
247
248
  <amount_in_cents type="integer">250</amount_in_cents>
248
- <start_date type="datetime">2010-11-16T07:03:31Z</start_date>
249
+ <start_date type="datetime">2011-01-08T08:04:21Z</start_date>
249
250
  <end_date nil="true" type="datetime"></end_date>
250
251
  <invoice_number nil="true" type="integer"></invoice_number>
251
252
  <description>virtual cow maintence fee</description>
252
- <created_at type="datetime">2010-11-16T07:03:31Z</created_at>
253
+ <created_at type="datetime">2011-01-08T08:04:21Z</created_at>
253
254
  </charge>
254
255
 
255
256
  http_version: "1.1"