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/billing-find-1298594128
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "517"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "579"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:48:10 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=1505756d8c971b5a0b8062a34cae3e15; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=abab0e65ef84e6269c138a24726759e8; 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>1d705101bab1441692800835bd1e2f3e</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:48:30Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -108,26 +105,24 @@
|
|
108
105
|
response: !ruby/struct:VCR::Response
|
109
106
|
status: !ruby/struct:VCR::ResponseStatus
|
110
107
|
code: 200
|
111
|
-
message:
|
108
|
+
message: OK
|
112
109
|
headers:
|
113
110
|
x-runtime:
|
114
|
-
- "
|
111
|
+
- "6314"
|
115
112
|
content-type:
|
116
113
|
- application/xml; charset=utf-8
|
117
114
|
etag:
|
118
|
-
- "\"
|
115
|
+
- "\"e3b7134ae916e5e18a320c1034e0a2da\""
|
119
116
|
cache-control:
|
120
117
|
- private, max-age=0, must-revalidate
|
121
118
|
content-length:
|
122
119
|
- "638"
|
123
|
-
|
124
|
-
-
|
125
|
-
date:
|
126
|
-
- Fri, 11 Mar 2011 18:48:14 GMT
|
120
|
+
set-cookie:
|
121
|
+
- _recurly_session=cb8f5d44fac916fc5e5bf80fd461a944; domain=.recurly.local; path=/; HttpOnly
|
127
122
|
connection:
|
128
123
|
- close
|
129
|
-
|
130
|
-
-
|
124
|
+
server:
|
125
|
+
- thin 1.2.7 codename No Hup
|
131
126
|
body: |
|
132
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
133
128
|
<billing_info>
|
@@ -149,7 +144,7 @@
|
|
149
144
|
<month type="integer">3</month>
|
150
145
|
<year type="integer">2012</year>
|
151
146
|
</credit_card>
|
152
|
-
<updated_at type="datetime">2011-03-
|
147
|
+
<updated_at type="datetime">2011-03-18T18:48:38Z</updated_at>
|
153
148
|
</billing_info>
|
154
149
|
|
155
150
|
http_version: "1.1"
|
@@ -172,26 +167,24 @@
|
|
172
167
|
response: !ruby/struct:VCR::Response
|
173
168
|
status: !ruby/struct:VCR::ResponseStatus
|
174
169
|
code: 200
|
175
|
-
message:
|
170
|
+
message: OK
|
176
171
|
headers:
|
177
172
|
x-runtime:
|
178
|
-
- "
|
173
|
+
- "296"
|
179
174
|
content-type:
|
180
175
|
- application/xml; charset=utf-8
|
181
176
|
etag:
|
182
|
-
- "\"
|
177
|
+
- "\"e3b7134ae916e5e18a320c1034e0a2da\""
|
183
178
|
cache-control:
|
184
179
|
- private, max-age=0, must-revalidate
|
185
180
|
content-length:
|
186
181
|
- "638"
|
187
|
-
|
188
|
-
-
|
189
|
-
date:
|
190
|
-
- Fri, 11 Mar 2011 18:48:16 GMT
|
182
|
+
set-cookie:
|
183
|
+
- _recurly_session=3204e1565e3e132e35cddd4ade53388d; domain=.recurly.local; path=/; HttpOnly
|
191
184
|
connection:
|
192
185
|
- close
|
193
|
-
|
194
|
-
-
|
186
|
+
server:
|
187
|
+
- thin 1.2.7 codename No Hup
|
195
188
|
body: |
|
196
189
|
<?xml version="1.0" encoding="UTF-8"?>
|
197
190
|
<billing_info>
|
@@ -213,7 +206,7 @@
|
|
213
206
|
<month type="integer">3</month>
|
214
207
|
<year type="integer">2012</year>
|
215
208
|
</credit_card>
|
216
|
-
<updated_at type="datetime">2011-03-
|
209
|
+
<updated_at type="datetime">2011-03-18T18:48:38Z</updated_at>
|
217
210
|
</billing_info>
|
218
211
|
|
219
212
|
http_version: "1.1"
|
@@ -236,26 +229,24 @@
|
|
236
229
|
response: !ruby/struct:VCR::Response
|
237
230
|
status: !ruby/struct:VCR::ResponseStatus
|
238
231
|
code: 200
|
239
|
-
message:
|
232
|
+
message: OK
|
240
233
|
headers:
|
241
234
|
x-runtime:
|
242
|
-
- "
|
235
|
+
- "270"
|
243
236
|
content-type:
|
244
237
|
- application/xml; charset=utf-8
|
245
238
|
etag:
|
246
|
-
- "\"
|
239
|
+
- "\"e3b7134ae916e5e18a320c1034e0a2da\""
|
247
240
|
cache-control:
|
248
241
|
- private, max-age=0, must-revalidate
|
249
242
|
content-length:
|
250
243
|
- "638"
|
251
|
-
|
252
|
-
-
|
253
|
-
date:
|
254
|
-
- Fri, 11 Mar 2011 18:48:18 GMT
|
244
|
+
set-cookie:
|
245
|
+
- _recurly_session=b521f6c9c1c6af5a457459982d3598bd; domain=.recurly.local; path=/; HttpOnly
|
255
246
|
connection:
|
256
247
|
- close
|
257
|
-
|
258
|
-
-
|
248
|
+
server:
|
249
|
+
- thin 1.2.7 codename No Hup
|
259
250
|
body: |
|
260
251
|
<?xml version="1.0" encoding="UTF-8"?>
|
261
252
|
<billing_info>
|
@@ -277,7 +268,7 @@
|
|
277
268
|
<month type="integer">3</month>
|
278
269
|
<year type="integer">2012</year>
|
279
270
|
</credit_card>
|
280
|
-
<updated_at type="datetime">2011-03-
|
271
|
+
<updated_at type="datetime">2011-03-18T18:48:38Z</updated_at>
|
281
272
|
</billing_info>
|
282
273
|
|
283
274
|
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:
|
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-update-1298594128
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "308"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "583"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:47:57 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=60da6540dc78c51d95100b7ef866f800; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=606480533b04b660cd8dd557f981e665; 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>f939a4e2313645b787685047e9a7a006</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:48:09Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -108,26 +105,24 @@
|
|
108
105
|
response: !ruby/struct:VCR::Response
|
109
106
|
status: !ruby/struct:VCR::ResponseStatus
|
110
107
|
code: 200
|
111
|
-
message:
|
108
|
+
message: OK
|
112
109
|
headers:
|
113
110
|
x-runtime:
|
114
|
-
- "
|
111
|
+
- "6304"
|
115
112
|
content-type:
|
116
113
|
- application/xml; charset=utf-8
|
117
114
|
etag:
|
118
|
-
- "\"
|
115
|
+
- "\"bad0320e0c2ce86084137cc852165cb8\""
|
119
116
|
cache-control:
|
120
117
|
- private, max-age=0, must-revalidate
|
121
118
|
content-length:
|
122
119
|
- "640"
|
123
|
-
|
124
|
-
-
|
125
|
-
date:
|
126
|
-
- Fri, 11 Mar 2011 18:48:00 GMT
|
120
|
+
set-cookie:
|
121
|
+
- _recurly_session=0324ad3080f8f38caa139860d7aa5f46; domain=.recurly.local; path=/; HttpOnly
|
127
122
|
connection:
|
128
123
|
- close
|
129
|
-
|
130
|
-
-
|
124
|
+
server:
|
125
|
+
- thin 1.2.7 codename No Hup
|
131
126
|
body: |
|
132
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
133
128
|
<billing_info>
|
@@ -149,7 +144,7 @@
|
|
149
144
|
<month type="integer">3</month>
|
150
145
|
<year type="integer">2012</year>
|
151
146
|
</credit_card>
|
152
|
-
<updated_at type="datetime">2011-03-
|
147
|
+
<updated_at type="datetime">2011-03-18T18:48:17Z</updated_at>
|
153
148
|
</billing_info>
|
154
149
|
|
155
150
|
http_version: "1.1"
|
@@ -189,26 +184,24 @@
|
|
189
184
|
response: !ruby/struct:VCR::Response
|
190
185
|
status: !ruby/struct:VCR::ResponseStatus
|
191
186
|
code: 200
|
192
|
-
message:
|
187
|
+
message: OK
|
193
188
|
headers:
|
194
189
|
x-runtime:
|
195
|
-
- "
|
190
|
+
- "7011"
|
196
191
|
content-type:
|
197
192
|
- application/xml; charset=utf-8
|
198
193
|
etag:
|
199
|
-
- "\"
|
194
|
+
- "\"15984c324407ef4d9d148911bf6bd838\""
|
200
195
|
cache-control:
|
201
196
|
- private, max-age=0, must-revalidate
|
202
197
|
content-length:
|
203
198
|
- "652"
|
204
|
-
|
205
|
-
-
|
206
|
-
date:
|
207
|
-
- Fri, 11 Mar 2011 18:48:05 GMT
|
199
|
+
set-cookie:
|
200
|
+
- _recurly_session=fc39b02c6b80b4d9d89768bcc1356deb; domain=.recurly.local; path=/; HttpOnly
|
208
201
|
connection:
|
209
202
|
- close
|
210
|
-
|
211
|
-
-
|
203
|
+
server:
|
204
|
+
- thin 1.2.7 codename No Hup
|
212
205
|
body: |
|
213
206
|
<?xml version="1.0" encoding="UTF-8"?>
|
214
207
|
<billing_info>
|
@@ -230,7 +223,7 @@
|
|
230
223
|
<month type="integer">3</month>
|
231
224
|
<year type="integer">2012</year>
|
232
225
|
</credit_card>
|
233
|
-
<updated_at type="datetime">2011-03-
|
226
|
+
<updated_at type="datetime">2011-03-18T18:48:26Z</updated_at>
|
234
227
|
</billing_info>
|
235
228
|
|
236
229
|
http_version: "1.1"
|
@@ -253,26 +246,24 @@
|
|
253
246
|
response: !ruby/struct:VCR::Response
|
254
247
|
status: !ruby/struct:VCR::ResponseStatus
|
255
248
|
code: 200
|
256
|
-
message:
|
249
|
+
message: OK
|
257
250
|
headers:
|
258
251
|
x-runtime:
|
259
|
-
- "
|
252
|
+
- "320"
|
260
253
|
content-type:
|
261
254
|
- application/xml; charset=utf-8
|
262
255
|
etag:
|
263
|
-
- "\"
|
256
|
+
- "\"15984c324407ef4d9d148911bf6bd838\""
|
264
257
|
cache-control:
|
265
258
|
- private, max-age=0, must-revalidate
|
266
259
|
content-length:
|
267
260
|
- "652"
|
268
|
-
|
269
|
-
-
|
270
|
-
date:
|
271
|
-
- Fri, 11 Mar 2011 18:48:07 GMT
|
261
|
+
set-cookie:
|
262
|
+
- _recurly_session=f20807b1f99a177bad483c4ffe2b6496; domain=.recurly.local; path=/; HttpOnly
|
272
263
|
connection:
|
273
264
|
- close
|
274
|
-
|
275
|
-
-
|
265
|
+
server:
|
266
|
+
- thin 1.2.7 codename No Hup
|
276
267
|
body: |
|
277
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
278
269
|
<billing_info>
|
@@ -294,7 +285,7 @@
|
|
294
285
|
<month type="integer">3</month>
|
295
286
|
<year type="integer">2012</year>
|
296
287
|
</credit_card>
|
297
|
-
<updated_at type="datetime">2011-03-
|
288
|
+
<updated_at type="datetime">2011-03-18T18:48:26Z</updated_at>
|
298
289
|
</billing_info>
|
299
290
|
|
300
291
|
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:
|
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-create-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "314"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:49:11 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=d2e0d7fe7583ce1d8aab83e47300fb3b; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=bc95669aba8e3a7020146e38274086ba; 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>23f5a239eaef4f84883383301751c34c</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:49:35Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -108,26 +105,24 @@
|
|
108
105
|
response: !ruby/struct:VCR::Response
|
109
106
|
status: !ruby/struct:VCR::ResponseStatus
|
110
107
|
code: 200
|
111
|
-
message:
|
108
|
+
message: OK
|
112
109
|
headers:
|
113
110
|
x-runtime:
|
114
|
-
- "
|
111
|
+
- "6477"
|
115
112
|
content-type:
|
116
113
|
- application/xml; charset=utf-8
|
117
114
|
etag:
|
118
|
-
- "\"
|
115
|
+
- "\"164f9d1e404e42e66fa1e50c5344e065\""
|
119
116
|
cache-control:
|
120
117
|
- private, max-age=0, must-revalidate
|
121
118
|
content-length:
|
122
119
|
- "639"
|
123
|
-
|
124
|
-
-
|
125
|
-
date:
|
126
|
-
- Fri, 11 Mar 2011 18:49:15 GMT
|
120
|
+
set-cookie:
|
121
|
+
- _recurly_session=b8f3f3f6f8615269ead1be844183eee4; domain=.recurly.local; path=/; HttpOnly
|
127
122
|
connection:
|
128
123
|
- close
|
129
|
-
|
130
|
-
-
|
124
|
+
server:
|
125
|
+
- thin 1.2.7 codename No Hup
|
131
126
|
body: |
|
132
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
133
128
|
<billing_info>
|
@@ -149,7 +144,7 @@
|
|
149
144
|
<month type="integer">3</month>
|
150
145
|
<year type="integer">2012</year>
|
151
146
|
</credit_card>
|
152
|
-
<updated_at type="datetime">2011-03-
|
147
|
+
<updated_at type="datetime">2011-03-18T18:49:44Z</updated_at>
|
153
148
|
</billing_info>
|
154
149
|
|
155
150
|
http_version: "1.1"
|
@@ -178,42 +173,40 @@
|
|
178
173
|
response: !ruby/struct:VCR::Response
|
179
174
|
status: !ruby/struct:VCR::ResponseStatus
|
180
175
|
code: 201
|
181
|
-
message:
|
176
|
+
message: Created
|
182
177
|
headers:
|
183
178
|
cache-control:
|
184
179
|
- no-cache
|
185
180
|
x-runtime:
|
186
|
-
- "
|
181
|
+
- "292"
|
187
182
|
content-type:
|
188
183
|
- application/xml; charset=utf-8
|
189
184
|
content-length:
|
190
185
|
- "524"
|
191
|
-
|
192
|
-
-
|
193
|
-
date:
|
194
|
-
- Fri, 11 Mar 2011 18:49:17 GMT
|
186
|
+
set-cookie:
|
187
|
+
- _recurly_session=e04cbd83c46e4d24b830e28b17bb3e9c; domain=.recurly.local; path=/; HttpOnly
|
195
188
|
connection:
|
196
189
|
- close
|
197
|
-
|
198
|
-
-
|
190
|
+
server:
|
191
|
+
- thin 1.2.7 codename No Hup
|
199
192
|
body: |
|
200
193
|
<?xml version="1.0" encoding="UTF-8"?>
|
201
194
|
<charge type="charge">
|
202
|
-
<id>
|
195
|
+
<id>8172b73143634d32a25f17dba6ff66d7</id>
|
203
196
|
<account_code>charge-create-1297746103</account_code>
|
204
197
|
<amount_in_cents type="integer">250</amount_in_cents>
|
205
|
-
<start_date type="datetime">2011-03-
|
198
|
+
<start_date type="datetime">2011-03-18T18:49:46Z</start_date>
|
206
199
|
<end_date nil="true" type="datetime"></end_date>
|
207
200
|
<invoice_number nil="true" type="integer"></invoice_number>
|
208
201
|
<description>virtual cow maintence fee</description>
|
209
|
-
<created_at type="datetime">2011-03-
|
202
|
+
<created_at type="datetime">2011-03-18T18:49:46Z</created_at>
|
210
203
|
</charge>
|
211
204
|
|
212
205
|
http_version: "1.1"
|
213
206
|
- !ruby/struct:VCR::HTTPInteraction
|
214
207
|
request: !ruby/struct:VCR::Request
|
215
208
|
method: :get
|
216
|
-
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-create-1297746103/charges/
|
209
|
+
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/charge-create-1297746103/charges/8172b73143634d32a25f17dba6ff66d7.xml
|
217
210
|
body:
|
218
211
|
headers:
|
219
212
|
authorization:
|
@@ -229,37 +222,35 @@
|
|
229
222
|
response: !ruby/struct:VCR::Response
|
230
223
|
status: !ruby/struct:VCR::ResponseStatus
|
231
224
|
code: 200
|
232
|
-
message:
|
225
|
+
message: OK
|
233
226
|
headers:
|
234
227
|
x-runtime:
|
235
|
-
- "
|
228
|
+
- "274"
|
236
229
|
content-type:
|
237
230
|
- application/xml; charset=utf-8
|
238
231
|
etag:
|
239
|
-
- "\"
|
232
|
+
- "\"45bc773a376aa73da9ba5299920d3b47\""
|
240
233
|
cache-control:
|
241
234
|
- private, max-age=0, must-revalidate
|
242
235
|
content-length:
|
243
236
|
- "524"
|
244
|
-
|
245
|
-
-
|
246
|
-
date:
|
247
|
-
- Fri, 11 Mar 2011 18:49:19 GMT
|
237
|
+
set-cookie:
|
238
|
+
- _recurly_session=20981d0bca9ffcd99350d4edf15af3af; domain=.recurly.local; path=/; HttpOnly
|
248
239
|
connection:
|
249
240
|
- close
|
250
|
-
|
251
|
-
-
|
241
|
+
server:
|
242
|
+
- thin 1.2.7 codename No Hup
|
252
243
|
body: |
|
253
244
|
<?xml version="1.0" encoding="UTF-8"?>
|
254
245
|
<charge type="charge">
|
255
|
-
<id>
|
246
|
+
<id>8172b73143634d32a25f17dba6ff66d7</id>
|
256
247
|
<account_code>charge-create-1297746103</account_code>
|
257
248
|
<amount_in_cents type="integer">250</amount_in_cents>
|
258
|
-
<start_date type="datetime">2011-03-
|
249
|
+
<start_date type="datetime">2011-03-18T18:49:46Z</start_date>
|
259
250
|
<end_date nil="true" type="datetime"></end_date>
|
260
251
|
<invoice_number nil="true" type="integer"></invoice_number>
|
261
252
|
<description>virtual cow maintence fee</description>
|
262
|
-
<created_at type="datetime">2011-03-
|
253
|
+
<created_at type="datetime">2011-03-18T18:49:46Z</created_at>
|
263
254
|
</charge>
|
264
255
|
|
265
256
|
http_version: "1.1"
|