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/charge-delete-uinvoiced-1297746103
41
41
  x-runtime:
42
- - "451"
42
+ - "317"
43
43
  content-type:
44
44
  - application/xml; charset=utf-8
45
45
  content-length:
46
46
  - "601"
47
- server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
- date:
50
- - Fri, 11 Mar 2011 18:49:28 GMT
47
+ set-cookie:
48
+ - _recurly_session=5a884f467b832e1f68f45b8918e05455; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=38acc33bd20e437bcbc11b3e00f4b13fba86ff9647106f5de356687e7738d855d5c3b2d1bb729cfaf50e2c8c0d24966a951fd8f55946540a59de96744b33b7ef%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=33ae2b1d4d2bfee537f0204f45910af2; 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>5d7ab0ff9f1148f38a1d2e0422ca0c59</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:49:28Z</created_at>
65
+ <hosted_login_token>78d75306ab164da08c920b35fb01164d</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:49:56Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -96,42 +93,40 @@
96
93
  response: !ruby/struct:VCR::Response
97
94
  status: !ruby/struct:VCR::ResponseStatus
98
95
  code: 201
99
- message: "Created "
96
+ message: Created
100
97
  headers:
101
98
  cache-control:
102
99
  - no-cache
103
100
  x-runtime:
104
- - "239"
101
+ - "280"
105
102
  content-type:
106
103
  - application/xml; charset=utf-8
107
104
  content-length:
108
105
  - "527"
109
- server:
110
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
111
- date:
112
- - Fri, 11 Mar 2011 18:49:30 GMT
106
+ set-cookie:
107
+ - _recurly_session=a9c6d7b42a8170a2e5f411ad1ac81148; domain=.recurly.local; path=/; HttpOnly
113
108
  connection:
114
109
  - close
115
- set-cookie:
116
- - _recurly_session=9d4f4228c24650b29fe69f7fa5d6472b; domain=.recurly.local; path=/; HttpOnly
110
+ server:
111
+ - thin 1.2.7 codename No Hup
117
112
  body: |
118
113
  <?xml version="1.0" encoding="UTF-8"?>
119
114
  <charge type="charge">
120
- <id>965409bc74124ab4833a69bc00c24930</id>
115
+ <id>5bbc212740e241d1b85b7973547e68be</id>
121
116
  <account_code>charge-delete-uinvoiced-1297746103</account_code>
122
117
  <amount_in_cents type="integer">1315</amount_in_cents>
123
- <start_date type="datetime">2011-03-11T18:49:30Z</start_date>
118
+ <start_date type="datetime">2011-03-18T18:49:58Z</start_date>
124
119
  <end_date nil="true" type="datetime"></end_date>
125
120
  <invoice_number nil="true" type="integer"></invoice_number>
126
121
  <description>inconvenience fee</description>
127
- <created_at type="datetime">2011-03-11T18:49:30Z</created_at>
122
+ <created_at type="datetime">2011-03-18T18:49:58Z</created_at>
128
123
  </charge>
129
124
 
130
125
  http_version: "1.1"
131
126
  - !ruby/struct:VCR::HTTPInteraction
132
127
  request: !ruby/struct:VCR::Request
133
128
  method: :get
134
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/965409bc74124ab4833a69bc00c24930.xml
129
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/5bbc212740e241d1b85b7973547e68be.xml
135
130
  body:
136
131
  headers:
137
132
  authorization:
@@ -147,44 +142,42 @@
147
142
  response: !ruby/struct:VCR::Response
148
143
  status: !ruby/struct:VCR::ResponseStatus
149
144
  code: 200
150
- message: "OK "
145
+ message: OK
151
146
  headers:
152
147
  x-runtime:
153
- - "211"
148
+ - "89"
154
149
  content-type:
155
150
  - application/xml; charset=utf-8
156
151
  etag:
157
- - "\"7fc95325f952d7096ee98e86330f7fbe\""
152
+ - "\"53121dd0b2f62bc4af06d59f02598ab5\""
158
153
  cache-control:
159
154
  - private, max-age=0, must-revalidate
160
155
  content-length:
161
156
  - "527"
162
- server:
163
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
164
- date:
165
- - Fri, 11 Mar 2011 18:49:32 GMT
157
+ set-cookie:
158
+ - _recurly_session=387332696ebd7ec06d7665de4262f128; domain=.recurly.local; path=/; HttpOnly
166
159
  connection:
167
160
  - close
168
- set-cookie:
169
- - _recurly_session=289f03ae0b7837a5a6485c60050feabf; domain=.recurly.local; path=/; HttpOnly
161
+ server:
162
+ - thin 1.2.7 codename No Hup
170
163
  body: |
171
164
  <?xml version="1.0" encoding="UTF-8"?>
172
165
  <charge type="charge">
173
- <id>965409bc74124ab4833a69bc00c24930</id>
166
+ <id>5bbc212740e241d1b85b7973547e68be</id>
174
167
  <account_code>charge-delete-uinvoiced-1297746103</account_code>
175
168
  <amount_in_cents type="integer">1315</amount_in_cents>
176
- <start_date type="datetime">2011-03-11T18:49:30Z</start_date>
169
+ <start_date type="datetime">2011-03-18T18:49:58Z</start_date>
177
170
  <end_date nil="true" type="datetime"></end_date>
178
171
  <invoice_number nil="true" type="integer"></invoice_number>
179
172
  <description>inconvenience fee</description>
180
- <created_at type="datetime">2011-03-11T18:49:30Z</created_at>
173
+ <created_at type="datetime">2011-03-18T18:49:58Z</created_at>
181
174
  </charge>
182
175
 
183
176
  http_version: "1.1"
184
177
  - !ruby/struct:VCR::HTTPInteraction
185
178
  request: !ruby/struct:VCR::Request
186
179
  method: :delete
187
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/965409bc74124ab4833a69bc00c24930.xml
180
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/5bbc212740e241d1b85b7973547e68be.xml
188
181
  body:
189
182
  headers:
190
183
  authorization:
@@ -198,30 +191,28 @@
198
191
  response: !ruby/struct:VCR::Response
199
192
  status: !ruby/struct:VCR::ResponseStatus
200
193
  code: 200
201
- message: "OK "
194
+ message: OK
202
195
  headers:
203
196
  cache-control:
204
197
  - no-cache
205
198
  x-runtime:
206
- - "203"
199
+ - "270"
207
200
  content-type:
208
201
  - application/xml; charset=utf-8
209
202
  content-length:
210
203
  - "1"
211
- server:
212
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
213
- date:
214
- - Fri, 11 Mar 2011 18:49:34 GMT
204
+ set-cookie:
205
+ - _recurly_session=af9c97f4c163403cb2dfea3bd4d15dcb; domain=.recurly.local; path=/; HttpOnly
215
206
  connection:
216
207
  - close
217
- set-cookie:
218
- - _recurly_session=fa51a26ad2cc9e323c44428c689abde0; domain=.recurly.local; path=/; HttpOnly
208
+ server:
209
+ - thin 1.2.7 codename No Hup
219
210
  body: " "
220
211
  http_version: "1.1"
221
212
  - !ruby/struct:VCR::HTTPInteraction
222
213
  request: !ruby/struct:VCR::Request
223
214
  method: :get
224
- uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/965409bc74124ab4833a69bc00c24930.xml
215
+ uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/5bbc212740e241d1b85b7973547e68be.xml
225
216
  body:
226
217
  headers:
227
218
  authorization:
@@ -237,7 +228,7 @@
237
228
  response: !ruby/struct:VCR::Response
238
229
  status: !ruby/struct:VCR::ResponseStatus
239
230
  code: 404
240
- message: "Not Found "
231
+ message: Not Found
241
232
  headers:
242
233
  cache-control:
243
234
  - no-cache
@@ -245,14 +236,12 @@
245
236
  - application/xml; charset=utf-8
246
237
  content-length:
247
238
  - "92"
248
- server:
249
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
250
- date:
251
- - Fri, 11 Mar 2011 18:49:36 GMT
239
+ set-cookie:
240
+ - _recurly_session=e87579b0505a9c9114801dfe8d68d890; domain=.recurly.local; path=/; HttpOnly
252
241
  connection:
253
242
  - close
254
- set-cookie:
255
- - _recurly_session=941b2360324b34e8d2a925dc6bde6055; domain=.recurly.local; path=/; HttpOnly
243
+ server:
244
+ - thin 1.2.7 codename No Hup
256
245
  body: |
257
246
  <?xml version="1.0" encoding="UTF-8"?>
258
247
  <errors>
@@ -288,19 +277,17 @@
288
277
  cache-control:
289
278
  - no-cache
290
279
  x-runtime:
291
- - "181"
280
+ - "263"
292
281
  content-type:
293
282
  - application/xml; charset=utf-8
294
283
  content-length:
295
284
  - "98"
296
- server:
297
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
298
- date:
299
- - Fri, 11 Mar 2011 18:49:39 GMT
285
+ set-cookie:
286
+ - _recurly_session=c97087bb3d7d8880d99d42d226eda643; domain=.recurly.local; path=/; HttpOnly
300
287
  connection:
301
288
  - close
302
- set-cookie:
303
- - _recurly_session=450d82321fce61a705008d11ba1b311e; domain=.recurly.local; path=/; HttpOnly
289
+ server:
290
+ - thin 1.2.7 codename No Hup
304
291
  body: |
305
292
  <?xml version="1.0" encoding="UTF-8"?>
306
293
  <errors>
@@ -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/charge-list-all-1297746103
41
41
  x-runtime:
42
- - "523"
42
+ - "490"
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:32 GMT
47
+ set-cookie:
48
+ - _recurly_session=1ee4e5d2958a05a94af4bd741d9e1bf1; domain=.recurly.local; path=/; HttpOnly
51
49
  connection:
52
50
  - close
53
- set-cookie:
54
- - account_credentials=9396979f6cf1a0e1410073ccd29bee706682effd326e07e2fe3a9ab87f12ef93bf0953eefd7a543dfdaf03aeaa377e9b3ef5eff811d0cdff483b5ead5770853d%3A%3A; domain=.recurly.local; path=/
55
- - _recurly_session=ab792add02fd1d7baf77b32acedded39; 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>4bcbb2bf0fc848259149cdcb635d5ed9</hosted_login_token>
69
- <created_at type="datetime">2011-03-11T18:48:32Z</created_at>
65
+ <hosted_login_token>f56b5a46f63340d6a393da18479dfe40</hosted_login_token>
66
+ <created_at type="datetime">2011-03-18T18:49:01Z</created_at>
70
67
  <state>active</state>
71
68
  </account>
72
69
 
@@ -96,35 +93,33 @@
96
93
  response: !ruby/struct:VCR::Response
97
94
  status: !ruby/struct:VCR::ResponseStatus
98
95
  code: 201
99
- message: "Created "
96
+ message: Created
100
97
  headers:
101
98
  cache-control:
102
99
  - no-cache
103
100
  x-runtime:
104
- - "227"
101
+ - "299"
105
102
  content-type:
106
103
  - application/xml; charset=utf-8
107
104
  content-length:
108
105
  - "520"
109
- server:
110
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
111
- date:
112
- - Fri, 11 Mar 2011 18:48:35 GMT
106
+ set-cookie:
107
+ - _recurly_session=096e07e834b7bcdd0a671a330a85d274; domain=.recurly.local; path=/; HttpOnly
113
108
  connection:
114
109
  - close
115
- set-cookie:
116
- - _recurly_session=d042a96146e2f0577bf71f15e3130d17; domain=.recurly.local; path=/; HttpOnly
110
+ server:
111
+ - thin 1.2.7 codename No Hup
117
112
  body: |
118
113
  <?xml version="1.0" encoding="UTF-8"?>
119
114
  <charge type="charge">
120
- <id>4f25de6a2ef94d0d90882d6150b7c58f</id>
115
+ <id>b5e5af6a2196482eaffc05e14243fbc7</id>
121
116
  <account_code>charge-list-all-1297746103</account_code>
122
117
  <amount_in_cents type="integer">1000</amount_in_cents>
123
- <start_date type="datetime">2011-03-11T18:48:35Z</start_date>
118
+ <start_date type="datetime">2011-03-18T18:49:03Z</start_date>
124
119
  <end_date nil="true" type="datetime"></end_date>
125
120
  <invoice_number nil="true" type="integer"></invoice_number>
126
121
  <description>charge description</description>
127
- <created_at type="datetime">2011-03-11T18:48:35Z</created_at>
122
+ <created_at type="datetime">2011-03-18T18:49:03Z</created_at>
128
123
  </charge>
129
124
 
130
125
  http_version: "1.1"
@@ -153,35 +148,33 @@
153
148
  response: !ruby/struct:VCR::Response
154
149
  status: !ruby/struct:VCR::ResponseStatus
155
150
  code: 201
156
- message: "Created "
151
+ message: Created
157
152
  headers:
158
153
  cache-control:
159
154
  - no-cache
160
155
  x-runtime:
161
- - "206"
156
+ - "283"
162
157
  content-type:
163
158
  - application/xml; charset=utf-8
164
159
  content-length:
165
160
  - "520"
166
- server:
167
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
168
- date:
169
- - Fri, 11 Mar 2011 18:48:37 GMT
161
+ set-cookie:
162
+ - _recurly_session=a54dbd074d112265437597b71aa6ae94; domain=.recurly.local; path=/; HttpOnly
170
163
  connection:
171
164
  - close
172
- set-cookie:
173
- - _recurly_session=e2d662efcb26d7bfaade0be9b9826859; domain=.recurly.local; path=/; HttpOnly
165
+ server:
166
+ - thin 1.2.7 codename No Hup
174
167
  body: |
175
168
  <?xml version="1.0" encoding="UTF-8"?>
176
169
  <charge type="charge">
177
- <id>e037acd89e2649058afe633d90b44b08</id>
170
+ <id>928c3cccb673452e935b7a3bac838d82</id>
178
171
  <account_code>charge-list-all-1297746103</account_code>
179
172
  <amount_in_cents type="integer">1000</amount_in_cents>
180
- <start_date type="datetime">2011-03-11T18:48:37Z</start_date>
173
+ <start_date type="datetime">2011-03-18T18:49:05Z</start_date>
181
174
  <end_date nil="true" type="datetime"></end_date>
182
175
  <invoice_number nil="true" type="integer"></invoice_number>
183
176
  <description>charge description</description>
184
- <created_at type="datetime">2011-03-11T18:48:37Z</created_at>
177
+ <created_at type="datetime">2011-03-18T18:49:05Z</created_at>
185
178
  </charge>
186
179
 
187
180
  http_version: "1.1"
@@ -210,35 +203,33 @@
210
203
  response: !ruby/struct:VCR::Response
211
204
  status: !ruby/struct:VCR::ResponseStatus
212
205
  code: 201
213
- message: "Created "
206
+ message: Created
214
207
  headers:
215
208
  cache-control:
216
209
  - no-cache
217
210
  x-runtime:
218
- - "225"
211
+ - "291"
219
212
  content-type:
220
213
  - application/xml; charset=utf-8
221
214
  content-length:
222
215
  - "520"
223
- server:
224
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
225
- date:
226
- - Fri, 11 Mar 2011 18:48:39 GMT
216
+ set-cookie:
217
+ - _recurly_session=45a202f1638b5802389333d5829adc8b; domain=.recurly.local; path=/; HttpOnly
227
218
  connection:
228
219
  - close
229
- set-cookie:
230
- - _recurly_session=06a77b3a77917c10b537e8776f09ab13; domain=.recurly.local; path=/; HttpOnly
220
+ server:
221
+ - thin 1.2.7 codename No Hup
231
222
  body: |
232
223
  <?xml version="1.0" encoding="UTF-8"?>
233
224
  <charge type="charge">
234
- <id>6c9efcef4bed4a33aa815005c9a84af4</id>
225
+ <id>8c171d1ad1d6482db9fd3fb9c10623e3</id>
235
226
  <account_code>charge-list-all-1297746103</account_code>
236
227
  <amount_in_cents type="integer">1000</amount_in_cents>
237
- <start_date type="datetime">2011-03-11T18:48:39Z</start_date>
228
+ <start_date type="datetime">2011-03-18T18:49:07Z</start_date>
238
229
  <end_date nil="true" type="datetime"></end_date>
239
230
  <invoice_number nil="true" type="integer"></invoice_number>
240
231
  <description>charge description</description>
241
- <created_at type="datetime">2011-03-11T18:48:39Z</created_at>
232
+ <created_at type="datetime">2011-03-18T18:49:07Z</created_at>
242
233
  </charge>
243
234
 
244
235
  http_version: "1.1"
@@ -261,58 +252,56 @@
261
252
  response: !ruby/struct:VCR::Response
262
253
  status: !ruby/struct:VCR::ResponseStatus
263
254
  code: 200
264
- message: "OK "
255
+ message: OK
265
256
  headers:
266
257
  x-runtime:
267
- - "234"
258
+ - "259"
268
259
  content-type:
269
260
  - application/xml; charset=utf-8
270
261
  etag:
271
- - "\"85595073ba0a46d2494d43814249d4ac\""
262
+ - "\"404269d0af50f9d854b417e9f014c166\""
272
263
  cache-control:
273
264
  - private, max-age=0, must-revalidate
274
265
  content-length:
275
266
  - "1576"
276
- server:
277
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
278
- date:
279
- - Fri, 11 Mar 2011 18:48:42 GMT
267
+ set-cookie:
268
+ - _recurly_session=97a83d39ca81d56ca474cf789383a648; domain=.recurly.local; path=/; HttpOnly
280
269
  connection:
281
270
  - close
282
- set-cookie:
283
- - _recurly_session=31c149d7f982fae0de90a51eaff6ca0b; domain=.recurly.local; path=/; HttpOnly
271
+ server:
272
+ - thin 1.2.7 codename No Hup
284
273
  body: |
285
274
  <?xml version="1.0" encoding="UTF-8"?>
286
275
  <charges type="array">
287
276
  <charge type="charge">
288
- <id>6c9efcef4bed4a33aa815005c9a84af4</id>
277
+ <id>8c171d1ad1d6482db9fd3fb9c10623e3</id>
289
278
  <account_code>charge-list-all-1297746103</account_code>
290
279
  <amount_in_cents type="integer">1000</amount_in_cents>
291
- <start_date type="datetime">2011-03-11T18:48:39Z</start_date>
280
+ <start_date type="datetime">2011-03-18T18:49:07Z</start_date>
292
281
  <end_date nil="true" type="datetime"></end_date>
293
282
  <invoice_number nil="true" type="integer"></invoice_number>
294
283
  <description>charge description</description>
295
- <created_at type="datetime">2011-03-11T18:48:39Z</created_at>
284
+ <created_at type="datetime">2011-03-18T18:49:07Z</created_at>
296
285
  </charge>
297
286
  <charge type="charge">
298
- <id>e037acd89e2649058afe633d90b44b08</id>
287
+ <id>928c3cccb673452e935b7a3bac838d82</id>
299
288
  <account_code>charge-list-all-1297746103</account_code>
300
289
  <amount_in_cents type="integer">1000</amount_in_cents>
301
- <start_date type="datetime">2011-03-11T18:48:37Z</start_date>
290
+ <start_date type="datetime">2011-03-18T18:49:05Z</start_date>
302
291
  <end_date nil="true" type="datetime"></end_date>
303
292
  <invoice_number nil="true" type="integer"></invoice_number>
304
293
  <description>charge description</description>
305
- <created_at type="datetime">2011-03-11T18:48:37Z</created_at>
294
+ <created_at type="datetime">2011-03-18T18:49:05Z</created_at>
306
295
  </charge>
307
296
  <charge type="charge">
308
- <id>4f25de6a2ef94d0d90882d6150b7c58f</id>
297
+ <id>b5e5af6a2196482eaffc05e14243fbc7</id>
309
298
  <account_code>charge-list-all-1297746103</account_code>
310
299
  <amount_in_cents type="integer">1000</amount_in_cents>
311
- <start_date type="datetime">2011-03-11T18:48:35Z</start_date>
300
+ <start_date type="datetime">2011-03-18T18:49:03Z</start_date>
312
301
  <end_date nil="true" type="datetime"></end_date>
313
302
  <invoice_number nil="true" type="integer"></invoice_number>
314
303
  <description>charge description</description>
315
- <created_at type="datetime">2011-03-11T18:48:35Z</created_at>
304
+ <created_at type="datetime">2011-03-18T18:49:03Z</created_at>
316
305
  </charge>
317
306
  </charges>
318
307