recurly 0.4.4 → 0.4.5
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/recurly/base.rb +4 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/billing_info_spec.rb +33 -0
- data/spec/vcr/account/accept-language-account/1301979678.yml +4 -4
- data/spec/vcr/account/close/1301979678.yml +11 -11
- data/spec/vcr/account/create/1301979678.yml +4 -4
- data/spec/vcr/account/create-blank/1301979678.yml +2 -2
- data/spec/vcr/account/create-duplicate/1301979678.yml +6 -6
- data/spec/vcr/account/create-min/1301979678.yml +4 -4
- data/spec/vcr/account/find/1301979678.yml +10 -10
- data/spec/vcr/account/list/1301979678.yml +74 -74
- data/spec/vcr/account/update/1301979678.yml +21 -21
- data/spec/vcr/billing/create/{1298594128.yml → 1302025874.yml} +20 -20
- data/spec/vcr/billing/destroy/{1298594128.yml → 1302025874.yml} +25 -25
- data/spec/vcr/billing/errors/1302025874.yml +126 -0
- data/spec/vcr/billing/find/{1298594128.yml → 1302025874.yml} +27 -27
- data/spec/vcr/billing/update/{1298594128.yml → 1302025874.yml} +27 -27
- data/spec/vcr/charge/create/1297746103.yml +20 -20
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
- data/spec/vcr/charge/list-all/1297746103.yml +31 -31
- data/spec/vcr/charge/list-invoiced/1297746103.yml +53 -53
- data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
- data/spec/vcr/charge/lookup/1297746103.yml +16 -16
- data/spec/vcr/coupon/create/1299714521.yml +11 -11
- data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
- data/spec/vcr/credit/create/1299714599.yml +16 -16
- data/spec/vcr/credit/delete/1299714599.yml +21 -21
- data/spec/vcr/credit/list/1299714599.yml +31 -31
- data/spec/vcr/credit/lookup/1299714599.yml +16 -16
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +32 -32
- data/spec/vcr/plan/all.yml +6 -6
- data/spec/vcr/plan/find.yml +6 -6
- data/spec/vcr/plan/update.yml +6 -6
- data/spec/vcr/subscription/addons/add/1301885121.yml +31 -31
- data/spec/vcr/subscription/addons/create/1301885121.yml +19 -19
- data/spec/vcr/subscription/addons/remove/1301885121.yml +31 -31
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/change1/1301881900.yml +31 -31
- data/spec/vcr/subscription/change2/1301881900.yml +31 -31
- data/spec/vcr/subscription/create/1301881900.yml +13 -13
- data/spec/vcr/subscription/find/1301881900.yml +19 -19
- data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
- data/spec/vcr/subscription/refund-full/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
- data/spec/vcr/transaction/all/1301883347.yml +55 -55
- data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
- data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
- data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
- data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
- data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
- data/spec/vcr/transaction/refund/1301883347.yml +19 -19
- data/spec/vcr/transaction/void/1301883347.yml +26 -26
- data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
- metadata +12 -10
@@ -6,7 +6,7 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>billing-update-
|
9
|
+
<account-code>billing-update-1302025874</account-code>
|
10
10
|
<first-name>Verena</first-name>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
@@ -37,15 +37,15 @@
|
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
|
-
- http://app.recurly.local:3000/accounts/billing-update-
|
40
|
+
- http://app.recurly.local:3000/accounts/billing-update-1302025874
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "396"
|
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=
|
48
|
+
- _recurly_session=df0476329e8c3075f0e52556fb931b07; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -53,8 +53,8 @@
|
|
53
53
|
body: |
|
54
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
55
55
|
<account>
|
56
|
-
<id>billing-update-
|
57
|
-
<account_code>billing-update-
|
56
|
+
<id>billing-update-1302025874</id>
|
57
|
+
<account_code>billing-update-1302025874</account_code>
|
58
58
|
<username></username>
|
59
59
|
<email>verena@test.com</email>
|
60
60
|
<first_name>Verena</first_name>
|
@@ -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>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>59525322871f44ce86f10f98f71731df</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:40:20Z</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%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-
|
74
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-1302025874/billing_info.xml
|
75
75
|
body: |
|
76
76
|
<?xml version="1.0" encoding="UTF-8"?>
|
77
77
|
<billing-info>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<month type="integer">4</month>
|
89
89
|
<verification-value>123</verification-value>
|
90
90
|
</credit-card>
|
91
|
-
<account-code>billing-update-
|
91
|
+
<account-code>billing-update-1302025874</account-code>
|
92
92
|
</billing-info>
|
93
93
|
|
94
94
|
headers:
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "1631"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"0b19837df378ba0a527aeb4e5b2bcc1e\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "640"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=13535ea932837a2db36d1e9b431fae33; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -126,7 +126,7 @@
|
|
126
126
|
body: |
|
127
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
128
128
|
<billing_info>
|
129
|
-
<account_code>billing-update-
|
129
|
+
<account_code>billing-update-1302025874</account_code>
|
130
130
|
<first_name>Verena</first_name>
|
131
131
|
<last_name>Test</last_name>
|
132
132
|
<address1>123 Test St</address1>
|
@@ -144,14 +144,14 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T19:40:24Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
151
151
|
- !ruby/struct:VCR::HTTPInteraction
|
152
152
|
request: !ruby/struct:VCR::Request
|
153
153
|
method: :put
|
154
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-
|
154
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-1302025874/billing_info.xml
|
155
155
|
body: |
|
156
156
|
<?xml version="1.0" encoding="UTF-8"?>
|
157
157
|
<billing-info>
|
@@ -187,17 +187,17 @@
|
|
187
187
|
message: OK
|
188
188
|
headers:
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "1799"
|
191
191
|
content-type:
|
192
192
|
- application/xml; charset=utf-8
|
193
193
|
etag:
|
194
|
-
- "\"
|
194
|
+
- "\"a595833be30103928b75a4817ab969e0\""
|
195
195
|
cache-control:
|
196
196
|
- private, max-age=0, must-revalidate
|
197
197
|
content-length:
|
198
198
|
- "652"
|
199
199
|
set-cookie:
|
200
|
-
- _recurly_session=
|
200
|
+
- _recurly_session=408d72e909b7e33f04738b7a92c7564c; domain=.recurly.local; path=/; HttpOnly
|
201
201
|
connection:
|
202
202
|
- close
|
203
203
|
server:
|
@@ -205,7 +205,7 @@
|
|
205
205
|
body: |
|
206
206
|
<?xml version="1.0" encoding="UTF-8"?>
|
207
207
|
<billing_info>
|
208
|
-
<account_code>billing-update-
|
208
|
+
<account_code>billing-update-1302025874</account_code>
|
209
209
|
<first_name>Verena</first_name>
|
210
210
|
<last_name>Test</last_name>
|
211
211
|
<address1>1st Ave South, Apt 5001</address1>
|
@@ -223,14 +223,14 @@
|
|
223
223
|
<month type="integer">4</month>
|
224
224
|
<year type="integer">2012</year>
|
225
225
|
</credit_card>
|
226
|
-
<updated_at type="datetime">2011-04-
|
226
|
+
<updated_at type="datetime">2011-04-05T19:40:28Z</updated_at>
|
227
227
|
</billing_info>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
230
230
|
- !ruby/struct:VCR::HTTPInteraction
|
231
231
|
request: !ruby/struct:VCR::Request
|
232
232
|
method: :get
|
233
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-
|
233
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/billing-update-1302025874/billing_info.xml
|
234
234
|
body:
|
235
235
|
headers:
|
236
236
|
authorization:
|
@@ -249,17 +249,17 @@
|
|
249
249
|
message: OK
|
250
250
|
headers:
|
251
251
|
x-runtime:
|
252
|
-
- "
|
252
|
+
- "519"
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
etag:
|
256
|
-
- "\"
|
256
|
+
- "\"a595833be30103928b75a4817ab969e0\""
|
257
257
|
cache-control:
|
258
258
|
- private, max-age=0, must-revalidate
|
259
259
|
content-length:
|
260
260
|
- "652"
|
261
261
|
set-cookie:
|
262
|
-
- _recurly_session=
|
262
|
+
- _recurly_session=34f1b81f27d36637766393349160fc04; domain=.recurly.local; path=/; HttpOnly
|
263
263
|
connection:
|
264
264
|
- close
|
265
265
|
server:
|
@@ -267,7 +267,7 @@
|
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<billing_info>
|
270
|
-
<account_code>billing-update-
|
270
|
+
<account_code>billing-update-1302025874</account_code>
|
271
271
|
<first_name>Verena</first_name>
|
272
272
|
<last_name>Test</last_name>
|
273
273
|
<address1>1st Ave South, Apt 5001</address1>
|
@@ -285,7 +285,7 @@
|
|
285
285
|
<month type="integer">4</month>
|
286
286
|
<year type="integer">2012</year>
|
287
287
|
</credit_card>
|
288
|
-
<updated_at type="datetime">2011-04-
|
288
|
+
<updated_at type="datetime">2011-04-05T19:40:28Z</updated_at>
|
289
289
|
</billing_info>
|
290
290
|
|
291
291
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-create-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "402"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=44eb721e251dbe4fb9c1cd969565fde1; 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>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>e473777a9a2b4ec198d3695f5186bafc</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:41:51Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "1644"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"6904ea55efe56129672b03934206f4ed\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "639"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=d9e3ad282fa07b6cbc68674379e2a3f4; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T19:41:55Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -178,13 +178,13 @@
|
|
178
178
|
cache-control:
|
179
179
|
- no-cache
|
180
180
|
x-runtime:
|
181
|
-
- "
|
181
|
+
- "84"
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
content-length:
|
185
185
|
- "524"
|
186
186
|
set-cookie:
|
187
|
-
- _recurly_session=
|
187
|
+
- _recurly_session=a6b6d6b8f337e03b0fd3bf9e198c88e2; domain=.recurly.local; path=/; HttpOnly
|
188
188
|
connection:
|
189
189
|
- close
|
190
190
|
server:
|
@@ -192,21 +192,21 @@
|
|
192
192
|
body: |
|
193
193
|
<?xml version="1.0" encoding="UTF-8"?>
|
194
194
|
<charge type="charge">
|
195
|
-
<id>
|
195
|
+
<id>7d0fa9006bed45b785079388c82c07f0</id>
|
196
196
|
<account_code>charge-create-1297746103</account_code>
|
197
197
|
<amount_in_cents type="integer">250</amount_in_cents>
|
198
|
-
<start_date type="datetime">2011-04-
|
198
|
+
<start_date type="datetime">2011-04-05T19:41:58Z</start_date>
|
199
199
|
<end_date nil="true" type="datetime"></end_date>
|
200
200
|
<invoice_number nil="true" type="integer"></invoice_number>
|
201
201
|
<description>virtual cow maintence fee</description>
|
202
|
-
<created_at type="datetime">2011-04-
|
202
|
+
<created_at type="datetime">2011-04-05T19:41:58Z</created_at>
|
203
203
|
</charge>
|
204
204
|
|
205
205
|
http_version: "1.1"
|
206
206
|
- !ruby/struct:VCR::HTTPInteraction
|
207
207
|
request: !ruby/struct:VCR::Request
|
208
208
|
method: :get
|
209
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-create-1297746103/charges/
|
209
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-create-1297746103/charges/7d0fa9006bed45b785079388c82c07f0.xml
|
210
210
|
body:
|
211
211
|
headers:
|
212
212
|
authorization:
|
@@ -225,17 +225,17 @@
|
|
225
225
|
message: OK
|
226
226
|
headers:
|
227
227
|
x-runtime:
|
228
|
-
- "
|
228
|
+
- "74"
|
229
229
|
content-type:
|
230
230
|
- application/xml; charset=utf-8
|
231
231
|
etag:
|
232
|
-
- "\"
|
232
|
+
- "\"d642c44c48e5e9433bbc91b2bfa1fcd6\""
|
233
233
|
cache-control:
|
234
234
|
- private, max-age=0, must-revalidate
|
235
235
|
content-length:
|
236
236
|
- "524"
|
237
237
|
set-cookie:
|
238
|
-
- _recurly_session=
|
238
|
+
- _recurly_session=5bb2ecbc5a0c6a145182446c40f03442; domain=.recurly.local; path=/; HttpOnly
|
239
239
|
connection:
|
240
240
|
- close
|
241
241
|
server:
|
@@ -243,14 +243,14 @@
|
|
243
243
|
body: |
|
244
244
|
<?xml version="1.0" encoding="UTF-8"?>
|
245
245
|
<charge type="charge">
|
246
|
-
<id>
|
246
|
+
<id>7d0fa9006bed45b785079388c82c07f0</id>
|
247
247
|
<account_code>charge-create-1297746103</account_code>
|
248
248
|
<amount_in_cents type="integer">250</amount_in_cents>
|
249
|
-
<start_date type="datetime">2011-04-
|
249
|
+
<start_date type="datetime">2011-04-05T19:41:58Z</start_date>
|
250
250
|
<end_date nil="true" type="datetime"></end_date>
|
251
251
|
<invoice_number nil="true" type="integer"></invoice_number>
|
252
252
|
<description>virtual cow maintence fee</description>
|
253
|
-
<created_at type="datetime">2011-04-
|
253
|
+
<created_at type="datetime">2011-04-05T19:41:58Z</created_at>
|
254
254
|
</charge>
|
255
255
|
|
256
256
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "403"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "601"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=0e00fe416bfcdc26523d31770d3a6df1; 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>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>a7daa2fecca3493596da02cedf8b29b1</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:42:12Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "376"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "527"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=8062584b8166a564f2bb68a35b30d4ac; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>9a5161861d2c4c46900693925c236656</id>
|
116
116
|
<account_code>charge-delete-uinvoiced-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T19:42:14Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>inconvenience fee</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T19:42:15Z</created_at>
|
123
123
|
</charge>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/9a5161861d2c4c46900693925c236656.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "71"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"6f2b124df571f4456cf09c129fb9c8a8\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "527"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=0cdea8db9373be911c77bf51513ecddc; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,21 +163,21 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>9a5161861d2c4c46900693925c236656</id>
|
167
167
|
<account_code>charge-delete-uinvoiced-1297746103</account_code>
|
168
168
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T19:42:14Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>inconvenience fee</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T19:42:15Z</created_at>
|
174
174
|
</charge>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
177
177
|
- !ruby/struct:VCR::HTTPInteraction
|
178
178
|
request: !ruby/struct:VCR::Request
|
179
179
|
method: :delete
|
180
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/
|
180
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/9a5161861d2c4c46900693925c236656.xml
|
181
181
|
body:
|
182
182
|
headers:
|
183
183
|
authorization:
|
@@ -196,13 +196,13 @@
|
|
196
196
|
cache-control:
|
197
197
|
- no-cache
|
198
198
|
x-runtime:
|
199
|
-
- "
|
199
|
+
- "65"
|
200
200
|
content-type:
|
201
201
|
- application/xml; charset=utf-8
|
202
202
|
content-length:
|
203
203
|
- "1"
|
204
204
|
set-cookie:
|
205
|
-
- _recurly_session=
|
205
|
+
- _recurly_session=71f9ed2783c75af896651207422b3bc1; domain=.recurly.local; path=/; HttpOnly
|
206
206
|
connection:
|
207
207
|
- close
|
208
208
|
server:
|
@@ -212,7 +212,7 @@
|
|
212
212
|
- !ruby/struct:VCR::HTTPInteraction
|
213
213
|
request: !ruby/struct:VCR::Request
|
214
214
|
method: :get
|
215
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/
|
215
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/9a5161861d2c4c46900693925c236656.xml
|
216
216
|
body:
|
217
217
|
headers:
|
218
218
|
authorization:
|
@@ -237,7 +237,7 @@
|
|
237
237
|
content-length:
|
238
238
|
- "92"
|
239
239
|
set-cookie:
|
240
|
-
- _recurly_session=
|
240
|
+
- _recurly_session=e98fdeb627e172a6f79aeef4eba7ccf7; domain=.recurly.local; path=/; HttpOnly
|
241
241
|
connection:
|
242
242
|
- close
|
243
243
|
server:
|
@@ -277,13 +277,13 @@
|
|
277
277
|
cache-control:
|
278
278
|
- no-cache
|
279
279
|
x-runtime:
|
280
|
-
- "
|
280
|
+
- "346"
|
281
281
|
content-type:
|
282
282
|
- application/xml; charset=utf-8
|
283
283
|
content-length:
|
284
284
|
- "98"
|
285
285
|
set-cookie:
|
286
|
-
- _recurly_session=
|
286
|
+
- _recurly_session=b81699ba19d3bafa4bb89f03ec9b672e; domain=.recurly.local; path=/; HttpOnly
|
287
287
|
connection:
|
288
288
|
- close
|
289
289
|
server:
|