recurly 0.2.1 → 0.2.2
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/README.md +3 -2
- data/lib/recurly/invoice.rb +1 -1
- data/lib/recurly/subscription.rb +1 -1
- data/lib/recurly/transaction.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/subscription_spec.rb +29 -8
- data/spec/vcr/account/close/1286666929.yml +159 -0
- data/spec/vcr/account/create-blank/1286666929.yml +49 -0
- data/spec/vcr/account/create-duplicate/1286666929.yml +95 -0
- data/spec/vcr/account/create-min/1286666929.yml +63 -0
- data/spec/vcr/account/create/1286666929.yml +67 -0
- data/spec/vcr/account/find/1286666929.yml +122 -0
- data/spec/vcr/account/list/1286666929.yml +1565 -0
- data/spec/vcr/account/update/1286666929.yml +250 -0
- data/spec/vcr/billing/create/1286682213.yml +210 -0
- data/spec/vcr/billing/destroy/1286682213.yml +309 -0
- data/spec/vcr/billing/find/1286682213.yml +273 -0
- data/spec/vcr/billing/update/1286682213.yml +292 -0
- data/spec/vcr/charge/create/1286681273.yml +253 -0
- data/spec/vcr/charge/list-all/1286681273.yml +302 -0
- data/spec/vcr/charge/list-invoiced/1286681273.yml +445 -0
- data/spec/vcr/charge/list-pending/1286681273.yml +302 -0
- data/spec/vcr/charge/lookup/1286681273.yml +171 -0
- data/spec/vcr/credit/create/1286681343.yml +171 -0
- data/spec/vcr/credit/list/1286681343.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +171 -0
- data/spec/vcr/invoice/create/1286679184.yml +337 -0
- data/spec/vcr/invoice/list/1286679184.yml +458 -0
- data/spec/vcr/invoice/lookup/1286679184.yml +341 -0
- data/spec/vcr/plan/all.yml +306 -0
- data/spec/vcr/plan/delete/1286677585.yml +217 -0
- data/spec/vcr/plan/find.yml +196 -0
- data/spec/vcr/plan/update.yml +197 -0
- data/spec/vcr/subscription/cancel/1287036910.yml +401 -0
- data/spec/vcr/subscription/cancel/1287037325.yml +401 -0
- data/spec/vcr/subscription/cancel/1287037363.yml +401 -0
- data/spec/vcr/subscription/change1/1287036910.yml +409 -0
- data/spec/vcr/subscription/change1/1287037152.yml +409 -0
- data/spec/vcr/subscription/change1/1287037325.yml +409 -0
- data/spec/vcr/subscription/change1/1287037363.yml +409 -0
- data/spec/vcr/subscription/change2/1287036910.yml +409 -0
- data/spec/vcr/subscription/change2/1287037152.yml +283 -0
- data/spec/vcr/subscription/change2/1287037325.yml +283 -0
- data/spec/vcr/subscription/change2/1287037363.yml +409 -0
- data/spec/vcr/subscription/create/1287036910.yml +224 -0
- data/spec/vcr/subscription/create/1287037152.yml +224 -0
- data/spec/vcr/subscription/create/1287037325.yml +224 -0
- data/spec/vcr/subscription/create/1287037363.yml +224 -0
- data/spec/vcr/subscription/find/1287036910.yml +283 -0
- data/spec/vcr/subscription/find/1287037152.yml +283 -0
- data/spec/vcr/subscription/find/1287037325.yml +283 -0
- data/spec/vcr/subscription/find/1287037363.yml +283 -0
- data/spec/vcr/subscription/refund/1287036910.yml +382 -0
- data/spec/vcr/subscription/refund/1287037325.yml +382 -0
- data/spec/vcr/subscription/refund/1287037363.yml +382 -0
- data/spec/vcr/transaction/all/1286674805.yml +387 -0
- data/spec/vcr/transaction/create-no-account/1286674805.yml +91 -0
- data/spec/vcr/transaction/create-with-account/1286674805.yml +220 -0
- data/spec/vcr/transaction/list-empty/1286674805.yml +212 -0
- data/spec/vcr/transaction/list-filled/1286674805.yml +476 -0
- data/spec/vcr/transaction/lookup/1286674805.yml +548 -0
- data/spec/vcr/transaction/refund/1286674805.yml +220 -0
- data/spec/vcr/transaction/void/1286674805.yml +668 -0
- metadata +118 -4
@@ -0,0 +1,302 @@
|
|
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>charge-list-pending-1286681273</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/charge-list-pending-1286681273
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "592"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:16:09 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "593"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=a195080aead809a33c95cf32b43c2c9235798763c7fb9ffa0c60541bbe8b8125c4895c37f531ed69065d890f8d5a13db9dedfc4d6dedfff1b878e7be8588d0bc%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=e0fef15e50f9d30b125412811680bacf; 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>charge-list-pending-1286681273</id>
|
54
|
+
<account_code>charge-list-pending-1286681273</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>54e6d31c163a4821ae5601fa396c3e9d</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:16:09Z</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/charge-list-pending-1286681273/charges.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<charge>
|
75
|
+
<amount type="float">10.0</amount>
|
76
|
+
<description>charge description</description>
|
77
|
+
</charge>
|
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
|
+
- "46"
|
99
|
+
date:
|
100
|
+
- Thu, 14 Oct 2010 06:16:10 GMT
|
101
|
+
server:
|
102
|
+
- nginx/0.7.65
|
103
|
+
content-length:
|
104
|
+
- "462"
|
105
|
+
set-cookie:
|
106
|
+
- _recurly_session=37cc1019028ce6ee73a58a240e5ee738; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
+
cache-control:
|
108
|
+
- no-cache
|
109
|
+
body: |
|
110
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
+
<charge type="charge">
|
112
|
+
<id>0be19ed0e48f46d9ad7afa4458cd364f</id>
|
113
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
114
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
+
<start_date type="datetime">2010-10-14T06:16:10Z</start_date>
|
116
|
+
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<description>charge description</description>
|
118
|
+
<created_at type="datetime">2010-10-14T06:16:10Z</created_at>
|
119
|
+
</charge>
|
120
|
+
|
121
|
+
http_version: "1.1"
|
122
|
+
- !ruby/struct:VCR::HTTPInteraction
|
123
|
+
request: !ruby/struct:VCR::Request
|
124
|
+
method: :post
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml
|
126
|
+
body: |
|
127
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
128
|
+
<charge>
|
129
|
+
<amount type="float">10.0</amount>
|
130
|
+
<description>charge description</description>
|
131
|
+
</charge>
|
132
|
+
|
133
|
+
headers:
|
134
|
+
accept:
|
135
|
+
- "*/*"
|
136
|
+
connection:
|
137
|
+
- close
|
138
|
+
content-type:
|
139
|
+
- application/xml
|
140
|
+
authorization:
|
141
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
142
|
+
response: !ruby/struct:VCR::Response
|
143
|
+
status: !ruby/struct:VCR::ResponseStatus
|
144
|
+
code: 201
|
145
|
+
message: Created
|
146
|
+
headers:
|
147
|
+
connection:
|
148
|
+
- close
|
149
|
+
content-type:
|
150
|
+
- application/xml; charset=utf-8
|
151
|
+
x-runtime:
|
152
|
+
- "44"
|
153
|
+
date:
|
154
|
+
- Thu, 14 Oct 2010 06:16:10 GMT
|
155
|
+
server:
|
156
|
+
- nginx/0.7.65
|
157
|
+
content-length:
|
158
|
+
- "462"
|
159
|
+
set-cookie:
|
160
|
+
- _recurly_session=d225cf5fd93273549f7a5b67b51f11ae; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
|
+
cache-control:
|
162
|
+
- no-cache
|
163
|
+
body: |
|
164
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
165
|
+
<charge type="charge">
|
166
|
+
<id>7b1b810e55174649847c17ee038a61de</id>
|
167
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
168
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
+
<start_date type="datetime">2010-10-14T06:16:10Z</start_date>
|
170
|
+
<end_date nil="true" type="datetime"></end_date>
|
171
|
+
<description>charge description</description>
|
172
|
+
<created_at type="datetime">2010-10-14T06:16:10Z</created_at>
|
173
|
+
</charge>
|
174
|
+
|
175
|
+
http_version: "1.1"
|
176
|
+
- !ruby/struct:VCR::HTTPInteraction
|
177
|
+
request: !ruby/struct:VCR::Request
|
178
|
+
method: :post
|
179
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml
|
180
|
+
body: |
|
181
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
182
|
+
<charge>
|
183
|
+
<amount type="float">10.0</amount>
|
184
|
+
<description>charge description</description>
|
185
|
+
</charge>
|
186
|
+
|
187
|
+
headers:
|
188
|
+
accept:
|
189
|
+
- "*/*"
|
190
|
+
connection:
|
191
|
+
- close
|
192
|
+
content-type:
|
193
|
+
- application/xml
|
194
|
+
authorization:
|
195
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
196
|
+
response: !ruby/struct:VCR::Response
|
197
|
+
status: !ruby/struct:VCR::ResponseStatus
|
198
|
+
code: 201
|
199
|
+
message: Created
|
200
|
+
headers:
|
201
|
+
connection:
|
202
|
+
- close
|
203
|
+
content-type:
|
204
|
+
- application/xml; charset=utf-8
|
205
|
+
x-runtime:
|
206
|
+
- "45"
|
207
|
+
date:
|
208
|
+
- Thu, 14 Oct 2010 06:16:11 GMT
|
209
|
+
server:
|
210
|
+
- nginx/0.7.65
|
211
|
+
content-length:
|
212
|
+
- "462"
|
213
|
+
set-cookie:
|
214
|
+
- _recurly_session=a356a2a186502be4f77026914dfb5fc6; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
|
+
cache-control:
|
216
|
+
- no-cache
|
217
|
+
body: |
|
218
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
219
|
+
<charge type="charge">
|
220
|
+
<id>6b391a19c342417ab2d8914c18be4a81</id>
|
221
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
222
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
+
<start_date type="datetime">2010-10-14T06:16:11Z</start_date>
|
224
|
+
<end_date nil="true" type="datetime"></end_date>
|
225
|
+
<description>charge description</description>
|
226
|
+
<created_at type="datetime">2010-10-14T06:16:11Z</created_at>
|
227
|
+
</charge>
|
228
|
+
|
229
|
+
http_version: "1.1"
|
230
|
+
- !ruby/struct:VCR::HTTPInteraction
|
231
|
+
request: !ruby/struct:VCR::Request
|
232
|
+
method: :get
|
233
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1286681273/charges.xml?show=pending
|
234
|
+
body:
|
235
|
+
headers:
|
236
|
+
accept:
|
237
|
+
- application/xml
|
238
|
+
connection:
|
239
|
+
- close
|
240
|
+
authorization:
|
241
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
242
|
+
response: !ruby/struct:VCR::Response
|
243
|
+
status: !ruby/struct:VCR::ResponseStatus
|
244
|
+
code: 200
|
245
|
+
message: OK
|
246
|
+
headers:
|
247
|
+
x-ua-compatible:
|
248
|
+
- IE=Edge
|
249
|
+
etag:
|
250
|
+
- "\"800d1fc3d8ce02b09754be6fbb056f6d\""
|
251
|
+
connection:
|
252
|
+
- close
|
253
|
+
content-type:
|
254
|
+
- application/xml; charset=utf-8
|
255
|
+
x-runtime:
|
256
|
+
- "31"
|
257
|
+
date:
|
258
|
+
- Thu, 14 Oct 2010 06:16:12 GMT
|
259
|
+
server:
|
260
|
+
- nginx/0.7.65
|
261
|
+
content-length:
|
262
|
+
- "1588"
|
263
|
+
set-cookie:
|
264
|
+
- _recurly_session=02da135af8840f28e0e9e92d2a71e0bc; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
|
+
cache-control:
|
266
|
+
- private, max-age=0, must-revalidate
|
267
|
+
body: |
|
268
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
269
|
+
<charges type="array">
|
270
|
+
<charge type="charge">
|
271
|
+
<id>6b391a19c342417ab2d8914c18be4a81</id>
|
272
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
273
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
+
<start_date type="datetime">2010-10-14T06:16:11Z</start_date>
|
275
|
+
<end_date nil="true" type="datetime"></end_date>
|
276
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
277
|
+
<description>charge description</description>
|
278
|
+
<created_at type="datetime">2010-10-14T06:16:11Z</created_at>
|
279
|
+
</charge>
|
280
|
+
<charge type="charge">
|
281
|
+
<id>7b1b810e55174649847c17ee038a61de</id>
|
282
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
283
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
284
|
+
<start_date type="datetime">2010-10-14T06:16:10Z</start_date>
|
285
|
+
<end_date nil="true" type="datetime"></end_date>
|
286
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
287
|
+
<description>charge description</description>
|
288
|
+
<created_at type="datetime">2010-10-14T06:16:10Z</created_at>
|
289
|
+
</charge>
|
290
|
+
<charge type="charge">
|
291
|
+
<id>0be19ed0e48f46d9ad7afa4458cd364f</id>
|
292
|
+
<account_code>charge-list-pending-1286681273</account_code>
|
293
|
+
<amount_in_cents type="integer">1000</amount_in_cents>
|
294
|
+
<start_date type="datetime">2010-10-14T06:16:10Z</start_date>
|
295
|
+
<end_date nil="true" type="datetime"></end_date>
|
296
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
297
|
+
<description>charge description</description>
|
298
|
+
<created_at type="datetime">2010-10-14T06:16:10Z</created_at>
|
299
|
+
</charge>
|
300
|
+
</charges>
|
301
|
+
|
302
|
+
http_version: "1.1"
|
@@ -0,0 +1,171 @@
|
|
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>charge-lookup-1286681273</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/charge-lookup-1286681273
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "596"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:16:23 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "581"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=db0900345ff677b8f581c74db4dd5ed84b3198330df061393c43c9ee1bccf7ab442ee3b298e4141d5832d0cbeb4fa40dbd53ca4902005b3fc3055f00a4f321c8%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=c76f8a4a4e5ccabd52b76bcb184bb921; 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>charge-lookup-1286681273</id>
|
54
|
+
<account_code>charge-lookup-1286681273</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>3cd5c3e1dc6348bb9f838da8438087b2</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:16:23Z</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/charge-lookup-1286681273/charges.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<charge>
|
75
|
+
<amount type="float">13.15</amount>
|
76
|
+
<description>inconvenience fee</description>
|
77
|
+
</charge>
|
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
|
+
- "64"
|
99
|
+
date:
|
100
|
+
- Thu, 14 Oct 2010 06:16:24 GMT
|
101
|
+
server:
|
102
|
+
- nginx/0.7.65
|
103
|
+
content-length:
|
104
|
+
- "455"
|
105
|
+
set-cookie:
|
106
|
+
- _recurly_session=c990ddb6f47cda129bd4142971f7b209; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
+
cache-control:
|
108
|
+
- no-cache
|
109
|
+
body: |
|
110
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
+
<charge type="charge">
|
112
|
+
<id>0122a733beeb4d45bc17ffa75cf88e4b</id>
|
113
|
+
<account_code>charge-lookup-1286681273</account_code>
|
114
|
+
<amount_in_cents type="integer">1315</amount_in_cents>
|
115
|
+
<start_date type="datetime">2010-10-14T06:16:23Z</start_date>
|
116
|
+
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<description>inconvenience fee</description>
|
118
|
+
<created_at type="datetime">2010-10-14T06:16:23Z</created_at>
|
119
|
+
</charge>
|
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/charge-lookup-1286681273/charges/0122a733beeb4d45bc17ffa75cf88e4b.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
|
+
- "\"6ee283a85ed8ef7d3349321353faaa91\""
|
143
|
+
connection:
|
144
|
+
- close
|
145
|
+
content-type:
|
146
|
+
- application/xml; charset=utf-8
|
147
|
+
x-runtime:
|
148
|
+
- "43"
|
149
|
+
date:
|
150
|
+
- Thu, 14 Oct 2010 06:16:24 GMT
|
151
|
+
server:
|
152
|
+
- nginx/0.7.65
|
153
|
+
content-length:
|
154
|
+
- "455"
|
155
|
+
set-cookie:
|
156
|
+
- _recurly_session=469eb14b13436db566914d05ba557bf3; 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
|
+
<charge type="charge">
|
162
|
+
<id>0122a733beeb4d45bc17ffa75cf88e4b</id>
|
163
|
+
<account_code>charge-lookup-1286681273</account_code>
|
164
|
+
<amount_in_cents type="integer">1315</amount_in_cents>
|
165
|
+
<start_date type="datetime">2010-10-14T06:16:23Z</start_date>
|
166
|
+
<end_date nil="true" type="datetime"></end_date>
|
167
|
+
<description>inconvenience fee</description>
|
168
|
+
<created_at type="datetime">2010-10-14T06:16:23Z</created_at>
|
169
|
+
</charge>
|
170
|
+
|
171
|
+
http_version: "1.1"
|