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.
- data/lib/patches/rails2/active_resource/connection.rb +10 -0
- data/lib/patches/{active_resource → rails3/active_resource}/connection.rb +0 -0
- data/lib/recurly.rb +7 -2
- data/lib/recurly/transparent.rb +4 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/transaction_spec.rb +5 -2
- data/spec/unit/transparent_spec.rb +59 -1
- data/spec/vcr/account/accept-language-account/1297746103.yml +8 -11
- data/spec/vcr/account/close/1297746103.yml +23 -30
- data/spec/vcr/account/create-blank/1297746103.yml +5 -7
- data/spec/vcr/account/create-duplicate/1297746103.yml +13 -18
- data/spec/vcr/account/create-min/1297746103.yml +8 -11
- data/spec/vcr/account/create/1297746103.yml +8 -11
- data/spec/vcr/account/find/1297746103.yml +22 -29
- data/spec/vcr/account/list/1297746103.yml +150 -196
- data/spec/vcr/account/update/1297746103.yml +37 -46
- data/spec/vcr/billing/create/1298594128.yml +24 -31
- data/spec/vcr/billing/destroy/1298594128.yml +35 -46
- data/spec/vcr/billing/find/1298594128.yml +32 -41
- data/spec/vcr/billing/update/1298594128.yml +32 -41
- data/spec/vcr/charge/create/1297746103.yml +36 -45
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +46 -59
- data/spec/vcr/charge/list-all/1297746103.yml +51 -62
- data/spec/vcr/charge/list-invoiced/1297746103.yml +82 -97
- data/spec/vcr/charge/list-pending/1297746103.yml +51 -62
- data/spec/vcr/charge/lookup/1297746103.yml +28 -35
- data/spec/vcr/coupon/create/1299714521.yml +23 -30
- data/spec/vcr/coupon/destroy/1299714521.yml +26 -35
- data/spec/vcr/credit/create/1299714599.yml +28 -35
- data/spec/vcr/credit/delete/1299714599.yml +41 -52
- data/spec/vcr/credit/list/1299714599.yml +51 -62
- data/spec/vcr/credit/lookup/1299714599.yml +28 -35
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +21 -28
- data/spec/vcr/invoice/create/1297746103.yml +50 -61
- data/spec/vcr/invoice/list/1297746103.yml +73 -88
- data/spec/vcr/invoice/lookup/1297746103.yml +52 -63
- data/spec/vcr/plan/all.yml +18 -24
- data/spec/vcr/plan/find.yml +18 -24
- data/spec/vcr/plan/update.yml +18 -24
- data/spec/vcr/subscription/addons/add/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/create/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/remove/1297746103.yml +331 -38
- data/spec/vcr/subscription/cancel-with-code/1297746103.yml +71 -86
- data/spec/vcr/subscription/cancel/1297746103.yml +59 -72
- data/spec/vcr/subscription/change1/1297746103.yml +55 -68
- data/spec/vcr/subscription/change2/1297746103.yml +55 -68
- data/spec/vcr/subscription/create/1297746103.yml +25 -32
- data/spec/vcr/subscription/find/1297746103.yml +35 -44
- data/spec/vcr/subscription/reactivate/1297746103.yml +64 -79
- data/spec/vcr/subscription/refund-full/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-none/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-partial/1297746103.yml +52 -65
- data/spec/vcr/transaction/all/1300473500.yml +387 -0
- data/spec/vcr/transaction/create-no-account/{1297746103.yml → 1300473500.yml} +19 -22
- data/spec/vcr/transaction/create-with-account/{1297746103.yml → 1300473500.yml} +55 -43
- data/spec/vcr/transaction/list-filled/1300473500.yml +603 -0
- data/spec/vcr/transaction/list-initial/{1297746103.yml → 1300473500.yml} +45 -52
- data/spec/vcr/transaction/lookup/1300473500.yml +561 -0
- data/spec/vcr/transaction/refund/{1297746103.yml → 1300473500.yml} +113 -41
- data/spec/vcr/transaction/void/1300473500.yml +620 -0
- metadata +21 -20
- data/spec/vcr/transaction/all/1297746103.yml +0 -389
- data/spec/vcr/transaction/list-filled/1297746103.yml +0 -213
- data/spec/vcr/transaction/lookup/1297746103.yml +0 -213
- 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:
|
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
|
-
- "
|
42
|
+
- "317"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "601"
|
47
|
-
|
48
|
-
-
|
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
|
-
|
54
|
-
-
|
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>
|
69
|
-
<created_at type="datetime">2011-03-
|
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:
|
96
|
+
message: Created
|
100
97
|
headers:
|
101
98
|
cache-control:
|
102
99
|
- no-cache
|
103
100
|
x-runtime:
|
104
|
-
- "
|
101
|
+
- "280"
|
105
102
|
content-type:
|
106
103
|
- application/xml; charset=utf-8
|
107
104
|
content-length:
|
108
105
|
- "527"
|
109
|
-
|
110
|
-
-
|
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
|
-
|
116
|
-
-
|
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>
|
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-
|
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-
|
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/
|
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:
|
145
|
+
message: OK
|
151
146
|
headers:
|
152
147
|
x-runtime:
|
153
|
-
- "
|
148
|
+
- "89"
|
154
149
|
content-type:
|
155
150
|
- application/xml; charset=utf-8
|
156
151
|
etag:
|
157
|
-
- "\"
|
152
|
+
- "\"53121dd0b2f62bc4af06d59f02598ab5\""
|
158
153
|
cache-control:
|
159
154
|
- private, max-age=0, must-revalidate
|
160
155
|
content-length:
|
161
156
|
- "527"
|
162
|
-
|
163
|
-
-
|
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
|
-
|
169
|
-
-
|
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>
|
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-
|
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-
|
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/
|
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:
|
194
|
+
message: OK
|
202
195
|
headers:
|
203
196
|
cache-control:
|
204
197
|
- no-cache
|
205
198
|
x-runtime:
|
206
|
-
- "
|
199
|
+
- "270"
|
207
200
|
content-type:
|
208
201
|
- application/xml; charset=utf-8
|
209
202
|
content-length:
|
210
203
|
- "1"
|
211
|
-
|
212
|
-
-
|
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
|
-
|
218
|
-
-
|
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/
|
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:
|
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
|
-
|
249
|
-
-
|
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
|
-
|
255
|
-
-
|
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
|
-
- "
|
280
|
+
- "263"
|
292
281
|
content-type:
|
293
282
|
- application/xml; charset=utf-8
|
294
283
|
content-length:
|
295
284
|
- "98"
|
296
|
-
|
297
|
-
-
|
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
|
-
|
303
|
-
-
|
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:
|
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
|
-
- "
|
42
|
+
- "490"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "585"
|
47
|
-
|
48
|
-
-
|
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
|
-
|
54
|
-
-
|
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>
|
69
|
-
<created_at type="datetime">2011-03-
|
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:
|
96
|
+
message: Created
|
100
97
|
headers:
|
101
98
|
cache-control:
|
102
99
|
- no-cache
|
103
100
|
x-runtime:
|
104
|
-
- "
|
101
|
+
- "299"
|
105
102
|
content-type:
|
106
103
|
- application/xml; charset=utf-8
|
107
104
|
content-length:
|
108
105
|
- "520"
|
109
|
-
|
110
|
-
-
|
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
|
-
|
116
|
-
-
|
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>
|
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-
|
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-
|
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:
|
151
|
+
message: Created
|
157
152
|
headers:
|
158
153
|
cache-control:
|
159
154
|
- no-cache
|
160
155
|
x-runtime:
|
161
|
-
- "
|
156
|
+
- "283"
|
162
157
|
content-type:
|
163
158
|
- application/xml; charset=utf-8
|
164
159
|
content-length:
|
165
160
|
- "520"
|
166
|
-
|
167
|
-
-
|
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
|
-
|
173
|
-
-
|
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>
|
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-
|
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-
|
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:
|
206
|
+
message: Created
|
214
207
|
headers:
|
215
208
|
cache-control:
|
216
209
|
- no-cache
|
217
210
|
x-runtime:
|
218
|
-
- "
|
211
|
+
- "291"
|
219
212
|
content-type:
|
220
213
|
- application/xml; charset=utf-8
|
221
214
|
content-length:
|
222
215
|
- "520"
|
223
|
-
|
224
|
-
-
|
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
|
-
|
230
|
-
-
|
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>
|
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-
|
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-
|
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:
|
255
|
+
message: OK
|
265
256
|
headers:
|
266
257
|
x-runtime:
|
267
|
-
- "
|
258
|
+
- "259"
|
268
259
|
content-type:
|
269
260
|
- application/xml; charset=utf-8
|
270
261
|
etag:
|
271
|
-
- "\"
|
262
|
+
- "\"404269d0af50f9d854b417e9f014c166\""
|
272
263
|
cache-control:
|
273
264
|
- private, max-age=0, must-revalidate
|
274
265
|
content-length:
|
275
266
|
- "1576"
|
276
|
-
|
277
|
-
-
|
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
|
-
|
283
|
-
-
|
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>
|
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-
|
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-
|
284
|
+
<created_at type="datetime">2011-03-18T18:49:07Z</created_at>
|
296
285
|
</charge>
|
297
286
|
<charge type="charge">
|
298
|
-
<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-
|
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-
|
294
|
+
<created_at type="datetime">2011-03-18T18:49:05Z</created_at>
|
306
295
|
</charge>
|
307
296
|
<charge type="charge">
|
308
|
-
<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-
|
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-
|
304
|
+
<created_at type="datetime">2011-03-18T18:49:03Z</created_at>
|
316
305
|
</charge>
|
317
306
|
</charges>
|
318
307
|
|