recurly 0.4.3 → 0.4.4
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 +9 -4
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/formats/xml_with_errors.rb +2 -2
- data/lib/recurly/rails3/recurly.rake +2 -2
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +3 -3
- data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
- data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
- data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
- data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
- data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
- data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
- data/spec/vcr/billing/create/1298594128.yml +12 -12
- data/spec/vcr/billing/destroy/1298594128.yml +15 -15
- data/spec/vcr/billing/find/1298594128.yml +16 -16
- data/spec/vcr/billing/update/1298594128.yml +16 -16
- 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 +54 -54
- 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-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
- 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/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
- data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- 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 +27 -27
- 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 +43 -43
- 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 +27 -33
- data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
- data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
- data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/billing-update-1298594128
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "265"
|
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=057a57df933ea1e9a9aa1f3f4ab0117a; 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>3c1a8fec5ad14083a22ab4c744f089d9</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:14:27Z</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
|
+
- "2079"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"01825d6d341d49b4dd35ed4a7d212eb7\""
|
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=bb64e05f637d35d8991d948b22db2376; 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-05T05:14:30Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -187,17 +187,17 @@
|
|
187
187
|
message: OK
|
188
188
|
headers:
|
189
189
|
x-runtime:
|
190
|
-
- "
|
190
|
+
- "2398"
|
191
191
|
content-type:
|
192
192
|
- application/xml; charset=utf-8
|
193
193
|
etag:
|
194
|
-
- "\"
|
194
|
+
- "\"c8f891266685378b09f645856a646fd6\""
|
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=da42c62d0aee5c5dec73493f2710f2d3; domain=.recurly.local; path=/; HttpOnly
|
201
201
|
connection:
|
202
202
|
- close
|
203
203
|
server:
|
@@ -223,7 +223,7 @@
|
|
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-05T05:14:34Z</updated_at>
|
227
227
|
</billing_info>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -249,17 +249,17 @@
|
|
249
249
|
message: OK
|
250
250
|
headers:
|
251
251
|
x-runtime:
|
252
|
-
- "
|
252
|
+
- "238"
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
etag:
|
256
|
-
- "\"
|
256
|
+
- "\"c8f891266685378b09f645856a646fd6\""
|
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=af560efe6a88e9fe907e51e96252ca25; domain=.recurly.local; path=/; HttpOnly
|
263
263
|
connection:
|
264
264
|
- close
|
265
265
|
server:
|
@@ -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-05T05:14:34Z</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
|
+
- "460"
|
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=42e7cb282cb105d0bb2dd0a39ceb3bc2; 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>6e196744a84e4c66b4c1a3d82ab928a9</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:15:30Z</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
|
+
- "2231"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"d26b91891cc8dbd78effd1be02d39943\""
|
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=329cf8880bd29165d9d815a31006bcbe; 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-05T05:15:34Z</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
|
+
- "246"
|
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=fbac9d42009430f8f6b989c21a2cb0cc; 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>dc739b1e13bf4d2b80246a508756bb59</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-05T05:15:36Z</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-05T05:15:36Z</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/dc739b1e13bf4d2b80246a508756bb59.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
|
+
- "231"
|
229
229
|
content-type:
|
230
230
|
- application/xml; charset=utf-8
|
231
231
|
etag:
|
232
|
-
- "\"
|
232
|
+
- "\"6aa0ba17f3d51f6061e1860d52e8f5e6\""
|
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=760c7bdfede565ab7c350310d89f4242; 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>dc739b1e13bf4d2b80246a508756bb59</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-05T05:15:36Z</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-05T05:15:36Z</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
|
+
- "281"
|
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=8e625ea26c070621c5f48a09fadd99fe; 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>77b40582a56248099ffe720ece93a472</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:15:45Z</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
|
+
- "251"
|
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=8f01c5951dc4052002cb7aece9fd77fb; 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>fb87893df07d456da7f890ec401b8916</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-05T05:15:47Z</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-05T05:15:47Z</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/fb87893df07d456da7f890ec401b8916.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
|
+
- "229"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"6a5d01e75235bbee0a38b1929bf4c43a\""
|
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=f2cc4abb752f8e9264e49f0aef8fa7b3; 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>fb87893df07d456da7f890ec401b8916</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-05T05:15:47Z</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-05T05:15:47Z</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/fb87893df07d456da7f890ec401b8916.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
|
+
- "80"
|
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=f2f6d05d49470eeaedc56ca00df578ec; 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/fb87893df07d456da7f890ec401b8916.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=2f83e3cf99d9d4f79fe972cd166966f2; 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
|
+
- "215"
|
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=600476e574ebd56a648c2d2524996e40; domain=.recurly.local; path=/; HttpOnly
|
287
287
|
connection:
|
288
288
|
- close
|
289
289
|
server:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-list-all-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "469"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "585"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=aad866eafe60549496e2ab492091a77c; 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>bf6e426a873e4bf8bd4fcddaffdcf06d</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:14:58Z</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
|
+
- "241"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "520"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=4d84c7744d79a3e3e0f3d1a6db176657; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,14 +112,14 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>bb9347b48de84aaaa2f9eb0aee51aceb</id>
|
116
116
|
<account_code>charge-list-all-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:15:00Z</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>charge description</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:15:00Z</created_at>
|
123
123
|
</charge>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
@@ -153,13 +153,13 @@
|
|
153
153
|
cache-control:
|
154
154
|
- no-cache
|
155
155
|
x-runtime:
|
156
|
-
- "
|
156
|
+
- "244"
|
157
157
|
content-type:
|
158
158
|
- application/xml; charset=utf-8
|
159
159
|
content-length:
|
160
160
|
- "520"
|
161
161
|
set-cookie:
|
162
|
-
- _recurly_session=
|
162
|
+
- _recurly_session=76a65c16e9b97a6fa5136cd17b00d190; domain=.recurly.local; path=/; HttpOnly
|
163
163
|
connection:
|
164
164
|
- close
|
165
165
|
server:
|
@@ -167,14 +167,14 @@
|
|
167
167
|
body: |
|
168
168
|
<?xml version="1.0" encoding="UTF-8"?>
|
169
169
|
<charge type="charge">
|
170
|
-
<id>
|
170
|
+
<id>d3ec9ef0ea9a47628bc60c5074fe1c98</id>
|
171
171
|
<account_code>charge-list-all-1297746103</account_code>
|
172
172
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
173
|
-
<start_date type="datetime">2011-04-
|
173
|
+
<start_date type="datetime">2011-04-05T05:15:02Z</start_date>
|
174
174
|
<end_date nil="true" type="datetime"></end_date>
|
175
175
|
<invoice_number nil="true" type="integer"></invoice_number>
|
176
176
|
<description>charge description</description>
|
177
|
-
<created_at type="datetime">2011-04-
|
177
|
+
<created_at type="datetime">2011-04-05T05:15:02Z</created_at>
|
178
178
|
</charge>
|
179
179
|
|
180
180
|
http_version: "1.1"
|
@@ -208,13 +208,13 @@
|
|
208
208
|
cache-control:
|
209
209
|
- no-cache
|
210
210
|
x-runtime:
|
211
|
-
- "
|
211
|
+
- "245"
|
212
212
|
content-type:
|
213
213
|
- application/xml; charset=utf-8
|
214
214
|
content-length:
|
215
215
|
- "520"
|
216
216
|
set-cookie:
|
217
|
-
- _recurly_session=
|
217
|
+
- _recurly_session=d60c65b8f75f2b3d3bb987abb8222f12; domain=.recurly.local; path=/; HttpOnly
|
218
218
|
connection:
|
219
219
|
- close
|
220
220
|
server:
|
@@ -222,14 +222,14 @@
|
|
222
222
|
body: |
|
223
223
|
<?xml version="1.0" encoding="UTF-8"?>
|
224
224
|
<charge type="charge">
|
225
|
-
<id>
|
225
|
+
<id>704fa2d0e58f4357a5f946a5c2a25fe1</id>
|
226
226
|
<account_code>charge-list-all-1297746103</account_code>
|
227
227
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
228
|
-
<start_date type="datetime">2011-04-
|
228
|
+
<start_date type="datetime">2011-04-05T05:15:03Z</start_date>
|
229
229
|
<end_date nil="true" type="datetime"></end_date>
|
230
230
|
<invoice_number nil="true" type="integer"></invoice_number>
|
231
231
|
<description>charge description</description>
|
232
|
-
<created_at type="datetime">2011-04-
|
232
|
+
<created_at type="datetime">2011-04-05T05:15:03Z</created_at>
|
233
233
|
</charge>
|
234
234
|
|
235
235
|
http_version: "1.1"
|
@@ -255,17 +255,17 @@
|
|
255
255
|
message: OK
|
256
256
|
headers:
|
257
257
|
x-runtime:
|
258
|
-
- "
|
258
|
+
- "68"
|
259
259
|
content-type:
|
260
260
|
- application/xml; charset=utf-8
|
261
261
|
etag:
|
262
|
-
- "\"
|
262
|
+
- "\"9ff84f9a8ab3c665ce7518394b4504d6\""
|
263
263
|
cache-control:
|
264
264
|
- private, max-age=0, must-revalidate
|
265
265
|
content-length:
|
266
266
|
- "1576"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=9d852ca0b81f769634930b63f787ab0c; domain=.recurly.local; path=/; HttpOnly
|
269
269
|
connection:
|
270
270
|
- close
|
271
271
|
server:
|
@@ -274,34 +274,34 @@
|
|
274
274
|
<?xml version="1.0" encoding="UTF-8"?>
|
275
275
|
<charges type="array">
|
276
276
|
<charge type="charge">
|
277
|
-
<id>
|
277
|
+
<id>704fa2d0e58f4357a5f946a5c2a25fe1</id>
|
278
278
|
<account_code>charge-list-all-1297746103</account_code>
|
279
279
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
280
|
-
<start_date type="datetime">2011-04-
|
280
|
+
<start_date type="datetime">2011-04-05T05:15:03Z</start_date>
|
281
281
|
<end_date nil="true" type="datetime"></end_date>
|
282
282
|
<invoice_number nil="true" type="integer"></invoice_number>
|
283
283
|
<description>charge description</description>
|
284
|
-
<created_at type="datetime">2011-04-
|
284
|
+
<created_at type="datetime">2011-04-05T05:15:03Z</created_at>
|
285
285
|
</charge>
|
286
286
|
<charge type="charge">
|
287
|
-
<id>
|
287
|
+
<id>d3ec9ef0ea9a47628bc60c5074fe1c98</id>
|
288
288
|
<account_code>charge-list-all-1297746103</account_code>
|
289
289
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2011-04-
|
290
|
+
<start_date type="datetime">2011-04-05T05:15:02Z</start_date>
|
291
291
|
<end_date nil="true" type="datetime"></end_date>
|
292
292
|
<invoice_number nil="true" type="integer"></invoice_number>
|
293
293
|
<description>charge description</description>
|
294
|
-
<created_at type="datetime">2011-04-
|
294
|
+
<created_at type="datetime">2011-04-05T05:15:02Z</created_at>
|
295
295
|
</charge>
|
296
296
|
<charge type="charge">
|
297
|
-
<id>
|
297
|
+
<id>bb9347b48de84aaaa2f9eb0aee51aceb</id>
|
298
298
|
<account_code>charge-list-all-1297746103</account_code>
|
299
299
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
300
|
-
<start_date type="datetime">2011-04-
|
300
|
+
<start_date type="datetime">2011-04-05T05:15:00Z</start_date>
|
301
301
|
<end_date nil="true" type="datetime"></end_date>
|
302
302
|
<invoice_number nil="true" type="integer"></invoice_number>
|
303
303
|
<description>charge description</description>
|
304
|
-
<created_at type="datetime">2011-04-
|
304
|
+
<created_at type="datetime">2011-04-05T05:15:00Z</created_at>
|
305
305
|
</charge>
|
306
306
|
</charges>
|
307
307
|
|