recurly 0.2.3 → 0.2.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.rb +1 -0
- data/lib/recurly/charge.rb +6 -0
- data/lib/recurly/subscription.rb +23 -5
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +45 -0
- data/spec/integration/credit_spec.rb +19 -0
- data/spec/integration/subscription_spec.rb +62 -9
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +101 -101
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +23 -23
- data/spec/vcr/billing/find/1286682213.yml +21 -21
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +24 -24
- data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/create/1287460732.yml +171 -0
- data/spec/vcr/credit/create/1287461340.yml +171 -0
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
- data/spec/vcr/credit/list/1286681343.yml +36 -36
- data/spec/vcr/credit/list/1287460732.yml +299 -0
- data/spec/vcr/credit/list/1287461340.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/credit/lookup/1287460732.yml +171 -0
- data/spec/vcr/credit/lookup/1287461340.yml +171 -0
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +52 -52
- data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
- data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
- data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
- data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
- data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
- data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/transaction/all/1287186411.yml +80 -80
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +60 -60
- metadata +67 -56
- data/spec/vcr/subscription/change1/1287439446.yml +0 -409
- data/spec/vcr/subscription/change1/1287442108.yml +0 -409
- data/spec/vcr/subscription/change2/1287439446.yml +0 -409
- data/spec/vcr/subscription/change2/1287442108.yml +0 -409
- data/spec/vcr/subscription/create/1287439446.yml +0 -224
- data/spec/vcr/subscription/create/1287442108.yml +0 -224
- data/spec/vcr/subscription/find/1287439446.yml +0 -283
- data/spec/vcr/subscription/find/1287442352.yml +0 -283
- data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -1,382 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>subscription-refund-partial-1287442352</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/subscription-refund-partial-1287442352
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "810"
|
38
|
-
date:
|
39
|
-
- Mon, 18 Oct 2010 22:53:13 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "609"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=806b10e6df3c7b8645604bec6f5f8d670ef65cb0789ffaf5214b1d86e287e7db47aefa3ced01fac9fd9bd17816d7176044c2938f982fa0f01036ce3175803934%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=90e23c400e27b51211557bf4b3b7a587; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>subscription-refund-partial-1287442352</id>
|
54
|
-
<account_code>subscription-refund-partial-1287442352</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>83c9ff6b0bff4a00881bfb31d2f5d50c</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-18T22:53:13Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :get
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
etag:
|
88
|
-
- "\"31910d9b30fecc5e62f25a1ce00278e0\""
|
89
|
-
connection:
|
90
|
-
- close
|
91
|
-
content-type:
|
92
|
-
- application/xml; charset=utf-8
|
93
|
-
x-runtime:
|
94
|
-
- "13"
|
95
|
-
date:
|
96
|
-
- Mon, 18 Oct 2010 22:53:14 GMT
|
97
|
-
server:
|
98
|
-
- nginx/0.7.65
|
99
|
-
content-length:
|
100
|
-
- "1150"
|
101
|
-
set-cookie:
|
102
|
-
- _recurly_session=217e5675c31fb0bb5eba29df52b2a010; domain=.recurly.com; path=/; Secure; HttpOnly
|
103
|
-
cache-control:
|
104
|
-
- private, max-age=0, must-revalidate
|
105
|
-
body: |
|
106
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
107
|
-
<plan>
|
108
|
-
<plan_code>paid</plan_code>
|
109
|
-
<name>Paid</name>
|
110
|
-
<description></description>
|
111
|
-
<success_url></success_url>
|
112
|
-
<cancel_url></cancel_url>
|
113
|
-
<created_at type="datetime">2010-09-19T00:56:05Z</created_at>
|
114
|
-
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
115
|
-
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
116
|
-
<plan_interval_length type="integer">1</plan_interval_length>
|
117
|
-
<plan_interval_unit>months</plan_interval_unit>
|
118
|
-
<trial_interval_length type="integer">0</trial_interval_length>
|
119
|
-
<trial_interval_unit>months</trial_interval_unit>
|
120
|
-
<latest_version depreciated="true">
|
121
|
-
<version type="integer">1</version>
|
122
|
-
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
|
123
|
-
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
124
|
-
<plan_interval_length type="integer">1</plan_interval_length>
|
125
|
-
<plan_interval_unit>months</plan_interval_unit>
|
126
|
-
<trial_interval_length type="integer">0</trial_interval_length>
|
127
|
-
<trial_interval_unit>months</trial_interval_unit>
|
128
|
-
<created_at type="datetime">2010-09-19T00:56:05Z</created_at>
|
129
|
-
</latest_version>
|
130
|
-
</plan>
|
131
|
-
|
132
|
-
http_version: "1.1"
|
133
|
-
- !ruby/struct:VCR::HTTPInteraction
|
134
|
-
request: !ruby/struct:VCR::Request
|
135
|
-
method: :post
|
136
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287442352/subscription.xml
|
137
|
-
body: |
|
138
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
139
|
-
<subscription>
|
140
|
-
<quantity type="integer">1</quantity>
|
141
|
-
<plan-code>paid</plan-code>
|
142
|
-
<account>
|
143
|
-
<created-at type="datetime">2010-10-18T22:53:13Z</created-at>
|
144
|
-
<hosted-login-token>83c9ff6b0bff4a00881bfb31d2f5d50c</hosted-login-token>
|
145
|
-
<company-name>Recurly Ruby Gem</company-name>
|
146
|
-
<account-code>subscription-refund-partial-1287442352</account-code>
|
147
|
-
<closed type="boolean">false</closed>
|
148
|
-
<username type="yaml" nil="true"></username>
|
149
|
-
<id>subscription-refund-partial-1287442352</id>
|
150
|
-
<last-name>Test</last-name>
|
151
|
-
<billing-info>
|
152
|
-
<city>San Francisco</city>
|
153
|
-
<address1>123 Test St</address1>
|
154
|
-
<zip>94115</zip>
|
155
|
-
<country>US</country>
|
156
|
-
<credit-card>
|
157
|
-
<number>1</number>
|
158
|
-
<month type="integer">10</month>
|
159
|
-
<year type="integer">2011</year>
|
160
|
-
<verification-value>123</verification-value>
|
161
|
-
</credit-card>
|
162
|
-
<last-name>Test</last-name>
|
163
|
-
<first-name>Verena</first-name>
|
164
|
-
<state>CA</state>
|
165
|
-
</billing-info>
|
166
|
-
<balance-in-cents type="integer">0</balance-in-cents>
|
167
|
-
<state>active</state>
|
168
|
-
<email>verena@test.com</email>
|
169
|
-
<first-name>Verena</first-name>
|
170
|
-
</account>
|
171
|
-
</subscription>
|
172
|
-
|
173
|
-
headers:
|
174
|
-
accept:
|
175
|
-
- "*/*"
|
176
|
-
connection:
|
177
|
-
- close
|
178
|
-
content-type:
|
179
|
-
- application/xml
|
180
|
-
authorization:
|
181
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
182
|
-
response: !ruby/struct:VCR::Response
|
183
|
-
status: !ruby/struct:VCR::ResponseStatus
|
184
|
-
code: 201
|
185
|
-
message: Created
|
186
|
-
headers:
|
187
|
-
connection:
|
188
|
-
- close
|
189
|
-
content-type:
|
190
|
-
- application/xml; charset=utf-8
|
191
|
-
x-runtime:
|
192
|
-
- "586"
|
193
|
-
date:
|
194
|
-
- Mon, 18 Oct 2010 22:53:15 GMT
|
195
|
-
server:
|
196
|
-
- nginx/0.7.65
|
197
|
-
content-length:
|
198
|
-
- "886"
|
199
|
-
set-cookie:
|
200
|
-
- _recurly_session=85ed2d2dc8aec35b7db5981f3339393f; domain=.recurly.com; path=/; Secure; HttpOnly
|
201
|
-
cache-control:
|
202
|
-
- no-cache
|
203
|
-
body: |
|
204
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
205
|
-
<subscription>
|
206
|
-
<id>subscription-refund-partial-1287442352</id>
|
207
|
-
<account_code>subscription-refund-partial-1287442352</account_code>
|
208
|
-
<plan>
|
209
|
-
<plan_code>paid</plan_code>
|
210
|
-
<name>Paid</name>
|
211
|
-
</plan>
|
212
|
-
<state>active</state>
|
213
|
-
<quantity type="integer">1</quantity>
|
214
|
-
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
215
|
-
<activated_at type="datetime">2010-10-18T22:53:14Z</activated_at>
|
216
|
-
<canceled_at nil="true" type="datetime"></canceled_at>
|
217
|
-
<expires_at nil="true" type="datetime"></expires_at>
|
218
|
-
<current_period_started_at type="datetime">2010-10-18T22:53:14Z</current_period_started_at>
|
219
|
-
<current_period_ends_at type="datetime">2010-11-18T22:53:14Z</current_period_ends_at>
|
220
|
-
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
221
|
-
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
222
|
-
</subscription>
|
223
|
-
|
224
|
-
http_version: "1.1"
|
225
|
-
- !ruby/struct:VCR::HTTPInteraction
|
226
|
-
request: !ruby/struct:VCR::Request
|
227
|
-
method: :get
|
228
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287442352/subscription.xml
|
229
|
-
body:
|
230
|
-
headers:
|
231
|
-
accept:
|
232
|
-
- application/xml
|
233
|
-
connection:
|
234
|
-
- close
|
235
|
-
authorization:
|
236
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
237
|
-
response: !ruby/struct:VCR::Response
|
238
|
-
status: !ruby/struct:VCR::ResponseStatus
|
239
|
-
code: 200
|
240
|
-
message: OK
|
241
|
-
headers:
|
242
|
-
x-ua-compatible:
|
243
|
-
- IE=Edge
|
244
|
-
etag:
|
245
|
-
- "\"f08a45b147b1b4850f13d4c81c5ea95e\""
|
246
|
-
connection:
|
247
|
-
- close
|
248
|
-
content-type:
|
249
|
-
- application/xml; charset=utf-8
|
250
|
-
x-runtime:
|
251
|
-
- "29"
|
252
|
-
date:
|
253
|
-
- Mon, 18 Oct 2010 22:53:16 GMT
|
254
|
-
server:
|
255
|
-
- nginx/0.7.65
|
256
|
-
content-length:
|
257
|
-
- "886"
|
258
|
-
set-cookie:
|
259
|
-
- _recurly_session=5c7d29ca3ea0c0f82295305c4e022ed7; domain=.recurly.com; path=/; Secure; HttpOnly
|
260
|
-
cache-control:
|
261
|
-
- private, max-age=0, must-revalidate
|
262
|
-
body: |
|
263
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
264
|
-
<subscription>
|
265
|
-
<id>subscription-refund-partial-1287442352</id>
|
266
|
-
<account_code>subscription-refund-partial-1287442352</account_code>
|
267
|
-
<plan>
|
268
|
-
<plan_code>paid</plan_code>
|
269
|
-
<name>Paid</name>
|
270
|
-
</plan>
|
271
|
-
<state>active</state>
|
272
|
-
<quantity type="integer">1</quantity>
|
273
|
-
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
274
|
-
<activated_at type="datetime">2010-10-18T22:53:14Z</activated_at>
|
275
|
-
<canceled_at nil="true" type="datetime"></canceled_at>
|
276
|
-
<expires_at nil="true" type="datetime"></expires_at>
|
277
|
-
<current_period_started_at type="datetime">2010-10-18T22:53:14Z</current_period_started_at>
|
278
|
-
<current_period_ends_at type="datetime">2010-11-18T22:53:14Z</current_period_ends_at>
|
279
|
-
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
280
|
-
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
281
|
-
</subscription>
|
282
|
-
|
283
|
-
http_version: "1.1"
|
284
|
-
- !ruby/struct:VCR::HTTPInteraction
|
285
|
-
request: !ruby/struct:VCR::Request
|
286
|
-
method: :delete
|
287
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287442352/subscription.xml?refund=partial
|
288
|
-
body:
|
289
|
-
headers:
|
290
|
-
accept:
|
291
|
-
- application/xml
|
292
|
-
connection:
|
293
|
-
- close
|
294
|
-
authorization:
|
295
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
296
|
-
response: !ruby/struct:VCR::Response
|
297
|
-
status: !ruby/struct:VCR::ResponseStatus
|
298
|
-
code: 200
|
299
|
-
message: OK
|
300
|
-
headers:
|
301
|
-
x-ua-compatible:
|
302
|
-
- IE=Edge
|
303
|
-
etag:
|
304
|
-
- "\"428e464b471dca432260daefcfca4491\""
|
305
|
-
connection:
|
306
|
-
- close
|
307
|
-
content-type:
|
308
|
-
- application/xml; charset=utf-8
|
309
|
-
x-runtime:
|
310
|
-
- "418"
|
311
|
-
date:
|
312
|
-
- Mon, 18 Oct 2010 22:53:16 GMT
|
313
|
-
server:
|
314
|
-
- nginx/0.7.65
|
315
|
-
content-length:
|
316
|
-
- "905"
|
317
|
-
set-cookie:
|
318
|
-
- _recurly_session=1c57c520e2537fd06854e88cc43b62b1; domain=.recurly.com; path=/; Secure; HttpOnly
|
319
|
-
cache-control:
|
320
|
-
- private, max-age=0, must-revalidate
|
321
|
-
body: |
|
322
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
323
|
-
<subscription>
|
324
|
-
<id>subscription-refund-partial-1287442352</id>
|
325
|
-
<account_code>subscription-refund-partial-1287442352</account_code>
|
326
|
-
<plan>
|
327
|
-
<plan_code>paid</plan_code>
|
328
|
-
<name>Paid</name>
|
329
|
-
</plan>
|
330
|
-
<state>expired</state>
|
331
|
-
<quantity type="integer">1</quantity>
|
332
|
-
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
|
333
|
-
<activated_at type="datetime">2010-10-18T22:53:14Z</activated_at>
|
334
|
-
<canceled_at type="datetime">2010-10-18T22:53:16Z</canceled_at>
|
335
|
-
<expires_at type="datetime">2010-11-18T22:53:14Z</expires_at>
|
336
|
-
<current_period_started_at type="datetime">2010-10-18T22:53:14Z</current_period_started_at>
|
337
|
-
<current_period_ends_at type="datetime">2010-11-18T22:53:14Z</current_period_ends_at>
|
338
|
-
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
339
|
-
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
340
|
-
</subscription>
|
341
|
-
|
342
|
-
http_version: "1.1"
|
343
|
-
- !ruby/struct:VCR::HTTPInteraction
|
344
|
-
request: !ruby/struct:VCR::Request
|
345
|
-
method: :get
|
346
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/subscription-refund-partial-1287442352/subscription.xml
|
347
|
-
body:
|
348
|
-
headers:
|
349
|
-
accept:
|
350
|
-
- application/xml
|
351
|
-
connection:
|
352
|
-
- close
|
353
|
-
authorization:
|
354
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
355
|
-
response: !ruby/struct:VCR::Response
|
356
|
-
status: !ruby/struct:VCR::ResponseStatus
|
357
|
-
code: 404
|
358
|
-
message: Not Found
|
359
|
-
headers:
|
360
|
-
connection:
|
361
|
-
- close
|
362
|
-
content-type:
|
363
|
-
- application/xml; charset=utf-8
|
364
|
-
x-runtime:
|
365
|
-
- "12"
|
366
|
-
date:
|
367
|
-
- Mon, 18 Oct 2010 22:53:17 GMT
|
368
|
-
server:
|
369
|
-
- nginx/0.7.65
|
370
|
-
content-length:
|
371
|
-
- "98"
|
372
|
-
set-cookie:
|
373
|
-
- _recurly_session=0de671bdf2cfae69893235c38b1272bc; domain=.recurly.com; path=/; Secure; HttpOnly
|
374
|
-
cache-control:
|
375
|
-
- no-cache
|
376
|
-
body: |
|
377
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
378
|
-
<errors>
|
379
|
-
<error>Subscription not found</error>
|
380
|
-
</errors>
|
381
|
-
|
382
|
-
http_version: "1.1"
|