recurly 0.2.4 → 0.2.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/charge.rb +5 -6
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +1 -0
- 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 +9 -9
- 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 +100 -100
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +16 -16
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
- data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
- data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
- data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
- data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
- data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
- data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
- data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
- 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 +51 -51
- data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
- 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-with-code/1287455769.yml +51 -51
- data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
- data/spec/vcr/subscription/change1/1287455769.yml +38 -38
- data/spec/vcr/subscription/change2/1287455769.yml +38 -38
- data/spec/vcr/subscription/create/1287455769.yml +17 -17
- data/spec/vcr/subscription/find/1287455769.yml +24 -24
- data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
- data/spec/vcr/transaction/all/1287186411.yml +45 -45
- 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 +61 -61
- metadata +23 -43
- data/spec/vcr/credit/create/1286681343.yml +0 -171
- data/spec/vcr/credit/create/1287460732.yml +0 -171
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
- data/spec/vcr/credit/list/1286681343.yml +0 -299
- data/spec/vcr/credit/list/1287461340.yml +0 -299
- data/spec/vcr/credit/lookup/1286681343.yml +0 -171
- data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -1,283 +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
|
-
<account-code>delete-invoiced-1287461340</account-code>
|
10
|
-
<company-name>Recurly Ruby Gem</company-name>
|
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/delete-invoiced-1287461340
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "586"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 04:09:20 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "585"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=3fef03e73a5e90b758fc02c8b1989cd3530d2ef6441c5d528ca088539374c18a6f45f5339420a770a4345551f7e6a08966d4eca40df7713e6f01234c9e11845f%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=b0ce36716dafc1fb6adf43c4ffc49abd; 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>delete-invoiced-1287461340</id>
|
54
|
-
<account_code>delete-invoiced-1287461340</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>e5fa51b0f3f64a39a2343029261ca8cf</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T04:09:20Z</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: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287461340/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">13.15</amount>
|
76
|
-
<description>free moniez 4 u</description>
|
77
|
-
</credit>
|
78
|
-
|
79
|
-
headers:
|
80
|
-
accept:
|
81
|
-
- "*/*"
|
82
|
-
connection:
|
83
|
-
- close
|
84
|
-
content-type:
|
85
|
-
- application/xml
|
86
|
-
authorization:
|
87
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
-
response: !ruby/struct:VCR::Response
|
89
|
-
status: !ruby/struct:VCR::ResponseStatus
|
90
|
-
code: 201
|
91
|
-
message: Created
|
92
|
-
headers:
|
93
|
-
connection:
|
94
|
-
- close
|
95
|
-
content-type:
|
96
|
-
- application/xml; charset=utf-8
|
97
|
-
x-runtime:
|
98
|
-
- "47"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 04:09:21 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "456"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=1ec83ccdcee7dceb145675bc07f1a9a7; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
-
cache-control:
|
108
|
-
- no-cache
|
109
|
-
body: |
|
110
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
-
<credit type="credit">
|
112
|
-
<id>797ee21aa61d48f9847000daa591aad8</id>
|
113
|
-
<account_code>delete-invoiced-1287461340</account_code>
|
114
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T04:09:21Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-19T04:09:21Z</created_at>
|
119
|
-
</credit>
|
120
|
-
|
121
|
-
http_version: "1.1"
|
122
|
-
- !ruby/struct:VCR::HTTPInteraction
|
123
|
-
request: !ruby/struct:VCR::Request
|
124
|
-
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287461340/credits/797ee21aa61d48f9847000daa591aad8.xml
|
126
|
-
body:
|
127
|
-
headers:
|
128
|
-
accept:
|
129
|
-
- application/xml
|
130
|
-
connection:
|
131
|
-
- close
|
132
|
-
authorization:
|
133
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
-
response: !ruby/struct:VCR::Response
|
135
|
-
status: !ruby/struct:VCR::ResponseStatus
|
136
|
-
code: 200
|
137
|
-
message: OK
|
138
|
-
headers:
|
139
|
-
x-ua-compatible:
|
140
|
-
- IE=Edge
|
141
|
-
etag:
|
142
|
-
- "\"d0dee5da05fb2535b49ac5bff04118c4\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "23"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 04:09:21 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "456"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=87a866921aeb32f34edacd4784388c02; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
-
cache-control:
|
158
|
-
- private, max-age=0, must-revalidate
|
159
|
-
body: |
|
160
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
-
<credit type="credit">
|
162
|
-
<id>797ee21aa61d48f9847000daa591aad8</id>
|
163
|
-
<account_code>delete-invoiced-1287461340</account_code>
|
164
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T04:09:21Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-19T04:09:21Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
172
|
-
- !ruby/struct:VCR::HTTPInteraction
|
173
|
-
request: !ruby/struct:VCR::Request
|
174
|
-
method: :post
|
175
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287461340/invoices.xml
|
176
|
-
body: |
|
177
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
178
|
-
<invoice>
|
179
|
-
</invoice>
|
180
|
-
|
181
|
-
headers:
|
182
|
-
accept:
|
183
|
-
- "*/*"
|
184
|
-
connection:
|
185
|
-
- close
|
186
|
-
content-type:
|
187
|
-
- application/xml
|
188
|
-
authorization:
|
189
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
190
|
-
response: !ruby/struct:VCR::Response
|
191
|
-
status: !ruby/struct:VCR::ResponseStatus
|
192
|
-
code: 201
|
193
|
-
message: Created
|
194
|
-
headers:
|
195
|
-
location:
|
196
|
-
- https://recurlytest3-test.recurly.com/invoices/f443d4ff5b284017a8be383a26612d30
|
197
|
-
connection:
|
198
|
-
- close
|
199
|
-
content-type:
|
200
|
-
- application/xml; charset=utf-8
|
201
|
-
x-runtime:
|
202
|
-
- "55"
|
203
|
-
date:
|
204
|
-
- Tue, 19 Oct 2010 04:09:22 GMT
|
205
|
-
server:
|
206
|
-
- nginx/0.7.65
|
207
|
-
content-length:
|
208
|
-
- "689"
|
209
|
-
set-cookie:
|
210
|
-
- _recurly_session=71d9c4f62f4441280c2122f9448ba918; domain=.recurly.com; path=/; Secure; HttpOnly
|
211
|
-
cache-control:
|
212
|
-
- no-cache
|
213
|
-
body: |
|
214
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
215
|
-
<invoice>
|
216
|
-
<id>f443d4ff5b284017a8be383a26612d30</id>
|
217
|
-
<account_code>delete-invoiced-1287461340</account_code>
|
218
|
-
<date type="datetime">2010-10-19T04:09:22Z</date>
|
219
|
-
<invoice_number type="integer">2024</invoice_number>
|
220
|
-
<vat_number></vat_number>
|
221
|
-
<status>closed</status>
|
222
|
-
<subtotal_in_cents type="integer">0</subtotal_in_cents>
|
223
|
-
<total_in_cents type="integer">0</total_in_cents>
|
224
|
-
<vat_amount_in_cents type="integer">0</vat_amount_in_cents>
|
225
|
-
<paid_in_cents type="integer">0</paid_in_cents>
|
226
|
-
<total_due_in_cents type="integer">0</total_due_in_cents>
|
227
|
-
<line_items type="array">
|
228
|
-
</line_items>
|
229
|
-
<payments type="array">
|
230
|
-
</payments>
|
231
|
-
</invoice>
|
232
|
-
|
233
|
-
http_version: "1.1"
|
234
|
-
- !ruby/struct:VCR::HTTPInteraction
|
235
|
-
request: !ruby/struct:VCR::Request
|
236
|
-
method: :get
|
237
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-invoiced-1287461340/credits/797ee21aa61d48f9847000daa591aad8.xml
|
238
|
-
body:
|
239
|
-
headers:
|
240
|
-
accept:
|
241
|
-
- application/xml
|
242
|
-
connection:
|
243
|
-
- close
|
244
|
-
authorization:
|
245
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
246
|
-
response: !ruby/struct:VCR::Response
|
247
|
-
status: !ruby/struct:VCR::ResponseStatus
|
248
|
-
code: 200
|
249
|
-
message: OK
|
250
|
-
headers:
|
251
|
-
x-ua-compatible:
|
252
|
-
- IE=Edge
|
253
|
-
etag:
|
254
|
-
- "\"d0dee5da05fb2535b49ac5bff04118c4\""
|
255
|
-
connection:
|
256
|
-
- close
|
257
|
-
content-type:
|
258
|
-
- application/xml; charset=utf-8
|
259
|
-
x-runtime:
|
260
|
-
- "14"
|
261
|
-
date:
|
262
|
-
- Tue, 19 Oct 2010 04:09:22 GMT
|
263
|
-
server:
|
264
|
-
- nginx/0.7.65
|
265
|
-
content-length:
|
266
|
-
- "456"
|
267
|
-
set-cookie:
|
268
|
-
- _recurly_session=c93ecc9f08e35ba42fbe5409fd2d3fdc; domain=.recurly.com; path=/; Secure; HttpOnly
|
269
|
-
cache-control:
|
270
|
-
- private, max-age=0, must-revalidate
|
271
|
-
body: |
|
272
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
273
|
-
<credit type="credit">
|
274
|
-
<id>797ee21aa61d48f9847000daa591aad8</id>
|
275
|
-
<account_code>delete-invoiced-1287461340</account_code>
|
276
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
277
|
-
<start_date type="datetime">2010-10-19T04:09:21Z</start_date>
|
278
|
-
<end_date nil="true" type="datetime"></end_date>
|
279
|
-
<description>free moniez 4 u</description>
|
280
|
-
<created_at type="datetime">2010-10-19T04:09:21Z</created_at>
|
281
|
-
</credit>
|
282
|
-
|
283
|
-
http_version: "1.1"
|
@@ -1,246 +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
|
-
<account-code>delete-uninvoiced-1287459796</account-code>
|
10
|
-
<company-name>Recurly Ruby Gem</company-name>
|
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/delete-uninvoiced-1287459796
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "622"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 03:43:33 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "589"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=76f00fd70724d30b134ae96b0a812953d32c6f678e772b70f7cc941ebb670f90ecd437a42ac4dc7d1f19dd08b6936a0273784e4ee8c3a69153d291ea0d1a3687%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=37ff4c040ceb1ef880a1dc2f3a4bfdf6; 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>delete-uninvoiced-1287459796</id>
|
54
|
-
<account_code>delete-uninvoiced-1287459796</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>1ff1ffe324ab4d4e84cc1edbf00a2ab6</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T03:43:33Z</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: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">13.15</amount>
|
76
|
-
<description>free moniez 4 u</description>
|
77
|
-
</credit>
|
78
|
-
|
79
|
-
headers:
|
80
|
-
accept:
|
81
|
-
- "*/*"
|
82
|
-
connection:
|
83
|
-
- close
|
84
|
-
content-type:
|
85
|
-
- application/xml
|
86
|
-
authorization:
|
87
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
-
response: !ruby/struct:VCR::Response
|
89
|
-
status: !ruby/struct:VCR::ResponseStatus
|
90
|
-
code: 201
|
91
|
-
message: Created
|
92
|
-
headers:
|
93
|
-
connection:
|
94
|
-
- close
|
95
|
-
content-type:
|
96
|
-
- application/xml; charset=utf-8
|
97
|
-
x-runtime:
|
98
|
-
- "49"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 03:43:34 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "458"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=b82aa70284891877ad3fb4bdfe322eb2; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
-
cache-control:
|
108
|
-
- no-cache
|
109
|
-
body: |
|
110
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
-
<credit type="credit">
|
112
|
-
<id>c784314edb9a42cf959ab4e50bde6d33</id>
|
113
|
-
<account_code>delete-uninvoiced-1287459796</account_code>
|
114
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T03:43:34Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-19T03:43:34Z</created_at>
|
119
|
-
</credit>
|
120
|
-
|
121
|
-
http_version: "1.1"
|
122
|
-
- !ruby/struct:VCR::HTTPInteraction
|
123
|
-
request: !ruby/struct:VCR::Request
|
124
|
-
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.xml
|
126
|
-
body:
|
127
|
-
headers:
|
128
|
-
accept:
|
129
|
-
- application/xml
|
130
|
-
connection:
|
131
|
-
- close
|
132
|
-
authorization:
|
133
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
-
response: !ruby/struct:VCR::Response
|
135
|
-
status: !ruby/struct:VCR::ResponseStatus
|
136
|
-
code: 200
|
137
|
-
message: OK
|
138
|
-
headers:
|
139
|
-
x-ua-compatible:
|
140
|
-
- IE=Edge
|
141
|
-
etag:
|
142
|
-
- "\"f55e1a077af520db61913d7bcff17a5f\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "16"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 03:43:34 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "458"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=772c25796ffbc39e542c2184bcaa0f7a; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
-
cache-control:
|
158
|
-
- private, max-age=0, must-revalidate
|
159
|
-
body: |
|
160
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
-
<credit type="credit">
|
162
|
-
<id>c784314edb9a42cf959ab4e50bde6d33</id>
|
163
|
-
<account_code>delete-uninvoiced-1287459796</account_code>
|
164
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T03:43:34Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-19T03:43:34Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
172
|
-
- !ruby/struct:VCR::HTTPInteraction
|
173
|
-
request: !ruby/struct:VCR::Request
|
174
|
-
method: :delete
|
175
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.xml
|
176
|
-
body:
|
177
|
-
headers:
|
178
|
-
accept:
|
179
|
-
- application/xml
|
180
|
-
connection:
|
181
|
-
- close
|
182
|
-
authorization:
|
183
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
184
|
-
response: !ruby/struct:VCR::Response
|
185
|
-
status: !ruby/struct:VCR::ResponseStatus
|
186
|
-
code: 200
|
187
|
-
message: OK
|
188
|
-
headers:
|
189
|
-
x-ua-compatible:
|
190
|
-
- IE=Edge
|
191
|
-
connection:
|
192
|
-
- close
|
193
|
-
content-type:
|
194
|
-
- application/xml; charset=utf-8
|
195
|
-
x-runtime:
|
196
|
-
- "214"
|
197
|
-
date:
|
198
|
-
- Tue, 19 Oct 2010 03:43:35 GMT
|
199
|
-
server:
|
200
|
-
- nginx/0.7.65
|
201
|
-
content-length:
|
202
|
-
- "1"
|
203
|
-
set-cookie:
|
204
|
-
- _recurly_session=3f2a4d5b22b045d4f8cc459b9707d256; domain=.recurly.com; path=/; Secure; HttpOnly
|
205
|
-
cache-control:
|
206
|
-
- no-cache
|
207
|
-
body: " "
|
208
|
-
http_version: "1.1"
|
209
|
-
- !ruby/struct:VCR::HTTPInteraction
|
210
|
-
request: !ruby/struct:VCR::Request
|
211
|
-
method: :get
|
212
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287459796/credits/c784314edb9a42cf959ab4e50bde6d33.xml
|
213
|
-
body:
|
214
|
-
headers:
|
215
|
-
accept:
|
216
|
-
- application/xml
|
217
|
-
connection:
|
218
|
-
- close
|
219
|
-
authorization:
|
220
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
221
|
-
response: !ruby/struct:VCR::Response
|
222
|
-
status: !ruby/struct:VCR::ResponseStatus
|
223
|
-
code: 404
|
224
|
-
message: Not Found
|
225
|
-
headers:
|
226
|
-
connection:
|
227
|
-
- close
|
228
|
-
content-type:
|
229
|
-
- application/xml; charset=utf-8
|
230
|
-
date:
|
231
|
-
- Tue, 19 Oct 2010 03:43:36 GMT
|
232
|
-
server:
|
233
|
-
- nginx/0.7.65
|
234
|
-
content-length:
|
235
|
-
- "92"
|
236
|
-
set-cookie:
|
237
|
-
- _recurly_session=6dc7a5a32eab32a5e46adf84817288ca; domain=.recurly.com; path=/; Secure; HttpOnly
|
238
|
-
cache-control:
|
239
|
-
- no-cache
|
240
|
-
body: |
|
241
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
242
|
-
<errors>
|
243
|
-
<error>Credit not found</error>
|
244
|
-
</errors>
|
245
|
-
|
246
|
-
http_version: "1.1"
|