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
@@ -6,7 +6,7 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>subscription-addons-create-
|
9
|
+
<account-code>subscription-addons-create-1301885121</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/subscription-addons-create-
|
40
|
+
- http://app.recurly.local:3000/accounts/subscription-addons-create-1301885121
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "286"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "607"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=2429e6d6cb005637bb9709e38af16cc9; 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>subscription-addons-create-
|
57
|
-
<account_code>subscription-addons-create-
|
56
|
+
<id>subscription-addons-create-1301885121</id>
|
57
|
+
<account_code>subscription-addons-create-1301885121</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>3e609df7c0784eb2ad323e461915d886</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:13:33Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -90,7 +90,7 @@
|
|
90
90
|
message: OK
|
91
91
|
headers:
|
92
92
|
x-runtime:
|
93
|
-
- "
|
93
|
+
- "247"
|
94
94
|
content-type:
|
95
95
|
- application/xml; charset=utf-8
|
96
96
|
etag:
|
@@ -100,7 +100,7 @@
|
|
100
100
|
content-length:
|
101
101
|
- "1558"
|
102
102
|
set-cookie:
|
103
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=7db718b3653ff95239210613c10ada68; domain=.recurly.local; path=/; HttpOnly
|
104
104
|
connection:
|
105
105
|
- close
|
106
106
|
server:
|
@@ -148,14 +148,14 @@
|
|
148
148
|
- !ruby/struct:VCR::HTTPInteraction
|
149
149
|
request: !ruby/struct:VCR::Request
|
150
150
|
method: :post
|
151
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-create-
|
151
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-create-1301885121/subscription.xml
|
152
152
|
body: |
|
153
153
|
<?xml version="1.0" encoding="UTF-8"?>
|
154
154
|
<subscription>
|
155
155
|
<plan-code>paid</plan-code>
|
156
156
|
<quantity type="integer">1</quantity>
|
157
157
|
<account>
|
158
|
-
<account-code>subscription-addons-create-
|
158
|
+
<account-code>subscription-addons-create-1301885121</account-code>
|
159
159
|
<first-name>Verena</first-name>
|
160
160
|
<last-name>Test</last-name>
|
161
161
|
<email>verena@test.com</email>
|
@@ -176,12 +176,12 @@
|
|
176
176
|
</credit-card>
|
177
177
|
</billing-info>
|
178
178
|
<accept-language type="yaml" nil="true"></accept-language>
|
179
|
-
<id>subscription-addons-create-
|
179
|
+
<id>subscription-addons-create-1301885121</id>
|
180
180
|
<username type="yaml" nil="true"></username>
|
181
181
|
<balance-in-cents type="integer">0</balance-in-cents>
|
182
182
|
<closed type="boolean">false</closed>
|
183
|
-
<hosted-login-token>
|
184
|
-
<created-at type="datetime">2011-04-
|
183
|
+
<hosted-login-token>3e609df7c0784eb2ad323e461915d886</hosted-login-token>
|
184
|
+
<created-at type="datetime">2011-04-05T05:13:33Z</created-at>
|
185
185
|
<state>active</state>
|
186
186
|
</account>
|
187
187
|
<add-ons type="array">
|
@@ -213,13 +213,13 @@
|
|
213
213
|
cache-control:
|
214
214
|
- no-cache
|
215
215
|
x-runtime:
|
216
|
-
- "
|
216
|
+
- "4799"
|
217
217
|
content-type:
|
218
218
|
- application/xml; charset=utf-8
|
219
219
|
content-length:
|
220
220
|
- "1105"
|
221
221
|
set-cookie:
|
222
|
-
- _recurly_session=
|
222
|
+
- _recurly_session=39f5296d0f36dda1c6057fa734241282; domain=.recurly.local; path=/; HttpOnly
|
223
223
|
connection:
|
224
224
|
- close
|
225
225
|
server:
|
@@ -227,8 +227,8 @@
|
|
227
227
|
body: |
|
228
228
|
<?xml version="1.0" encoding="UTF-8"?>
|
229
229
|
<subscription>
|
230
|
-
<id>subscription-addons-create-
|
231
|
-
<account_code>subscription-addons-create-
|
230
|
+
<id>subscription-addons-create-1301885121</id>
|
231
|
+
<account_code>subscription-addons-create-1301885121</account_code>
|
232
232
|
<plan>
|
233
233
|
<plan_code>paid</plan_code>
|
234
234
|
<name>Paid</name>
|
@@ -236,11 +236,11 @@
|
|
236
236
|
<state>active</state>
|
237
237
|
<quantity type="integer">1</quantity>
|
238
238
|
<total_amount_in_cents type="integer">1200</total_amount_in_cents>
|
239
|
-
<activated_at type="datetime">2011-04-
|
239
|
+
<activated_at type="datetime">2011-04-05T05:13:37Z</activated_at>
|
240
240
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
241
241
|
<expires_at nil="true" type="datetime"></expires_at>
|
242
|
-
<current_period_started_at type="datetime">2011-04-
|
243
|
-
<current_period_ends_at type="datetime">2011-05-
|
242
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:37Z</current_period_started_at>
|
243
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:37Z</current_period_ends_at>
|
244
244
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
245
245
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
246
246
|
<add_ons type="array">
|
@@ -256,7 +256,7 @@
|
|
256
256
|
- !ruby/struct:VCR::HTTPInteraction
|
257
257
|
request: !ruby/struct:VCR::Request
|
258
258
|
method: :get
|
259
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-create-
|
259
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-create-1301885121/subscription.xml
|
260
260
|
body:
|
261
261
|
headers:
|
262
262
|
authorization:
|
@@ -275,17 +275,17 @@
|
|
275
275
|
message: OK
|
276
276
|
headers:
|
277
277
|
x-runtime:
|
278
|
-
- "
|
278
|
+
- "290"
|
279
279
|
content-type:
|
280
280
|
- application/xml; charset=utf-8
|
281
281
|
etag:
|
282
|
-
- "\"
|
282
|
+
- "\"46aa8928ae485d0d12be1d11f118338a\""
|
283
283
|
cache-control:
|
284
284
|
- private, max-age=0, must-revalidate
|
285
285
|
content-length:
|
286
286
|
- "1105"
|
287
287
|
set-cookie:
|
288
|
-
- _recurly_session=
|
288
|
+
- _recurly_session=b028fe00f9b0215702d335c07e45e4cc; domain=.recurly.local; path=/; HttpOnly
|
289
289
|
connection:
|
290
290
|
- close
|
291
291
|
server:
|
@@ -293,8 +293,8 @@
|
|
293
293
|
body: |
|
294
294
|
<?xml version="1.0" encoding="UTF-8"?>
|
295
295
|
<subscription>
|
296
|
-
<id>subscription-addons-create-
|
297
|
-
<account_code>subscription-addons-create-
|
296
|
+
<id>subscription-addons-create-1301885121</id>
|
297
|
+
<account_code>subscription-addons-create-1301885121</account_code>
|
298
298
|
<plan>
|
299
299
|
<plan_code>paid</plan_code>
|
300
300
|
<name>Paid</name>
|
@@ -302,11 +302,11 @@
|
|
302
302
|
<state>active</state>
|
303
303
|
<quantity type="integer">1</quantity>
|
304
304
|
<total_amount_in_cents type="integer">1200</total_amount_in_cents>
|
305
|
-
<activated_at type="datetime">2011-04-
|
305
|
+
<activated_at type="datetime">2011-04-05T05:13:37Z</activated_at>
|
306
306
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
307
307
|
<expires_at nil="true" type="datetime"></expires_at>
|
308
|
-
<current_period_started_at type="datetime">2011-04-
|
309
|
-
<current_period_ends_at type="datetime">2011-05-
|
308
|
+
<current_period_started_at type="datetime">2011-04-05T05:13:37Z</current_period_started_at>
|
309
|
+
<current_period_ends_at type="datetime">2011-05-05T05:13:37Z</current_period_ends_at>
|
310
310
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
311
311
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
312
312
|
<add_ons type="array">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>subscription-addons-remove-
|
9
|
+
<account-code>subscription-addons-remove-1301885121</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/subscription-addons-remove-
|
40
|
+
- http://app.recurly.local:3000/accounts/subscription-addons-remove-1301885121
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "455"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "607"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=b57528cdcedd7dd339e4b94ed0001b96; 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>subscription-addons-remove-
|
57
|
-
<account_code>subscription-addons-remove-
|
56
|
+
<id>subscription-addons-remove-1301885121</id>
|
57
|
+
<account_code>subscription-addons-remove-1301885121</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>5ac61a54d11646fda3c1ee151a7db47f</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:14:02Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -90,7 +90,7 @@
|
|
90
90
|
message: OK
|
91
91
|
headers:
|
92
92
|
x-runtime:
|
93
|
-
- "
|
93
|
+
- "81"
|
94
94
|
content-type:
|
95
95
|
- application/xml; charset=utf-8
|
96
96
|
etag:
|
@@ -100,7 +100,7 @@
|
|
100
100
|
content-length:
|
101
101
|
- "1558"
|
102
102
|
set-cookie:
|
103
|
-
- _recurly_session=
|
103
|
+
- _recurly_session=69ade96a26ec95db5bd27294416cf16b; domain=.recurly.local; path=/; HttpOnly
|
104
104
|
connection:
|
105
105
|
- close
|
106
106
|
server:
|
@@ -148,14 +148,14 @@
|
|
148
148
|
- !ruby/struct:VCR::HTTPInteraction
|
149
149
|
request: !ruby/struct:VCR::Request
|
150
150
|
method: :post
|
151
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-
|
151
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-1301885121/subscription.xml
|
152
152
|
body: |
|
153
153
|
<?xml version="1.0" encoding="UTF-8"?>
|
154
154
|
<subscription>
|
155
155
|
<plan-code>paid</plan-code>
|
156
156
|
<quantity type="integer">1</quantity>
|
157
157
|
<account>
|
158
|
-
<account-code>subscription-addons-remove-
|
158
|
+
<account-code>subscription-addons-remove-1301885121</account-code>
|
159
159
|
<first-name>Verena</first-name>
|
160
160
|
<last-name>Test</last-name>
|
161
161
|
<email>verena@test.com</email>
|
@@ -176,12 +176,12 @@
|
|
176
176
|
</credit-card>
|
177
177
|
</billing-info>
|
178
178
|
<accept-language type="yaml" nil="true"></accept-language>
|
179
|
-
<id>subscription-addons-remove-
|
179
|
+
<id>subscription-addons-remove-1301885121</id>
|
180
180
|
<username type="yaml" nil="true"></username>
|
181
181
|
<balance-in-cents type="integer">0</balance-in-cents>
|
182
182
|
<closed type="boolean">false</closed>
|
183
|
-
<hosted-login-token>
|
184
|
-
<created-at type="datetime">2011-04-
|
183
|
+
<hosted-login-token>5ac61a54d11646fda3c1ee151a7db47f</hosted-login-token>
|
184
|
+
<created-at type="datetime">2011-04-05T05:14:02Z</created-at>
|
185
185
|
<state>active</state>
|
186
186
|
</account>
|
187
187
|
<add-ons type="array">
|
@@ -213,13 +213,13 @@
|
|
213
213
|
cache-control:
|
214
214
|
- no-cache
|
215
215
|
x-runtime:
|
216
|
-
- "
|
216
|
+
- "5156"
|
217
217
|
content-type:
|
218
218
|
- application/xml; charset=utf-8
|
219
219
|
content-length:
|
220
220
|
- "1109"
|
221
221
|
set-cookie:
|
222
|
-
- _recurly_session=
|
222
|
+
- _recurly_session=4674f5936c0feda6983a81d7458d54a0; domain=.recurly.local; path=/; HttpOnly
|
223
223
|
connection:
|
224
224
|
- close
|
225
225
|
server:
|
@@ -227,8 +227,8 @@
|
|
227
227
|
body: |
|
228
228
|
<?xml version="1.0" encoding="UTF-8"?>
|
229
229
|
<subscription>
|
230
|
-
<id>subscription-addons-remove-
|
231
|
-
<account_code>subscription-addons-remove-
|
230
|
+
<id>subscription-addons-remove-1301885121</id>
|
231
|
+
<account_code>subscription-addons-remove-1301885121</account_code>
|
232
232
|
<plan>
|
233
233
|
<plan_code>paid</plan_code>
|
234
234
|
<name>Paid</name>
|
@@ -236,11 +236,11 @@
|
|
236
236
|
<state>active</state>
|
237
237
|
<quantity type="integer">1</quantity>
|
238
238
|
<total_amount_in_cents type="integer">100200</total_amount_in_cents>
|
239
|
-
<activated_at type="datetime">2011-04-
|
239
|
+
<activated_at type="datetime">2011-04-05T05:14:06Z</activated_at>
|
240
240
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
241
241
|
<expires_at nil="true" type="datetime"></expires_at>
|
242
|
-
<current_period_started_at type="datetime">2011-04-
|
243
|
-
<current_period_ends_at type="datetime">2011-05-
|
242
|
+
<current_period_started_at type="datetime">2011-04-05T05:14:06Z</current_period_started_at>
|
243
|
+
<current_period_ends_at type="datetime">2011-05-05T05:14:06Z</current_period_ends_at>
|
244
244
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
245
245
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
246
246
|
<add_ons type="array">
|
@@ -256,7 +256,7 @@
|
|
256
256
|
- !ruby/struct:VCR::HTTPInteraction
|
257
257
|
request: !ruby/struct:VCR::Request
|
258
258
|
method: :get
|
259
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-
|
259
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-1301885121/subscription.xml
|
260
260
|
body:
|
261
261
|
headers:
|
262
262
|
authorization:
|
@@ -275,17 +275,17 @@
|
|
275
275
|
message: OK
|
276
276
|
headers:
|
277
277
|
x-runtime:
|
278
|
-
- "
|
278
|
+
- "278"
|
279
279
|
content-type:
|
280
280
|
- application/xml; charset=utf-8
|
281
281
|
etag:
|
282
|
-
- "\"
|
282
|
+
- "\"92c9b85c8dc6ba563e7a270c467bafe2\""
|
283
283
|
cache-control:
|
284
284
|
- private, max-age=0, must-revalidate
|
285
285
|
content-length:
|
286
286
|
- "1109"
|
287
287
|
set-cookie:
|
288
|
-
- _recurly_session=
|
288
|
+
- _recurly_session=193a855b6c733b8b7a8f79a5123f46bd; domain=.recurly.local; path=/; HttpOnly
|
289
289
|
connection:
|
290
290
|
- close
|
291
291
|
server:
|
@@ -293,8 +293,8 @@
|
|
293
293
|
body: |
|
294
294
|
<?xml version="1.0" encoding="UTF-8"?>
|
295
295
|
<subscription>
|
296
|
-
<id>subscription-addons-remove-
|
297
|
-
<account_code>subscription-addons-remove-
|
296
|
+
<id>subscription-addons-remove-1301885121</id>
|
297
|
+
<account_code>subscription-addons-remove-1301885121</account_code>
|
298
298
|
<plan>
|
299
299
|
<plan_code>paid</plan_code>
|
300
300
|
<name>Paid</name>
|
@@ -302,11 +302,11 @@
|
|
302
302
|
<state>active</state>
|
303
303
|
<quantity type="integer">1</quantity>
|
304
304
|
<total_amount_in_cents type="integer">100200</total_amount_in_cents>
|
305
|
-
<activated_at type="datetime">2011-04-
|
305
|
+
<activated_at type="datetime">2011-04-05T05:14:06Z</activated_at>
|
306
306
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
307
307
|
<expires_at nil="true" type="datetime"></expires_at>
|
308
|
-
<current_period_started_at type="datetime">2011-04-
|
309
|
-
<current_period_ends_at type="datetime">2011-05-
|
308
|
+
<current_period_started_at type="datetime">2011-04-05T05:14:06Z</current_period_started_at>
|
309
|
+
<current_period_ends_at type="datetime">2011-05-05T05:14:06Z</current_period_ends_at>
|
310
310
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
311
311
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
312
312
|
<add_ons type="array">
|
@@ -322,7 +322,7 @@
|
|
322
322
|
- !ruby/struct:VCR::HTTPInteraction
|
323
323
|
request: !ruby/struct:VCR::Request
|
324
324
|
method: :put
|
325
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-
|
325
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-1301885121/subscription.xml
|
326
326
|
body: |
|
327
327
|
<?xml version="1.0" encoding="UTF-8"?>
|
328
328
|
<subscription>
|
@@ -347,17 +347,17 @@
|
|
347
347
|
message: OK
|
348
348
|
headers:
|
349
349
|
x-runtime:
|
350
|
-
- "
|
350
|
+
- "1989"
|
351
351
|
content-type:
|
352
352
|
- application/xml; charset=utf-8
|
353
353
|
etag:
|
354
|
-
- "\"
|
354
|
+
- "\"948b80d9e53f75b0dcb3734d25d6faef\""
|
355
355
|
cache-control:
|
356
356
|
- private, max-age=0, must-revalidate
|
357
357
|
content-length:
|
358
358
|
- "921"
|
359
359
|
set-cookie:
|
360
|
-
- _recurly_session=
|
360
|
+
- _recurly_session=2d3579be1711574152a28d9fb80b379c; domain=.recurly.local; path=/; HttpOnly
|
361
361
|
connection:
|
362
362
|
- close
|
363
363
|
server:
|
@@ -365,8 +365,8 @@
|
|
365
365
|
body: |
|
366
366
|
<?xml version="1.0" encoding="UTF-8"?>
|
367
367
|
<subscription>
|
368
|
-
<id>subscription-addons-remove-
|
369
|
-
<account_code>subscription-addons-remove-
|
368
|
+
<id>subscription-addons-remove-1301885121</id>
|
369
|
+
<account_code>subscription-addons-remove-1301885121</account_code>
|
370
370
|
<plan>
|
371
371
|
<plan_code>paid</plan_code>
|
372
372
|
<name>Paid</name>
|
@@ -374,11 +374,11 @@
|
|
374
374
|
<state>active</state>
|
375
375
|
<quantity type="integer">1</quantity>
|
376
376
|
<total_amount_in_cents type="integer">200</total_amount_in_cents>
|
377
|
-
<activated_at type="datetime">2011-04-
|
377
|
+
<activated_at type="datetime">2011-04-05T05:14:14Z</activated_at>
|
378
378
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
379
379
|
<expires_at nil="true" type="datetime"></expires_at>
|
380
|
-
<current_period_started_at type="datetime">2011-04-
|
381
|
-
<current_period_ends_at type="datetime">2011-05-
|
380
|
+
<current_period_started_at type="datetime">2011-04-05T05:14:06Z</current_period_started_at>
|
381
|
+
<current_period_ends_at type="datetime">2011-05-05T05:14:06Z</current_period_ends_at>
|
382
382
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
383
383
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
384
384
|
<add_ons type="array">
|
@@ -389,7 +389,7 @@
|
|
389
389
|
- !ruby/struct:VCR::HTTPInteraction
|
390
390
|
request: !ruby/struct:VCR::Request
|
391
391
|
method: :get
|
392
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-
|
392
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/subscription-addons-remove-1301885121/subscription.xml
|
393
393
|
body:
|
394
394
|
headers:
|
395
395
|
authorization:
|
@@ -408,17 +408,17 @@
|
|
408
408
|
message: OK
|
409
409
|
headers:
|
410
410
|
x-runtime:
|
411
|
-
- "
|
411
|
+
- "260"
|
412
412
|
content-type:
|
413
413
|
- application/xml; charset=utf-8
|
414
414
|
etag:
|
415
|
-
- "\"
|
415
|
+
- "\"948b80d9e53f75b0dcb3734d25d6faef\""
|
416
416
|
cache-control:
|
417
417
|
- private, max-age=0, must-revalidate
|
418
418
|
content-length:
|
419
419
|
- "921"
|
420
420
|
set-cookie:
|
421
|
-
- _recurly_session=
|
421
|
+
- _recurly_session=5ad843719d0ff448d9f245b38f9c4dac; domain=.recurly.local; path=/; HttpOnly
|
422
422
|
connection:
|
423
423
|
- close
|
424
424
|
server:
|
@@ -426,8 +426,8 @@
|
|
426
426
|
body: |
|
427
427
|
<?xml version="1.0" encoding="UTF-8"?>
|
428
428
|
<subscription>
|
429
|
-
<id>subscription-addons-remove-
|
430
|
-
<account_code>subscription-addons-remove-
|
429
|
+
<id>subscription-addons-remove-1301885121</id>
|
430
|
+
<account_code>subscription-addons-remove-1301885121</account_code>
|
431
431
|
<plan>
|
432
432
|
<plan_code>paid</plan_code>
|
433
433
|
<name>Paid</name>
|
@@ -435,11 +435,11 @@
|
|
435
435
|
<state>active</state>
|
436
436
|
<quantity type="integer">1</quantity>
|
437
437
|
<total_amount_in_cents type="integer">200</total_amount_in_cents>
|
438
|
-
<activated_at type="datetime">2011-04-
|
438
|
+
<activated_at type="datetime">2011-04-05T05:14:14Z</activated_at>
|
439
439
|
<canceled_at nil="true" type="datetime"></canceled_at>
|
440
440
|
<expires_at nil="true" type="datetime"></expires_at>
|
441
|
-
<current_period_started_at type="datetime">2011-04-
|
442
|
-
<current_period_ends_at type="datetime">2011-05-
|
441
|
+
<current_period_started_at type="datetime">2011-04-05T05:14:06Z</current_period_started_at>
|
442
|
+
<current_period_ends_at type="datetime">2011-05-05T05:14:06Z</current_period_ends_at>
|
443
443
|
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
444
444
|
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
445
445
|
<add_ons type="array">
|