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,309 @@
|
|
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>billing-destroy-1286682213</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/billing-destroy-1286682213
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "570"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:16:01 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "585"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=c9940cbe82a144d56496ce580cdebaf0fe1283c5089be14546cb1484114dc21e84394cbdd60002afeaa45e405ca5a6865aac96840cd879930495fa967fa09cbb%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=55931d08945892c4b12169d5e9479d68; 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>billing-destroy-1286682213</id>
|
54
|
+
<account_code>billing-destroy-1286682213</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>773b3268542d4c37a18630967cace7be</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:16:01Z</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: :put
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-destroy-1286682213/billing_info.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<billing-info>
|
75
|
+
<city>Los Angeles</city>
|
76
|
+
<address1>500 South Central Blvd</address1>
|
77
|
+
<zip>90001</zip>
|
78
|
+
<country>US</country>
|
79
|
+
<credit-card>
|
80
|
+
<number>1</number>
|
81
|
+
<month type="integer">10</month>
|
82
|
+
<year type="integer">2011</year>
|
83
|
+
<verification-value>123</verification-value>
|
84
|
+
</credit-card>
|
85
|
+
<last-name>Test</last-name>
|
86
|
+
<state>CA</state>
|
87
|
+
<first-name>Verena</first-name>
|
88
|
+
</billing-info>
|
89
|
+
|
90
|
+
headers:
|
91
|
+
accept:
|
92
|
+
- "*/*"
|
93
|
+
connection:
|
94
|
+
- close
|
95
|
+
content-type:
|
96
|
+
- application/xml
|
97
|
+
authorization:
|
98
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
99
|
+
response: !ruby/struct:VCR::Response
|
100
|
+
status: !ruby/struct:VCR::ResponseStatus
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
x-ua-compatible:
|
105
|
+
- IE=Edge
|
106
|
+
etag:
|
107
|
+
- "\"c89a4093f6951ecbb83633d23f381419\""
|
108
|
+
connection:
|
109
|
+
- close
|
110
|
+
content-type:
|
111
|
+
- application/xml; charset=utf-8
|
112
|
+
x-runtime:
|
113
|
+
- "56"
|
114
|
+
date:
|
115
|
+
- Thu, 14 Oct 2010 06:16:02 GMT
|
116
|
+
server:
|
117
|
+
- nginx/0.7.65
|
118
|
+
content-length:
|
119
|
+
- "649"
|
120
|
+
set-cookie:
|
121
|
+
- _recurly_session=ee29995930283effefd9ae6844751f41; domain=.recurly.com; path=/; Secure; HttpOnly
|
122
|
+
cache-control:
|
123
|
+
- private, max-age=0, must-revalidate
|
124
|
+
body: |
|
125
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
126
|
+
<billing_info>
|
127
|
+
<account_code>billing-destroy-1286682213</account_code>
|
128
|
+
<first_name>Verena</first_name>
|
129
|
+
<last_name>Test</last_name>
|
130
|
+
<address1>500 South Central Blvd</address1>
|
131
|
+
<address2></address2>
|
132
|
+
<city>Los Angeles</city>
|
133
|
+
<state>CA</state>
|
134
|
+
<country>US</country>
|
135
|
+
<zip>90001</zip>
|
136
|
+
<phone></phone>
|
137
|
+
<vat_number></vat_number>
|
138
|
+
<ip_address></ip_address>
|
139
|
+
<credit_card>
|
140
|
+
<type>bogus</type>
|
141
|
+
<last_four>1</last_four>
|
142
|
+
<month type="integer">10</month>
|
143
|
+
<year type="integer">2011</year>
|
144
|
+
</credit_card>
|
145
|
+
<updated_at type="datetime">2010-10-14T06:16:02Z</updated_at>
|
146
|
+
</billing_info>
|
147
|
+
|
148
|
+
http_version: "1.1"
|
149
|
+
- !ruby/struct:VCR::HTTPInteraction
|
150
|
+
request: !ruby/struct:VCR::Request
|
151
|
+
method: :get
|
152
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-destroy-1286682213/billing_info.xml
|
153
|
+
body:
|
154
|
+
headers:
|
155
|
+
accept:
|
156
|
+
- application/xml
|
157
|
+
connection:
|
158
|
+
- close
|
159
|
+
authorization:
|
160
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
161
|
+
response: !ruby/struct:VCR::Response
|
162
|
+
status: !ruby/struct:VCR::ResponseStatus
|
163
|
+
code: 200
|
164
|
+
message: OK
|
165
|
+
headers:
|
166
|
+
x-ua-compatible:
|
167
|
+
- IE=Edge
|
168
|
+
etag:
|
169
|
+
- "\"c89a4093f6951ecbb83633d23f381419\""
|
170
|
+
connection:
|
171
|
+
- close
|
172
|
+
content-type:
|
173
|
+
- application/xml; charset=utf-8
|
174
|
+
x-runtime:
|
175
|
+
- "23"
|
176
|
+
date:
|
177
|
+
- Thu, 14 Oct 2010 06:16:02 GMT
|
178
|
+
server:
|
179
|
+
- nginx/0.7.65
|
180
|
+
content-length:
|
181
|
+
- "649"
|
182
|
+
set-cookie:
|
183
|
+
- _recurly_session=fb393ff0fedd372dea7d756ae5e92a93; domain=.recurly.com; path=/; Secure; HttpOnly
|
184
|
+
cache-control:
|
185
|
+
- private, max-age=0, must-revalidate
|
186
|
+
body: |
|
187
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
188
|
+
<billing_info>
|
189
|
+
<account_code>billing-destroy-1286682213</account_code>
|
190
|
+
<first_name>Verena</first_name>
|
191
|
+
<last_name>Test</last_name>
|
192
|
+
<address1>500 South Central Blvd</address1>
|
193
|
+
<address2></address2>
|
194
|
+
<city>Los Angeles</city>
|
195
|
+
<state>CA</state>
|
196
|
+
<country>US</country>
|
197
|
+
<zip>90001</zip>
|
198
|
+
<phone></phone>
|
199
|
+
<vat_number></vat_number>
|
200
|
+
<ip_address></ip_address>
|
201
|
+
<credit_card>
|
202
|
+
<type>bogus</type>
|
203
|
+
<last_four>1</last_four>
|
204
|
+
<month type="integer">10</month>
|
205
|
+
<year type="integer">2011</year>
|
206
|
+
</credit_card>
|
207
|
+
<updated_at type="datetime">2010-10-14T06:16:02Z</updated_at>
|
208
|
+
</billing_info>
|
209
|
+
|
210
|
+
http_version: "1.1"
|
211
|
+
- !ruby/struct:VCR::HTTPInteraction
|
212
|
+
request: !ruby/struct:VCR::Request
|
213
|
+
method: :delete
|
214
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-destroy-1286682213/billing_info.xml
|
215
|
+
body:
|
216
|
+
headers:
|
217
|
+
accept:
|
218
|
+
- application/xml
|
219
|
+
connection:
|
220
|
+
- close
|
221
|
+
authorization:
|
222
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
223
|
+
response: !ruby/struct:VCR::Response
|
224
|
+
status: !ruby/struct:VCR::ResponseStatus
|
225
|
+
code: 200
|
226
|
+
message: OK
|
227
|
+
headers:
|
228
|
+
x-ua-compatible:
|
229
|
+
- IE=Edge
|
230
|
+
connection:
|
231
|
+
- close
|
232
|
+
content-type:
|
233
|
+
- application/xml; charset=utf-8
|
234
|
+
x-runtime:
|
235
|
+
- "13"
|
236
|
+
date:
|
237
|
+
- Thu, 14 Oct 2010 06:16:03 GMT
|
238
|
+
server:
|
239
|
+
- nginx/0.7.65
|
240
|
+
content-length:
|
241
|
+
- "1"
|
242
|
+
set-cookie:
|
243
|
+
- _recurly_session=462e91e03352897a555c93cc266271cb; domain=.recurly.com; path=/; Secure; HttpOnly
|
244
|
+
cache-control:
|
245
|
+
- no-cache
|
246
|
+
body: " "
|
247
|
+
http_version: "1.1"
|
248
|
+
- !ruby/struct:VCR::HTTPInteraction
|
249
|
+
request: !ruby/struct:VCR::Request
|
250
|
+
method: :get
|
251
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-destroy-1286682213/billing_info.xml
|
252
|
+
body:
|
253
|
+
headers:
|
254
|
+
accept:
|
255
|
+
- application/xml
|
256
|
+
connection:
|
257
|
+
- close
|
258
|
+
authorization:
|
259
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
260
|
+
response: !ruby/struct:VCR::Response
|
261
|
+
status: !ruby/struct:VCR::ResponseStatus
|
262
|
+
code: 200
|
263
|
+
message: OK
|
264
|
+
headers:
|
265
|
+
x-ua-compatible:
|
266
|
+
- IE=Edge
|
267
|
+
etag:
|
268
|
+
- "\"aa9b1d12ba8bf8d3dc61058446d00674\""
|
269
|
+
connection:
|
270
|
+
- close
|
271
|
+
content-type:
|
272
|
+
- application/xml; charset=utf-8
|
273
|
+
x-runtime:
|
274
|
+
- "14"
|
275
|
+
date:
|
276
|
+
- Thu, 14 Oct 2010 06:16:03 GMT
|
277
|
+
server:
|
278
|
+
- nginx/0.7.65
|
279
|
+
content-length:
|
280
|
+
- "598"
|
281
|
+
set-cookie:
|
282
|
+
- _recurly_session=cf31081ca32183b738239e32bda62fb0; domain=.recurly.com; path=/; Secure; HttpOnly
|
283
|
+
cache-control:
|
284
|
+
- private, max-age=0, must-revalidate
|
285
|
+
body: |
|
286
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
287
|
+
<billing_info>
|
288
|
+
<account_code>billing-destroy-1286682213</account_code>
|
289
|
+
<first_name></first_name>
|
290
|
+
<last_name></last_name>
|
291
|
+
<address1></address1>
|
292
|
+
<address2></address2>
|
293
|
+
<city></city>
|
294
|
+
<state></state>
|
295
|
+
<country></country>
|
296
|
+
<zip></zip>
|
297
|
+
<phone></phone>
|
298
|
+
<vat_number></vat_number>
|
299
|
+
<ip_address></ip_address>
|
300
|
+
<credit_card>
|
301
|
+
<type>unknown</type>
|
302
|
+
<last_four></last_four>
|
303
|
+
<month type="integer">10</month>
|
304
|
+
<year type="integer">2010</year>
|
305
|
+
</credit_card>
|
306
|
+
<updated_at type="datetime">2010-10-14T06:16:03Z</updated_at>
|
307
|
+
</billing_info>
|
308
|
+
|
309
|
+
http_version: "1.1"
|
@@ -0,0 +1,273 @@
|
|
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>billing-find-1286682213</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/billing-find-1286682213
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "593"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:15:57 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "579"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=251c8e0e057e285ca846da2a5f03a592b75f7e53be7918b42ff65be48af8d52c5028109ef411c846e559998318e8ae6b6d3e4e55bad44016822a2180605bd1aa%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=5e324d8eee7a0516d5752b4cbd9b1f20; 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>billing-find-1286682213</id>
|
54
|
+
<account_code>billing-find-1286682213</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>61e40c19249249b19c66e7648b4a2c18</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:15:57Z</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: :put
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-find-1286682213/billing_info.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<billing-info>
|
75
|
+
<city>San Francisco</city>
|
76
|
+
<address1>123 Test St</address1>
|
77
|
+
<zip>94115</zip>
|
78
|
+
<account-code>billing-find-1286682213</account-code>
|
79
|
+
<country>US</country>
|
80
|
+
<credit-card>
|
81
|
+
<number>1</number>
|
82
|
+
<month type="integer">10</month>
|
83
|
+
<year type="integer">2011</year>
|
84
|
+
<verification-value>123</verification-value>
|
85
|
+
</credit-card>
|
86
|
+
<last-name>Test</last-name>
|
87
|
+
<first-name>Verena</first-name>
|
88
|
+
<state>CA</state>
|
89
|
+
</billing-info>
|
90
|
+
|
91
|
+
headers:
|
92
|
+
accept:
|
93
|
+
- "*/*"
|
94
|
+
connection:
|
95
|
+
- close
|
96
|
+
content-type:
|
97
|
+
- application/xml
|
98
|
+
authorization:
|
99
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
100
|
+
response: !ruby/struct:VCR::Response
|
101
|
+
status: !ruby/struct:VCR::ResponseStatus
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
x-ua-compatible:
|
106
|
+
- IE=Edge
|
107
|
+
etag:
|
108
|
+
- "\"faa53a491d2e86577b8ebefc44800cc9\""
|
109
|
+
connection:
|
110
|
+
- close
|
111
|
+
content-type:
|
112
|
+
- application/xml; charset=utf-8
|
113
|
+
x-runtime:
|
114
|
+
- "207"
|
115
|
+
date:
|
116
|
+
- Thu, 14 Oct 2010 06:15:58 GMT
|
117
|
+
server:
|
118
|
+
- nginx/0.7.65
|
119
|
+
content-length:
|
120
|
+
- "637"
|
121
|
+
set-cookie:
|
122
|
+
- _recurly_session=47fac2007422211081131fb928d500b7; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
|
+
cache-control:
|
124
|
+
- private, max-age=0, must-revalidate
|
125
|
+
body: |
|
126
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
127
|
+
<billing_info>
|
128
|
+
<account_code>billing-find-1286682213</account_code>
|
129
|
+
<first_name>Verena</first_name>
|
130
|
+
<last_name>Test</last_name>
|
131
|
+
<address1>123 Test St</address1>
|
132
|
+
<address2></address2>
|
133
|
+
<city>San Francisco</city>
|
134
|
+
<state>CA</state>
|
135
|
+
<country>US</country>
|
136
|
+
<zip>94115</zip>
|
137
|
+
<phone></phone>
|
138
|
+
<vat_number></vat_number>
|
139
|
+
<ip_address></ip_address>
|
140
|
+
<credit_card>
|
141
|
+
<type>bogus</type>
|
142
|
+
<last_four>1</last_four>
|
143
|
+
<month type="integer">10</month>
|
144
|
+
<year type="integer">2011</year>
|
145
|
+
</credit_card>
|
146
|
+
<updated_at type="datetime">2010-10-14T06:15:58Z</updated_at>
|
147
|
+
</billing_info>
|
148
|
+
|
149
|
+
http_version: "1.1"
|
150
|
+
- !ruby/struct:VCR::HTTPInteraction
|
151
|
+
request: !ruby/struct:VCR::Request
|
152
|
+
method: :get
|
153
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-find-1286682213/billing_info.xml
|
154
|
+
body:
|
155
|
+
headers:
|
156
|
+
accept:
|
157
|
+
- application/xml
|
158
|
+
connection:
|
159
|
+
- close
|
160
|
+
authorization:
|
161
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
162
|
+
response: !ruby/struct:VCR::Response
|
163
|
+
status: !ruby/struct:VCR::ResponseStatus
|
164
|
+
code: 200
|
165
|
+
message: OK
|
166
|
+
headers:
|
167
|
+
x-ua-compatible:
|
168
|
+
- IE=Edge
|
169
|
+
etag:
|
170
|
+
- "\"faa53a491d2e86577b8ebefc44800cc9\""
|
171
|
+
connection:
|
172
|
+
- close
|
173
|
+
content-type:
|
174
|
+
- application/xml; charset=utf-8
|
175
|
+
x-runtime:
|
176
|
+
- "14"
|
177
|
+
date:
|
178
|
+
- Thu, 14 Oct 2010 06:15:59 GMT
|
179
|
+
server:
|
180
|
+
- nginx/0.7.65
|
181
|
+
content-length:
|
182
|
+
- "637"
|
183
|
+
set-cookie:
|
184
|
+
- _recurly_session=1d8a03abc0dff6e938f4555529e4a2e9; domain=.recurly.com; path=/; Secure; HttpOnly
|
185
|
+
cache-control:
|
186
|
+
- private, max-age=0, must-revalidate
|
187
|
+
body: |
|
188
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
189
|
+
<billing_info>
|
190
|
+
<account_code>billing-find-1286682213</account_code>
|
191
|
+
<first_name>Verena</first_name>
|
192
|
+
<last_name>Test</last_name>
|
193
|
+
<address1>123 Test St</address1>
|
194
|
+
<address2></address2>
|
195
|
+
<city>San Francisco</city>
|
196
|
+
<state>CA</state>
|
197
|
+
<country>US</country>
|
198
|
+
<zip>94115</zip>
|
199
|
+
<phone></phone>
|
200
|
+
<vat_number></vat_number>
|
201
|
+
<ip_address></ip_address>
|
202
|
+
<credit_card>
|
203
|
+
<type>bogus</type>
|
204
|
+
<last_four>1</last_four>
|
205
|
+
<month type="integer">10</month>
|
206
|
+
<year type="integer">2011</year>
|
207
|
+
</credit_card>
|
208
|
+
<updated_at type="datetime">2010-10-14T06:15:58Z</updated_at>
|
209
|
+
</billing_info>
|
210
|
+
|
211
|
+
http_version: "1.1"
|
212
|
+
- !ruby/struct:VCR::HTTPInteraction
|
213
|
+
request: !ruby/struct:VCR::Request
|
214
|
+
method: :get
|
215
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/billing-find-1286682213/billing_info.xml
|
216
|
+
body:
|
217
|
+
headers:
|
218
|
+
accept:
|
219
|
+
- application/xml
|
220
|
+
connection:
|
221
|
+
- close
|
222
|
+
authorization:
|
223
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
224
|
+
response: !ruby/struct:VCR::Response
|
225
|
+
status: !ruby/struct:VCR::ResponseStatus
|
226
|
+
code: 200
|
227
|
+
message: OK
|
228
|
+
headers:
|
229
|
+
x-ua-compatible:
|
230
|
+
- IE=Edge
|
231
|
+
etag:
|
232
|
+
- "\"faa53a491d2e86577b8ebefc44800cc9\""
|
233
|
+
connection:
|
234
|
+
- close
|
235
|
+
content-type:
|
236
|
+
- application/xml; charset=utf-8
|
237
|
+
x-runtime:
|
238
|
+
- "22"
|
239
|
+
date:
|
240
|
+
- Thu, 14 Oct 2010 06:16:00 GMT
|
241
|
+
server:
|
242
|
+
- nginx/0.7.65
|
243
|
+
content-length:
|
244
|
+
- "637"
|
245
|
+
set-cookie:
|
246
|
+
- _recurly_session=0b9686492ec8c7e8b2f6d885f626411c; domain=.recurly.com; path=/; Secure; HttpOnly
|
247
|
+
cache-control:
|
248
|
+
- private, max-age=0, must-revalidate
|
249
|
+
body: |
|
250
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
251
|
+
<billing_info>
|
252
|
+
<account_code>billing-find-1286682213</account_code>
|
253
|
+
<first_name>Verena</first_name>
|
254
|
+
<last_name>Test</last_name>
|
255
|
+
<address1>123 Test St</address1>
|
256
|
+
<address2></address2>
|
257
|
+
<city>San Francisco</city>
|
258
|
+
<state>CA</state>
|
259
|
+
<country>US</country>
|
260
|
+
<zip>94115</zip>
|
261
|
+
<phone></phone>
|
262
|
+
<vat_number></vat_number>
|
263
|
+
<ip_address></ip_address>
|
264
|
+
<credit_card>
|
265
|
+
<type>bogus</type>
|
266
|
+
<last_four>1</last_four>
|
267
|
+
<month type="integer">10</month>
|
268
|
+
<year type="integer">2011</year>
|
269
|
+
</credit_card>
|
270
|
+
<updated_at type="datetime">2010-10-14T06:15:58Z</updated_at>
|
271
|
+
</billing_info>
|
272
|
+
|
273
|
+
http_version: "1.1"
|