recurly 0.4.0 → 0.4.1

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 (65) hide show
  1. data/lib/patches/rails2/active_resource/connection.rb +10 -0
  2. data/lib/patches/{active_resource → rails3/active_resource}/connection.rb +0 -0
  3. data/lib/recurly.rb +7 -2
  4. data/lib/recurly/transparent.rb +4 -1
  5. data/lib/recurly/version.rb +1 -1
  6. data/spec/integration/transaction_spec.rb +5 -2
  7. data/spec/unit/transparent_spec.rb +59 -1
  8. data/spec/vcr/account/accept-language-account/1297746103.yml +8 -11
  9. data/spec/vcr/account/close/1297746103.yml +23 -30
  10. data/spec/vcr/account/create-blank/1297746103.yml +5 -7
  11. data/spec/vcr/account/create-duplicate/1297746103.yml +13 -18
  12. data/spec/vcr/account/create-min/1297746103.yml +8 -11
  13. data/spec/vcr/account/create/1297746103.yml +8 -11
  14. data/spec/vcr/account/find/1297746103.yml +22 -29
  15. data/spec/vcr/account/list/1297746103.yml +150 -196
  16. data/spec/vcr/account/update/1297746103.yml +37 -46
  17. data/spec/vcr/billing/create/1298594128.yml +24 -31
  18. data/spec/vcr/billing/destroy/1298594128.yml +35 -46
  19. data/spec/vcr/billing/find/1298594128.yml +32 -41
  20. data/spec/vcr/billing/update/1298594128.yml +32 -41
  21. data/spec/vcr/charge/create/1297746103.yml +36 -45
  22. data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +46 -59
  23. data/spec/vcr/charge/list-all/1297746103.yml +51 -62
  24. data/spec/vcr/charge/list-invoiced/1297746103.yml +82 -97
  25. data/spec/vcr/charge/list-pending/1297746103.yml +51 -62
  26. data/spec/vcr/charge/lookup/1297746103.yml +28 -35
  27. data/spec/vcr/coupon/create/1299714521.yml +23 -30
  28. data/spec/vcr/coupon/destroy/1299714521.yml +26 -35
  29. data/spec/vcr/credit/create/1299714599.yml +28 -35
  30. data/spec/vcr/credit/delete/1299714599.yml +41 -52
  31. data/spec/vcr/credit/list/1299714599.yml +51 -62
  32. data/spec/vcr/credit/lookup/1299714599.yml +28 -35
  33. data/spec/vcr/invoice/create-no-charges/1297746103.yml +21 -28
  34. data/spec/vcr/invoice/create/1297746103.yml +50 -61
  35. data/spec/vcr/invoice/list/1297746103.yml +73 -88
  36. data/spec/vcr/invoice/lookup/1297746103.yml +52 -63
  37. data/spec/vcr/plan/all.yml +18 -24
  38. data/spec/vcr/plan/find.yml +18 -24
  39. data/spec/vcr/plan/update.yml +18 -24
  40. data/spec/vcr/subscription/addons/add/1297746103.yml +331 -38
  41. data/spec/vcr/subscription/addons/create/1297746103.yml +331 -38
  42. data/spec/vcr/subscription/addons/remove/1297746103.yml +331 -38
  43. data/spec/vcr/subscription/cancel-with-code/1297746103.yml +71 -86
  44. data/spec/vcr/subscription/cancel/1297746103.yml +59 -72
  45. data/spec/vcr/subscription/change1/1297746103.yml +55 -68
  46. data/spec/vcr/subscription/change2/1297746103.yml +55 -68
  47. data/spec/vcr/subscription/create/1297746103.yml +25 -32
  48. data/spec/vcr/subscription/find/1297746103.yml +35 -44
  49. data/spec/vcr/subscription/reactivate/1297746103.yml +64 -79
  50. data/spec/vcr/subscription/refund-full/1297746103.yml +52 -65
  51. data/spec/vcr/subscription/refund-none/1297746103.yml +52 -65
  52. data/spec/vcr/subscription/refund-partial/1297746103.yml +52 -65
  53. data/spec/vcr/transaction/all/1300473500.yml +387 -0
  54. data/spec/vcr/transaction/create-no-account/{1297746103.yml → 1300473500.yml} +19 -22
  55. data/spec/vcr/transaction/create-with-account/{1297746103.yml → 1300473500.yml} +55 -43
  56. data/spec/vcr/transaction/list-filled/1300473500.yml +603 -0
  57. data/spec/vcr/transaction/list-initial/{1297746103.yml → 1300473500.yml} +45 -52
  58. data/spec/vcr/transaction/lookup/1300473500.yml +561 -0
  59. data/spec/vcr/transaction/refund/{1297746103.yml → 1300473500.yml} +113 -41
  60. data/spec/vcr/transaction/void/1300473500.yml +620 -0
  61. metadata +21 -20
  62. data/spec/vcr/transaction/all/1297746103.yml +0 -389
  63. data/spec/vcr/transaction/list-filled/1297746103.yml +0 -213
  64. data/spec/vcr/transaction/lookup/1297746103.yml +0 -213
  65. data/spec/vcr/transaction/void/1297746103.yml +0 -213
@@ -32,27 +32,24 @@
32
32
  response: !ruby/struct:VCR::Response
33
33
  status: !ruby/struct:VCR::ResponseStatus
34
34
  code: 201
35
- message: "Created "
35
+ message: Created
36
36
  headers:
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/account-update-1297746103
41
41
  x-runtime:
42
- - "385"
42
+ - "603"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "583"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
- date:
50
- - Fri, 11 Mar 2011 18:47:07 GMT
47
+ set-cookie:
48
+ - _recurly_session=a4cc522adb83881122938889ad5cb1a3; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=cebf16c5c2d019487dab50d99c4e312176701562b8e4aa99174149edaf1256dc84fb348df66be37924f895d2e68f8e972069767cb151ab26d5c434c0229ce971%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=fecdb583c262622507a817c844bd3637; domain=.recurly.local; path=/; HttpOnly
51
+ server:
52
+ - thin 1.2.7 codename No Hup
56
53
  body: |
57
54
  <?xml version="1.0" encoding="UTF-8"?>
58
55
  <account>
@@ -65,8 +62,8 @@
65
62
  <company_name>Recurly Ruby Gem</company_name>
66
63
  <balance_in_cents type="integer">0</balance_in_cents>
67
64
  <closed type="boolean">false</closed>
68
- <hosted_login_token>c9e3ceda814749188b2b11cb54e47db1</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:47:07Z</created_at>
65
+ <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -90,26 +87,24 @@
90
87
  response: !ruby/struct:VCR::Response
91
88
  status: !ruby/struct:VCR::ResponseStatus
92
89
  code: 200
93
- message: "OK "
90
+ message: OK
94
91
  headers:
95
92
  x-runtime:
96
- - "186"
93
+ - "275"
97
94
  content-type:
98
95
  - application/xml; charset=utf-8
99
96
  etag:
100
- - "\"c8677f3921d9fe55af0e2774cc682f07\""
97
+ - "\"14ffeaa21f6ad3c6a14a8772b1b8ce1a\""
101
98
  cache-control:
102
99
  - private, max-age=0, must-revalidate
103
100
  content-length:
104
101
  - "583"
105
- server:
106
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
107
- date:
108
- - Fri, 11 Mar 2011 18:47:08 GMT
102
+ set-cookie:
103
+ - _recurly_session=f06ea10efb01da0bf440999e98fe0092; domain=.recurly.local; path=/; HttpOnly
109
104
  connection:
110
105
  - close
111
- set-cookie:
112
- - _recurly_session=090665a556291078f41c8c88dc78c4ab; domain=.recurly.local; path=/; HttpOnly
106
+ server:
107
+ - thin 1.2.7 codename No Hup
113
108
  body: |
114
109
  <?xml version="1.0" encoding="UTF-8"?>
115
110
  <account>
@@ -122,8 +117,8 @@
122
117
  <company_name>Recurly Ruby Gem</company_name>
123
118
  <balance_in_cents type="integer">0</balance_in_cents>
124
119
  <closed type="boolean">false</closed>
125
- <hosted_login_token>c9e3ceda814749188b2b11cb54e47db1</hosted_login_token>
126
- <created_at type="datetime">2011-03-11T18:47:07Z</created_at>
120
+ <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
121
+ <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
127
122
  <state>active</state>
128
123
  </account>
129
124
 
@@ -144,8 +139,8 @@
144
139
  <company-name>Recurly Ruby Gem -- Update</company-name>
145
140
  <balance-in-cents type="integer">0</balance-in-cents>
146
141
  <closed type="boolean">false</closed>
147
- <hosted-login-token>c9e3ceda814749188b2b11cb54e47db1</hosted-login-token>
148
- <created-at type="datetime">2011-03-11T18:47:07Z</created-at>
142
+ <hosted-login-token>2b48421096ff4de680afe0eecd55238b</hosted-login-token>
143
+ <created-at type="datetime">2011-03-18T18:47:13Z</created-at>
149
144
  <state>active</state>
150
145
  <billing-info>
151
146
  <credit-card>
@@ -168,26 +163,24 @@
168
163
  response: !ruby/struct:VCR::Response
169
164
  status: !ruby/struct:VCR::ResponseStatus
170
165
  code: 200
171
- message: "OK "
166
+ message: OK
172
167
  headers:
173
168
  x-runtime:
174
- - "349"
169
+ - "541"
175
170
  content-type:
176
171
  - application/xml; charset=utf-8
177
172
  etag:
178
- - "\"5fa3b6ab05dc152d70b2d5061dc2141a\""
173
+ - "\"9837928739fb7d03bebe1bc9495ab5da\""
179
174
  cache-control:
180
175
  - private, max-age=0, must-revalidate
181
176
  content-length:
182
177
  - "600"
183
- server:
184
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
185
- date:
186
- - Fri, 11 Mar 2011 18:47:11 GMT
178
+ set-cookie:
179
+ - _recurly_session=0e90fa3c0d20a435c1e6cab08f2bed56; domain=.recurly.local; path=/; HttpOnly
187
180
  connection:
188
181
  - close
189
- set-cookie:
190
- - _recurly_session=03358fadc7f89806c0517dca827a9fb4; domain=.recurly.local; path=/; HttpOnly
182
+ server:
183
+ - thin 1.2.7 codename No Hup
191
184
  body: |
192
185
  <?xml version="1.0" encoding="UTF-8"?>
193
186
  <account>
@@ -200,8 +193,8 @@
200
193
  <company_name>Recurly Ruby Gem -- Update</company_name>
201
194
  <balance_in_cents type="integer">0</balance_in_cents>
202
195
  <closed type="boolean">false</closed>
203
- <hosted_login_token>c9e3ceda814749188b2b11cb54e47db1</hosted_login_token>
204
- <created_at type="datetime">2011-03-11T18:47:07Z</created_at>
196
+ <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
197
+ <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
205
198
  <state>active</state>
206
199
  </account>
207
200
 
@@ -225,26 +218,24 @@
225
218
  response: !ruby/struct:VCR::Response
226
219
  status: !ruby/struct:VCR::ResponseStatus
227
220
  code: 200
228
- message: "OK "
221
+ message: OK
229
222
  headers:
230
223
  x-runtime:
231
- - "201"
224
+ - "405"
232
225
  content-type:
233
226
  - application/xml; charset=utf-8
234
227
  etag:
235
- - "\"5fa3b6ab05dc152d70b2d5061dc2141a\""
228
+ - "\"9837928739fb7d03bebe1bc9495ab5da\""
236
229
  cache-control:
237
230
  - private, max-age=0, must-revalidate
238
231
  content-length:
239
232
  - "600"
240
- server:
241
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
242
- date:
243
- - Fri, 11 Mar 2011 18:47:13 GMT
233
+ set-cookie:
234
+ - _recurly_session=52a57d4c686fdc3397cc26a41d567a47; domain=.recurly.local; path=/; HttpOnly
244
235
  connection:
245
236
  - close
246
- set-cookie:
247
- - _recurly_session=95bf1b0ec4a0dd26b44be000ed9f8af3; domain=.recurly.local; path=/; HttpOnly
237
+ server:
238
+ - thin 1.2.7 codename No Hup
248
239
  body: |
249
240
  <?xml version="1.0" encoding="UTF-8"?>
250
241
  <account>
@@ -257,8 +248,8 @@
257
248
  <company_name>Recurly Ruby Gem -- Update</company_name>
258
249
  <balance_in_cents type="integer">0</balance_in_cents>
259
250
  <closed type="boolean">false</closed>
260
- <hosted_login_token>c9e3ceda814749188b2b11cb54e47db1</hosted_login_token>
261
- <created_at type="datetime">2011-03-11T18:47:07Z</created_at>
251
+ <hosted_login_token>2b48421096ff4de680afe0eecd55238b</hosted_login_token>
252
+ <created_at type="datetime">2011-03-18T18:47:13Z</created_at>
262
253
  <state>active</state>
263
254
  </account>
264
255
 
@@ -32,27 +32,24 @@
32
32
  response: !ruby/struct:VCR::Response
33
33
  status: !ruby/struct:VCR::ResponseStatus
34
34
  code: 201
35
- message: "Created "
35
+ message: Created
36
36
  headers:
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/billing-create-1298594128
41
41
  x-runtime:
42
- - "503"
42
+ - "320"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "583"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
- date:
50
- - Fri, 11 Mar 2011 18:47:49 GMT
47
+ set-cookie:
48
+ - _recurly_session=83ff5ba338d68fd4d5ebe2232651900a; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=9cb06e85dda7e14b0052dcdeba2bb566bfe3103e985bcfd4802fa38885f7f066577de0f07eb37d6127b4056c7abaf69b1a86be05c37c50809157e4e2d1a85328%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=47c8db78a1f58628a26641f76046403c; domain=.recurly.local; path=/; HttpOnly
51
+ server:
52
+ - thin 1.2.7 codename No Hup
56
53
  body: |
57
54
  <?xml version="1.0" encoding="UTF-8"?>
58
55
  <account>
@@ -65,8 +62,8 @@
65
62
  <company_name>Recurly Ruby Gem</company_name>
66
63
  <balance_in_cents type="integer">0</balance_in_cents>
67
64
  <closed type="boolean">false</closed>
68
- <hosted_login_token>087e78ad0eea4b3f8ebcece89761c894</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:47:49Z</created_at>
65
+ <hosted_login_token>4aa75711b3134c898f71e09f415e0fc2</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:47:56Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -107,26 +104,24 @@
107
104
  response: !ruby/struct:VCR::Response
108
105
  status: !ruby/struct:VCR::ResponseStatus
109
106
  code: 200
110
- message: "OK "
107
+ message: OK
111
108
  headers:
112
109
  x-runtime:
113
- - "1609"
110
+ - "6442"
114
111
  content-type:
115
112
  - application/xml; charset=utf-8
116
113
  etag:
117
- - "\"b1d2f18e9a7d906f51ff0072786a9b03\""
114
+ - "\"4741e376e1151f7291753e684862129f\""
118
115
  cache-control:
119
116
  - private, max-age=0, must-revalidate
120
117
  content-length:
121
118
  - "640"
122
- server:
123
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
124
- date:
125
- - Fri, 11 Mar 2011 18:47:52 GMT
119
+ set-cookie:
120
+ - _recurly_session=d16422df17af10f186562d25e5c12364; domain=.recurly.local; path=/; HttpOnly
126
121
  connection:
127
122
  - close
128
- set-cookie:
129
- - _recurly_session=c0eef4fb8fc12cc53b137bfc740dafd7; domain=.recurly.local; path=/; HttpOnly
123
+ server:
124
+ - thin 1.2.7 codename No Hup
130
125
  body: |
131
126
  <?xml version="1.0" encoding="UTF-8"?>
132
127
  <billing_info>
@@ -148,7 +143,7 @@
148
143
  <month type="integer">3</month>
149
144
  <year type="integer">2012</year>
150
145
  </credit_card>
151
- <updated_at type="datetime">2011-03-11T18:47:52Z</updated_at>
146
+ <updated_at type="datetime">2011-03-18T18:48:04Z</updated_at>
152
147
  </billing_info>
153
148
 
154
149
  http_version: "1.1"
@@ -171,26 +166,24 @@
171
166
  response: !ruby/struct:VCR::Response
172
167
  status: !ruby/struct:VCR::ResponseStatus
173
168
  code: 200
174
- message: "OK "
169
+ message: OK
175
170
  headers:
176
171
  x-runtime:
177
- - "187"
172
+ - "496"
178
173
  content-type:
179
174
  - application/xml; charset=utf-8
180
175
  etag:
181
- - "\"b1d2f18e9a7d906f51ff0072786a9b03\""
176
+ - "\"4741e376e1151f7291753e684862129f\""
182
177
  cache-control:
183
178
  - private, max-age=0, must-revalidate
184
179
  content-length:
185
180
  - "640"
186
- server:
187
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
188
- date:
189
- - Fri, 11 Mar 2011 18:47:54 GMT
181
+ set-cookie:
182
+ - _recurly_session=3c6435b705856e50d4c2b7c9474a323a; domain=.recurly.local; path=/; HttpOnly
190
183
  connection:
191
184
  - close
192
- set-cookie:
193
- - _recurly_session=7cf523e1a8ba1574a3073708d8eb6f04; domain=.recurly.local; path=/; HttpOnly
185
+ server:
186
+ - thin 1.2.7 codename No Hup
194
187
  body: |
195
188
  <?xml version="1.0" encoding="UTF-8"?>
196
189
  <billing_info>
@@ -212,7 +205,7 @@
212
205
  <month type="integer">3</month>
213
206
  <year type="integer">2012</year>
214
207
  </credit_card>
215
- <updated_at type="datetime">2011-03-11T18:47:52Z</updated_at>
208
+ <updated_at type="datetime">2011-03-18T18:48:04Z</updated_at>
216
209
  </billing_info>
217
210
 
218
211
  http_version: "1.1"
@@ -32,27 +32,24 @@
32
32
  response: !ruby/struct:VCR::Response
33
33
  status: !ruby/struct:VCR::ResponseStatus
34
34
  code: 201
35
- message: "Created "
35
+ message: Created
36
36
  headers:
37
37
  cache-control:
38
38
  - no-cache
39
39
  location:
40
40
  - http://app.recurly.local:3000/accounts/billing-destroy-1298594128
41
41
  x-runtime:
42
- - "449"
42
+ - "305"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "585"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
- date:
50
- - Fri, 11 Mar 2011 18:48:20 GMT
47
+ set-cookie:
48
+ - _recurly_session=c14711b8d8a2d3d7d654ceda36ac24b8; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=4cb983c8826fbd271c57df99b5ecba08a86492f99296b685cc5f392df1919cdff50c8539cb9d21d6bb7c73ea92fcd6b4c5f6f59192f8a32ea1d1c6b926ffc427%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=331801ce345ec6c4c3bb6123d15e061d; domain=.recurly.local; path=/; HttpOnly
51
+ server:
52
+ - thin 1.2.7 codename No Hup
56
53
  body: |
57
54
  <?xml version="1.0" encoding="UTF-8"?>
58
55
  <account>
@@ -65,8 +62,8 @@
65
62
  <company_name>Recurly Ruby Gem</company_name>
66
63
  <balance_in_cents type="integer">0</balance_in_cents>
67
64
  <closed type="boolean">false</closed>
68
- <hosted_login_token>5293370ab1b14fd895815eea5c739ff2</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:48:20Z</created_at>
65
+ <hosted_login_token>093831c9d93743f992863a298c260b1f</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:48:44Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -107,26 +104,24 @@
107
104
  response: !ruby/struct:VCR::Response
108
105
  status: !ruby/struct:VCR::ResponseStatus
109
106
  code: 200
110
- message: "OK "
107
+ message: OK
111
108
  headers:
112
109
  x-runtime:
113
- - "1901"
110
+ - "6537"
114
111
  content-type:
115
112
  - application/xml; charset=utf-8
116
113
  etag:
117
- - "\"7ec98a8aab465534888535e28e56e8bd\""
114
+ - "\"4aaf09a935e44facfc66785b8daa62fd\""
118
115
  cache-control:
119
116
  - private, max-age=0, must-revalidate
120
117
  content-length:
121
118
  - "650"
122
- server:
123
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
124
- date:
125
- - Fri, 11 Mar 2011 18:48:24 GMT
119
+ set-cookie:
120
+ - _recurly_session=218f8a1c79999197ac35d4184ed90aa1; domain=.recurly.local; path=/; HttpOnly
126
121
  connection:
127
122
  - close
128
- set-cookie:
129
- - _recurly_session=1de6a2fbac39372cca1380177e38b323; domain=.recurly.local; path=/; HttpOnly
123
+ server:
124
+ - thin 1.2.7 codename No Hup
130
125
  body: |
131
126
  <?xml version="1.0" encoding="UTF-8"?>
132
127
  <billing_info>
@@ -148,7 +143,7 @@
148
143
  <month type="integer">3</month>
149
144
  <year type="integer">2012</year>
150
145
  </credit_card>
151
- <updated_at type="datetime">2011-03-11T18:48:24Z</updated_at>
146
+ <updated_at type="datetime">2011-03-18T18:48:53Z</updated_at>
152
147
  </billing_info>
153
148
 
154
149
  http_version: "1.1"
@@ -171,26 +166,24 @@
171
166
  response: !ruby/struct:VCR::Response
172
167
  status: !ruby/struct:VCR::ResponseStatus
173
168
  code: 200
174
- message: "OK "
169
+ message: OK
175
170
  headers:
176
171
  x-runtime:
177
- - "201"
172
+ - "332"
178
173
  content-type:
179
174
  - application/xml; charset=utf-8
180
175
  etag:
181
- - "\"7ec98a8aab465534888535e28e56e8bd\""
176
+ - "\"4aaf09a935e44facfc66785b8daa62fd\""
182
177
  cache-control:
183
178
  - private, max-age=0, must-revalidate
184
179
  content-length:
185
180
  - "650"
186
- server:
187
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
188
- date:
189
- - Fri, 11 Mar 2011 18:48:26 GMT
181
+ set-cookie:
182
+ - _recurly_session=5511dd3b9bed99747c88114a2f7b6b16; domain=.recurly.local; path=/; HttpOnly
190
183
  connection:
191
184
  - close
192
- set-cookie:
193
- - _recurly_session=5568c81bcb43fa1f141f5331f6c93405; domain=.recurly.local; path=/; HttpOnly
185
+ server:
186
+ - thin 1.2.7 codename No Hup
194
187
  body: |
195
188
  <?xml version="1.0" encoding="UTF-8"?>
196
189
  <billing_info>
@@ -212,7 +205,7 @@
212
205
  <month type="integer">3</month>
213
206
  <year type="integer">2012</year>
214
207
  </credit_card>
215
- <updated_at type="datetime">2011-03-11T18:48:24Z</updated_at>
208
+ <updated_at type="datetime">2011-03-18T18:48:53Z</updated_at>
216
209
  </billing_info>
217
210
 
218
211
  http_version: "1.1"
@@ -233,24 +226,22 @@
233
226
  response: !ruby/struct:VCR::Response
234
227
  status: !ruby/struct:VCR::ResponseStatus
235
228
  code: 200
236
- message: "OK "
229
+ message: OK
237
230
  headers:
238
231
  cache-control:
239
232
  - no-cache
240
233
  x-runtime:
241
- - "211"
234
+ - "105"
242
235
  content-type:
243
236
  - application/xml; charset=utf-8
244
237
  content-length:
245
238
  - "1"
246
- server:
247
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
248
- date:
249
- - Fri, 11 Mar 2011 18:48:28 GMT
239
+ set-cookie:
240
+ - _recurly_session=da0cfadd8aebcb8b0d56a19ba7a2e055; domain=.recurly.local; path=/; HttpOnly
250
241
  connection:
251
242
  - close
252
- set-cookie:
253
- - _recurly_session=3d46d6e730da9e35491d01512bd6691c; domain=.recurly.local; path=/; HttpOnly
243
+ server:
244
+ - thin 1.2.7 codename No Hup
254
245
  body: " "
255
246
  http_version: "1.1"
256
247
  - !ruby/struct:VCR::HTTPInteraction
@@ -272,7 +263,7 @@
272
263
  response: !ruby/struct:VCR::Response
273
264
  status: !ruby/struct:VCR::ResponseStatus
274
265
  code: 404
275
- message: "Not Found "
266
+ message: Not Found
276
267
  headers:
277
268
  cache-control:
278
269
  - no-cache
@@ -280,14 +271,12 @@
280
271
  - application/xml; charset=utf-8
281
272
  content-length:
282
273
  - "98"
283
- server:
284
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
285
- date:
286
- - Fri, 11 Mar 2011 18:48:30 GMT
274
+ set-cookie:
275
+ - _recurly_session=3230c76f7c456c69c00a84df5d000452; domain=.recurly.local; path=/; HttpOnly
287
276
  connection:
288
277
  - close
289
- set-cookie:
290
- - _recurly_session=14f0ac5521ea039a61335abeba578de1; domain=.recurly.local; path=/; HttpOnly
278
+ server:
279
+ - thin 1.2.7 codename No Hup
291
280
  body: |
292
281
  <?xml version="1.0" encoding="UTF-8"?>
293
282
  <errors>