recurly 0.4.2 → 0.4.3

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 (71) hide show
  1. data/lib/recurly.rb +1 -0
  2. data/lib/recurly/base.rb +92 -12
  3. data/lib/recurly/formats/xml_with_errors.rb +132 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/config/recurly.yml +4 -4
  6. data/spec/integration/transaction_spec.rb +4 -3
  7. data/spec/vcr/account/accept-language-account/1297746103.yml +6 -6
  8. data/spec/vcr/account/close/1297746103.yml +17 -17
  9. data/spec/vcr/account/create-blank/1297746103.yml +4 -4
  10. data/spec/vcr/account/create-duplicate/1297746103.yml +10 -10
  11. data/spec/vcr/account/create-min/1297746103.yml +6 -6
  12. data/spec/vcr/account/create/1297746103.yml +6 -6
  13. data/spec/vcr/account/find/1297746103.yml +16 -16
  14. data/spec/vcr/account/list/1297746103.yml +204 -156
  15. data/spec/vcr/account/update/1297746103.yml +29 -29
  16. data/spec/vcr/billing/create/1298594128.yml +21 -21
  17. data/spec/vcr/billing/destroy/1298594128.yml +28 -28
  18. data/spec/vcr/billing/find/1298594128.yml +28 -28
  19. data/spec/vcr/billing/update/1298594128.yml +29 -29
  20. data/spec/vcr/charge/create/1297746103.yml +29 -29
  21. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +32 -32
  22. data/spec/vcr/charge/list-all/1297746103.yml +41 -41
  23. data/spec/vcr/charge/list-invoiced/1297746103.yml +68 -68
  24. data/spec/vcr/charge/list-pending/1297746103.yml +41 -41
  25. data/spec/vcr/charge/lookup/1297746103.yml +21 -21
  26. data/spec/vcr/coupon/create/1299714521.yml +25 -25
  27. data/spec/vcr/coupon/destroy/1299714521.yml +22 -22
  28. data/spec/vcr/credit/create/1299714599.yml +21 -21
  29. data/spec/vcr/credit/delete/1299714599.yml +28 -28
  30. data/spec/vcr/credit/list/1299714599.yml +41 -41
  31. data/spec/vcr/credit/lookup/1299714599.yml +21 -21
  32. data/spec/vcr/invoice/create-no-charges/1297746103.yml +18 -18
  33. data/spec/vcr/invoice/create/1297746103.yml +42 -42
  34. data/spec/vcr/invoice/list/1297746103.yml +61 -61
  35. data/spec/vcr/invoice/lookup/1297746103.yml +43 -43
  36. data/spec/vcr/plan/all.yml +65 -52
  37. data/spec/vcr/plan/find.yml +58 -34
  38. data/spec/vcr/plan/update.yml +28 -29
  39. data/spec/vcr/subscription/addons/add/1297746103.yml +293 -335
  40. data/spec/vcr/subscription/addons/add/1301884213.yml +480 -0
  41. data/spec/vcr/subscription/addons/create/1297746103.yml +134 -335
  42. data/spec/vcr/subscription/addons/create/1301884213.yml +321 -0
  43. data/spec/vcr/subscription/addons/remove/1297746103.yml +262 -335
  44. data/spec/vcr/subscription/addons/remove/1301884213.yml +449 -0
  45. data/spec/vcr/subscription/cancel-with-code/{1297746103.yml → 1301881900.yml} +104 -92
  46. data/spec/vcr/subscription/cancel/{1297746103.yml → 1301881900.yml} +90 -78
  47. data/spec/vcr/subscription/change1/{1297746103.yml → 1301881900.yml} +86 -74
  48. data/spec/vcr/subscription/change2/{1297746103.yml → 1301881900.yml} +86 -74
  49. data/spec/vcr/subscription/create/{1297746103.yml → 1301881900.yml} +50 -38
  50. data/spec/vcr/subscription/find/{1297746103.yml → 1301881900.yml} +62 -50
  51. data/spec/vcr/subscription/reactivate/{1297746103.yml → 1301881900.yml} +95 -83
  52. data/spec/vcr/subscription/refund-full/{1297746103.yml → 1301881900.yml} +79 -67
  53. data/spec/vcr/subscription/refund-none/{1297746103.yml → 1301881900.yml} +79 -67
  54. data/spec/vcr/subscription/refund-partial/{1297746103.yml → 1301881900.yml} +79 -67
  55. data/spec/vcr/transaction/all/1301883347.yml +387 -0
  56. data/spec/vcr/transaction/create-no-account/{1300473500.yml → 1301883347.yml} +18 -18
  57. data/spec/vcr/transaction/create-with-account/{1300473500.yml → 1301883347.yml} +37 -37
  58. data/spec/vcr/transaction/list-filled/{1300473500.yml → 1301883347.yml} +169 -169
  59. data/spec/vcr/transaction/list-initial/{1300473500.yml → 1301883347.yml} +39 -39
  60. data/spec/vcr/transaction/lookup/{1300473500.yml → 1301883347.yml} +119 -119
  61. data/spec/vcr/transaction/refund/{1300473500.yml → 1301883347.yml} +53 -53
  62. data/spec/vcr/transaction/void/1301883347.yml +365 -0
  63. data/spec/vcr/transparent/post-url/{1300476053.yml → 1301879142.yml} +19 -19
  64. metadata +66 -58
  65. data/spec/vcr/transaction/all/1300473500.yml +0 -387
  66. data/spec/vcr/transaction/void/1300473500.yml +0 -620
  67. data/spec/vcr/transparent/post-url/1300475927.yml +0 -41
  68. data/spec/vcr/transparent/post-url/1300475952.yml +0 -41
  69. data/spec/vcr/transparent/post-url/1300476034.yml +0 -125
  70. data/spec/vcr/transparent/post-url/1300476102.yml +0 -125
  71. data/spec/vcr/transparent/post-url/1300476126.yml +0 -125
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
@@ -20,7 +20,7 @@
20
20
 
21
21
  headers:
22
22
  authorization:
23
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
23
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
24
24
  content-type:
25
25
  - application/xml
26
26
  accept:
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/account-update-1297746103
41
41
  x-runtime:
42
- - "603"
42
+ - "412"
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=a4cc522adb83881122938889ad5cb1a3; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=88cad29bb2a1a6ba5a61a52a6cb0935d; 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>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
66
- <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
65
+ <hosted_login_token>d0e2f08837f44160b15fac054e4ee702</hosted_login_token>
66
+ <created_at type="datetime">2011-04-04T02:17:31Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -71,11 +71,11 @@
71
71
  - !ruby/struct:VCR::HTTPInteraction
72
72
  request: !ruby/struct:VCR::Request
73
73
  method: :get
74
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/account-update-1297746103.xml
74
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/account-update-1297746103.xml
75
75
  body:
76
76
  headers:
77
77
  authorization:
78
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
78
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
79
79
  accept:
80
80
  - application/xml
81
81
  accept-encoding:
@@ -90,17 +90,17 @@
90
90
  message: OK
91
91
  headers:
92
92
  x-runtime:
93
- - "275"
93
+ - "311"
94
94
  content-type:
95
95
  - application/xml; charset=utf-8
96
96
  etag:
97
- - "\"14ffeaa21f6ad3c6a14a8772b1b8ce1a\""
97
+ - "\"927e535b3d07cc9bc9fa474de28cade2\""
98
98
  cache-control:
99
99
  - private, max-age=0, must-revalidate
100
100
  content-length:
101
101
  - "583"
102
102
  set-cookie:
103
- - _recurly_session=f06ea10efb01da0bf440999e98fe0092; domain=.recurly.local; path=/; HttpOnly
103
+ - _recurly_session=41040e11e0dc1acc33d3c5b38ed7e427; domain=.recurly.local; path=/; HttpOnly
104
104
  connection:
105
105
  - close
106
106
  server:
@@ -117,8 +117,8 @@
117
117
  <company_name>Recurly Ruby Gem</company_name>
118
118
  <balance_in_cents type="integer">0</balance_in_cents>
119
119
  <closed type="boolean">false</closed>
120
- <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
121
- <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
120
+ <hosted_login_token>d0e2f08837f44160b15fac054e4ee702</hosted_login_token>
121
+ <created_at type="datetime">2011-04-04T02:17:31Z</created_at>
122
122
  <state>active</state>
123
123
  </account>
124
124
 
@@ -126,7 +126,7 @@
126
126
  - !ruby/struct:VCR::HTTPInteraction
127
127
  request: !ruby/struct:VCR::Request
128
128
  method: :put
129
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/account-update-1297746103.xml
129
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/account-update-1297746103.xml
130
130
  body: |
131
131
  <?xml version="1.0" encoding="UTF-8"?>
132
132
  <account>
@@ -139,8 +139,8 @@
139
139
  <company-name>Recurly Ruby Gem -- Update</company-name>
140
140
  <balance-in-cents type="integer">0</balance-in-cents>
141
141
  <closed type="boolean">false</closed>
142
- <hosted-login-token>2b48421096ff4de680afe0eecd55238b</hosted-login-token>
143
- <created-at type="datetime">2011-03-18T18:47:13Z</created-at>
142
+ <hosted-login-token>d0e2f08837f44160b15fac054e4ee702</hosted-login-token>
143
+ <created-at type="datetime">2011-04-04T02:17:31Z</created-at>
144
144
  <state>active</state>
145
145
  <billing-info>
146
146
  <credit-card>
@@ -151,7 +151,7 @@
151
151
 
152
152
  headers:
153
153
  authorization:
154
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
154
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
155
155
  content-type:
156
156
  - application/xml
157
157
  accept:
@@ -166,17 +166,17 @@
166
166
  message: OK
167
167
  headers:
168
168
  x-runtime:
169
- - "541"
169
+ - "491"
170
170
  content-type:
171
171
  - application/xml; charset=utf-8
172
172
  etag:
173
- - "\"9837928739fb7d03bebe1bc9495ab5da\""
173
+ - "\"e4c3deedc262e68fcb0815e8e10a26b8\""
174
174
  cache-control:
175
175
  - private, max-age=0, must-revalidate
176
176
  content-length:
177
177
  - "600"
178
178
  set-cookie:
179
- - _recurly_session=0e90fa3c0d20a435c1e6cab08f2bed56; domain=.recurly.local; path=/; HttpOnly
179
+ - _recurly_session=4bb882a50ac3d07ecbb0a629726a8ef4; domain=.recurly.local; path=/; HttpOnly
180
180
  connection:
181
181
  - close
182
182
  server:
@@ -193,8 +193,8 @@
193
193
  <company_name>Recurly Ruby Gem -- Update</company_name>
194
194
  <balance_in_cents type="integer">0</balance_in_cents>
195
195
  <closed type="boolean">false</closed>
196
- <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
197
- <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
196
+ <hosted_login_token>d0e2f08837f44160b15fac054e4ee702</hosted_login_token>
197
+ <created_at type="datetime">2011-04-04T02:17:31Z</created_at>
198
198
  <state>active</state>
199
199
  </account>
200
200
 
@@ -202,11 +202,11 @@
202
202
  - !ruby/struct:VCR::HTTPInteraction
203
203
  request: !ruby/struct:VCR::Request
204
204
  method: :get
205
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/account-update-1297746103.xml
205
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/account-update-1297746103.xml
206
206
  body:
207
207
  headers:
208
208
  authorization:
209
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
209
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
210
210
  accept:
211
211
  - application/xml
212
212
  accept-encoding:
@@ -221,17 +221,17 @@
221
221
  message: OK
222
222
  headers:
223
223
  x-runtime:
224
- - "405"
224
+ - "340"
225
225
  content-type:
226
226
  - application/xml; charset=utf-8
227
227
  etag:
228
- - "\"9837928739fb7d03bebe1bc9495ab5da\""
228
+ - "\"e4c3deedc262e68fcb0815e8e10a26b8\""
229
229
  cache-control:
230
230
  - private, max-age=0, must-revalidate
231
231
  content-length:
232
232
  - "600"
233
233
  set-cookie:
234
- - _recurly_session=52a57d4c686fdc3397cc26a41d567a47; domain=.recurly.local; path=/; HttpOnly
234
+ - _recurly_session=ace38a9ec616f88bcb362cbf83e997fe; domain=.recurly.local; path=/; HttpOnly
235
235
  connection:
236
236
  - close
237
237
  server:
@@ -248,8 +248,8 @@
248
248
  <company_name>Recurly Ruby Gem -- Update</company_name>
249
249
  <balance_in_cents type="integer">0</balance_in_cents>
250
250
  <closed type="boolean">false</closed>
251
- <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
252
- <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
251
+ <hosted_login_token>d0e2f08837f44160b15fac054e4ee702</hosted_login_token>
252
+ <created_at type="datetime">2011-04-04T02:17:31Z</created_at>
253
253
  <state>active</state>
254
254
  </account>
255
255
 
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
@@ -20,7 +20,7 @@
20
20
 
21
21
  headers:
22
22
  authorization:
23
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
23
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
24
24
  content-type:
25
25
  - application/xml
26
26
  accept:
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/billing-create-1298594128
41
41
  x-runtime:
42
- - "320"
42
+ - "339"
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=83ff5ba338d68fd4d5ebe2232651900a; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=e89dc4f852a0438d9868268fe4d82c37; 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>4aa75711b3134c898f71e09f415e0fc2</hosted_login_token>
66
- <created_at type="datetime">2011-03-18T18:47:56Z</created_at>
65
+ <hosted_login_token>8835713e68bb4a7b93ea620c979579ef</hosted_login_token>
66
+ <created_at type="datetime">2011-04-04T02:18:57Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -71,7 +71,7 @@
71
71
  - !ruby/struct:VCR::HTTPInteraction
72
72
  request: !ruby/struct:VCR::Request
73
73
  method: :put
74
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-create-1298594128/billing_info.xml
74
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-create-1298594128/billing_info.xml
75
75
  body: |
76
76
  <?xml version="1.0" encoding="UTF-8"?>
77
77
  <billing-info>
@@ -85,14 +85,14 @@
85
85
  <credit-card>
86
86
  <number>4111111111111111</number>
87
87
  <year type="integer">2012</year>
88
- <month type="integer">3</month>
88
+ <month type="integer">4</month>
89
89
  <verification-value>123</verification-value>
90
90
  </credit-card>
91
91
  </billing-info>
92
92
 
93
93
  headers:
94
94
  authorization:
95
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
95
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
96
96
  content-type:
97
97
  - application/xml
98
98
  accept:
@@ -107,17 +107,17 @@
107
107
  message: OK
108
108
  headers:
109
109
  x-runtime:
110
- - "6442"
110
+ - "1823"
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  etag:
114
- - "\"4741e376e1151f7291753e684862129f\""
114
+ - "\"7c72f80b69d2fc06e2b992406e49978c\""
115
115
  cache-control:
116
116
  - private, max-age=0, must-revalidate
117
117
  content-length:
118
118
  - "640"
119
119
  set-cookie:
120
- - _recurly_session=d16422df17af10f186562d25e5c12364; domain=.recurly.local; path=/; HttpOnly
120
+ - _recurly_session=9c874db61eda69e1064cb61d1b91c519; domain=.recurly.local; path=/; HttpOnly
121
121
  connection:
122
122
  - close
123
123
  server:
@@ -140,21 +140,21 @@
140
140
  <credit_card>
141
141
  <type>visa</type>
142
142
  <last_four>1111</last_four>
143
- <month type="integer">3</month>
143
+ <month type="integer">4</month>
144
144
  <year type="integer">2012</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2011-03-18T18:48:04Z</updated_at>
146
+ <updated_at type="datetime">2011-04-04T02:19:01Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
150
150
  - !ruby/struct:VCR::HTTPInteraction
151
151
  request: !ruby/struct:VCR::Request
152
152
  method: :get
153
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-create-1298594128/billing_info.xml
153
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-create-1298594128/billing_info.xml
154
154
  body:
155
155
  headers:
156
156
  authorization:
157
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
157
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
158
158
  accept:
159
159
  - application/xml
160
160
  accept-encoding:
@@ -169,17 +169,17 @@
169
169
  message: OK
170
170
  headers:
171
171
  x-runtime:
172
- - "496"
172
+ - "301"
173
173
  content-type:
174
174
  - application/xml; charset=utf-8
175
175
  etag:
176
- - "\"4741e376e1151f7291753e684862129f\""
176
+ - "\"7c72f80b69d2fc06e2b992406e49978c\""
177
177
  cache-control:
178
178
  - private, max-age=0, must-revalidate
179
179
  content-length:
180
180
  - "640"
181
181
  set-cookie:
182
- - _recurly_session=3c6435b705856e50d4c2b7c9474a323a; domain=.recurly.local; path=/; HttpOnly
182
+ - _recurly_session=fde10ceaf57d641013859595be659b9f; domain=.recurly.local; path=/; HttpOnly
183
183
  connection:
184
184
  - close
185
185
  server:
@@ -202,10 +202,10 @@
202
202
  <credit_card>
203
203
  <type>visa</type>
204
204
  <last_four>1111</last_four>
205
- <month type="integer">3</month>
205
+ <month type="integer">4</month>
206
206
  <year type="integer">2012</year>
207
207
  </credit_card>
208
- <updated_at type="datetime">2011-03-18T18:48:04Z</updated_at>
208
+ <updated_at type="datetime">2011-04-04T02:19:01Z</updated_at>
209
209
  </billing_info>
210
210
 
211
211
  http_version: "1.1"
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
5
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
@@ -20,7 +20,7 @@
20
20
 
21
21
  headers:
22
22
  authorization:
23
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
23
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
24
24
  content-type:
25
25
  - application/xml
26
26
  accept:
@@ -39,13 +39,13 @@
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/billing-destroy-1298594128
41
41
  x-runtime:
42
- - "305"
42
+ - "368"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "585"
47
47
  set-cookie:
48
- - _recurly_session=c14711b8d8a2d3d7d654ceda36ac24b8; domain=.recurly.local; path=/; HttpOnly
48
+ - _recurly_session=ec7ac1c5875063a1ebb99fde8dcaca57; 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>093831c9d93743f992863a298c260b1f</hosted_login_token>
66
- <created_at type="datetime">2011-03-18T18:48:44Z</created_at>
65
+ <hosted_login_token>46292bb4a4b7430e89b61b3bfa03a99b</hosted_login_token>
66
+ <created_at type="datetime">2011-04-04T02:19:32Z</created_at>
67
67
  <state>active</state>
68
68
  </account>
69
69
 
@@ -71,7 +71,7 @@
71
71
  - !ruby/struct:VCR::HTTPInteraction
72
72
  request: !ruby/struct:VCR::Request
73
73
  method: :put
74
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
74
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
75
75
  body: |
76
76
  <?xml version="1.0" encoding="UTF-8"?>
77
77
  <billing-info>
@@ -85,14 +85,14 @@
85
85
  <credit-card>
86
86
  <number>4111111111111111</number>
87
87
  <year type="integer">2012</year>
88
- <month type="integer">3</month>
88
+ <month type="integer">4</month>
89
89
  <verification-value>123</verification-value>
90
90
  </credit-card>
91
91
  </billing-info>
92
92
 
93
93
  headers:
94
94
  authorization:
95
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
95
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
96
96
  content-type:
97
97
  - application/xml
98
98
  accept:
@@ -107,17 +107,17 @@
107
107
  message: OK
108
108
  headers:
109
109
  x-runtime:
110
- - "6537"
110
+ - "1822"
111
111
  content-type:
112
112
  - application/xml; charset=utf-8
113
113
  etag:
114
- - "\"4aaf09a935e44facfc66785b8daa62fd\""
114
+ - "\"7380ee758975aad1983b063587279aaf\""
115
115
  cache-control:
116
116
  - private, max-age=0, must-revalidate
117
117
  content-length:
118
118
  - "650"
119
119
  set-cookie:
120
- - _recurly_session=218f8a1c79999197ac35d4184ed90aa1; domain=.recurly.local; path=/; HttpOnly
120
+ - _recurly_session=1be79f70332ecafdbe3c7d44920ef285; domain=.recurly.local; path=/; HttpOnly
121
121
  connection:
122
122
  - close
123
123
  server:
@@ -140,21 +140,21 @@
140
140
  <credit_card>
141
141
  <type>visa</type>
142
142
  <last_four>1111</last_four>
143
- <month type="integer">3</month>
143
+ <month type="integer">4</month>
144
144
  <year type="integer">2012</year>
145
145
  </credit_card>
146
- <updated_at type="datetime">2011-03-18T18:48:53Z</updated_at>
146
+ <updated_at type="datetime">2011-04-04T02:19:37Z</updated_at>
147
147
  </billing_info>
148
148
 
149
149
  http_version: "1.1"
150
150
  - !ruby/struct:VCR::HTTPInteraction
151
151
  request: !ruby/struct:VCR::Request
152
152
  method: :get
153
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
153
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
154
154
  body:
155
155
  headers:
156
156
  authorization:
157
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
157
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
158
158
  accept:
159
159
  - application/xml
160
160
  accept-encoding:
@@ -169,17 +169,17 @@
169
169
  message: OK
170
170
  headers:
171
171
  x-runtime:
172
- - "332"
172
+ - "303"
173
173
  content-type:
174
174
  - application/xml; charset=utf-8
175
175
  etag:
176
- - "\"4aaf09a935e44facfc66785b8daa62fd\""
176
+ - "\"7380ee758975aad1983b063587279aaf\""
177
177
  cache-control:
178
178
  - private, max-age=0, must-revalidate
179
179
  content-length:
180
180
  - "650"
181
181
  set-cookie:
182
- - _recurly_session=5511dd3b9bed99747c88114a2f7b6b16; domain=.recurly.local; path=/; HttpOnly
182
+ - _recurly_session=5e591dea1d0b78179c88a9ee6465e0e8; domain=.recurly.local; path=/; HttpOnly
183
183
  connection:
184
184
  - close
185
185
  server:
@@ -202,21 +202,21 @@
202
202
  <credit_card>
203
203
  <type>visa</type>
204
204
  <last_four>1111</last_four>
205
- <month type="integer">3</month>
205
+ <month type="integer">4</month>
206
206
  <year type="integer">2012</year>
207
207
  </credit_card>
208
- <updated_at type="datetime">2011-03-18T18:48:53Z</updated_at>
208
+ <updated_at type="datetime">2011-04-04T02:19:37Z</updated_at>
209
209
  </billing_info>
210
210
 
211
211
  http_version: "1.1"
212
212
  - !ruby/struct:VCR::HTTPInteraction
213
213
  request: !ruby/struct:VCR::Request
214
214
  method: :delete
215
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
215
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
216
216
  body:
217
217
  headers:
218
218
  authorization:
219
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
219
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
220
220
  accept:
221
221
  - application/xml
222
222
  user-agent:
@@ -231,13 +231,13 @@
231
231
  cache-control:
232
232
  - no-cache
233
233
  x-runtime:
234
- - "105"
234
+ - "332"
235
235
  content-type:
236
236
  - application/xml; charset=utf-8
237
237
  content-length:
238
238
  - "1"
239
239
  set-cookie:
240
- - _recurly_session=da0cfadd8aebcb8b0d56a19ba7a2e055; domain=.recurly.local; path=/; HttpOnly
240
+ - _recurly_session=851c2c8b372cc6bc6206c4dc9e13967b; domain=.recurly.local; path=/; HttpOnly
241
241
  connection:
242
242
  - close
243
243
  server:
@@ -247,11 +247,11 @@
247
247
  - !ruby/struct:VCR::HTTPInteraction
248
248
  request: !ruby/struct:VCR::Request
249
249
  method: :get
250
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
250
+ uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-destroy-1298594128/billing_info.xml
251
251
  body:
252
252
  headers:
253
253
  authorization:
254
- - Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
254
+ - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
255
255
  accept:
256
256
  - application/xml
257
257
  accept-encoding:
@@ -272,7 +272,7 @@
272
272
  content-length:
273
273
  - "98"
274
274
  set-cookie:
275
- - _recurly_session=3230c76f7c456c69c00a84df5d000452; domain=.recurly.local; path=/; HttpOnly
275
+ - _recurly_session=e477df22b034668dc01cb03cddf6f81e; domain=.recurly.local; path=/; HttpOnly
276
276
  connection:
277
277
  - close
278
278
  server: