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,250 @@
|
|
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>account-update-1286666929</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/account-update-1286666929
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "736"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:15:42 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "583"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=019b3f484f40fb1de26b7badec1a20480cb9982ec1e6d4fc204b14804aa25d72dfadbd6c09a966dea8b32943e2279ff1a32d680cad039fb6dc1b96149f54b703%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=6c9806be2f920f859ed12d1ed126396b; 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>account-update-1286666929</id>
|
54
|
+
<account_code>account-update-1286666929</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>db286988b30c4b6491871c62ef71b904</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:15:41Z</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/accounts/account-update-1286666929.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
|
+
- "\"0d29ded7b895abf44369e328cd79c8be\""
|
89
|
+
connection:
|
90
|
+
- close
|
91
|
+
content-type:
|
92
|
+
- application/xml; charset=utf-8
|
93
|
+
x-runtime:
|
94
|
+
- "44"
|
95
|
+
date:
|
96
|
+
- Thu, 14 Oct 2010 06:15:42 GMT
|
97
|
+
server:
|
98
|
+
- nginx/0.7.65
|
99
|
+
content-length:
|
100
|
+
- "583"
|
101
|
+
set-cookie:
|
102
|
+
- _recurly_session=554d8145c2870b97cbc6299258e99337; 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
|
+
<account>
|
108
|
+
<id>account-update-1286666929</id>
|
109
|
+
<account_code>account-update-1286666929</account_code>
|
110
|
+
<username></username>
|
111
|
+
<email>verena@test.com</email>
|
112
|
+
<first_name>Verena</first_name>
|
113
|
+
<last_name>Test</last_name>
|
114
|
+
<company_name>Recurly Ruby Gem</company_name>
|
115
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
116
|
+
<closed type="boolean">false</closed>
|
117
|
+
<hosted_login_token>db286988b30c4b6491871c62ef71b904</hosted_login_token>
|
118
|
+
<created_at type="datetime">2010-10-14T06:15:41Z</created_at>
|
119
|
+
<state>active</state>
|
120
|
+
</account>
|
121
|
+
|
122
|
+
http_version: "1.1"
|
123
|
+
- !ruby/struct:VCR::HTTPInteraction
|
124
|
+
request: !ruby/struct:VCR::Request
|
125
|
+
method: :put
|
126
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1286666929.xml
|
127
|
+
body: |
|
128
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
129
|
+
<account>
|
130
|
+
<created-at type="datetime">2010-10-14T06:15:41Z</created-at>
|
131
|
+
<company-name>Recurly Ruby Gem -- Update</company-name>
|
132
|
+
<hosted-login-token>db286988b30c4b6491871c62ef71b904</hosted-login-token>
|
133
|
+
<account-code>account-update-1286666929</account-code>
|
134
|
+
<closed type="boolean">false</closed>
|
135
|
+
<username type="yaml" nil="true"></username>
|
136
|
+
<id>account-update-1286666929</id>
|
137
|
+
<last-name>Update Test</last-name>
|
138
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
139
|
+
<state>active</state>
|
140
|
+
<email>verena@test.com</email>
|
141
|
+
<first-name>Verena</first-name>
|
142
|
+
</account>
|
143
|
+
|
144
|
+
headers:
|
145
|
+
accept:
|
146
|
+
- "*/*"
|
147
|
+
connection:
|
148
|
+
- close
|
149
|
+
content-type:
|
150
|
+
- application/xml
|
151
|
+
authorization:
|
152
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
153
|
+
response: !ruby/struct:VCR::Response
|
154
|
+
status: !ruby/struct:VCR::ResponseStatus
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
x-ua-compatible:
|
159
|
+
- IE=Edge
|
160
|
+
etag:
|
161
|
+
- "\"e056d2e2ba4865d11118828150edb3aa\""
|
162
|
+
connection:
|
163
|
+
- close
|
164
|
+
content-type:
|
165
|
+
- application/xml; charset=utf-8
|
166
|
+
x-runtime:
|
167
|
+
- "25"
|
168
|
+
date:
|
169
|
+
- Thu, 14 Oct 2010 06:15:43 GMT
|
170
|
+
server:
|
171
|
+
- nginx/0.7.65
|
172
|
+
content-length:
|
173
|
+
- "600"
|
174
|
+
set-cookie:
|
175
|
+
- _recurly_session=8d64aebdd3a2189428dbc8d58a584d9c; domain=.recurly.com; path=/; Secure; HttpOnly
|
176
|
+
cache-control:
|
177
|
+
- private, max-age=0, must-revalidate
|
178
|
+
body: |
|
179
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
180
|
+
<account>
|
181
|
+
<id>account-update-1286666929</id>
|
182
|
+
<account_code>account-update-1286666929</account_code>
|
183
|
+
<username></username>
|
184
|
+
<email>verena@test.com</email>
|
185
|
+
<first_name>Verena</first_name>
|
186
|
+
<last_name>Update Test</last_name>
|
187
|
+
<company_name>Recurly Ruby Gem -- Update</company_name>
|
188
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
189
|
+
<closed type="boolean">false</closed>
|
190
|
+
<hosted_login_token>db286988b30c4b6491871c62ef71b904</hosted_login_token>
|
191
|
+
<created_at type="datetime">2010-10-14T06:15:41Z</created_at>
|
192
|
+
<state>active</state>
|
193
|
+
</account>
|
194
|
+
|
195
|
+
http_version: "1.1"
|
196
|
+
- !ruby/struct:VCR::HTTPInteraction
|
197
|
+
request: !ruby/struct:VCR::Request
|
198
|
+
method: :get
|
199
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-update-1286666929.xml
|
200
|
+
body:
|
201
|
+
headers:
|
202
|
+
accept:
|
203
|
+
- application/xml
|
204
|
+
connection:
|
205
|
+
- close
|
206
|
+
authorization:
|
207
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
208
|
+
response: !ruby/struct:VCR::Response
|
209
|
+
status: !ruby/struct:VCR::ResponseStatus
|
210
|
+
code: 200
|
211
|
+
message: OK
|
212
|
+
headers:
|
213
|
+
x-ua-compatible:
|
214
|
+
- IE=Edge
|
215
|
+
etag:
|
216
|
+
- "\"e056d2e2ba4865d11118828150edb3aa\""
|
217
|
+
connection:
|
218
|
+
- close
|
219
|
+
content-type:
|
220
|
+
- application/xml; charset=utf-8
|
221
|
+
x-runtime:
|
222
|
+
- "36"
|
223
|
+
date:
|
224
|
+
- Thu, 14 Oct 2010 06:15:44 GMT
|
225
|
+
server:
|
226
|
+
- nginx/0.7.65
|
227
|
+
content-length:
|
228
|
+
- "600"
|
229
|
+
set-cookie:
|
230
|
+
- _recurly_session=78d2e84a77db17465dfe0d09c057035a; domain=.recurly.com; path=/; Secure; HttpOnly
|
231
|
+
cache-control:
|
232
|
+
- private, max-age=0, must-revalidate
|
233
|
+
body: |
|
234
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
235
|
+
<account>
|
236
|
+
<id>account-update-1286666929</id>
|
237
|
+
<account_code>account-update-1286666929</account_code>
|
238
|
+
<username></username>
|
239
|
+
<email>verena@test.com</email>
|
240
|
+
<first_name>Verena</first_name>
|
241
|
+
<last_name>Update Test</last_name>
|
242
|
+
<company_name>Recurly Ruby Gem -- Update</company_name>
|
243
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
244
|
+
<closed type="boolean">false</closed>
|
245
|
+
<hosted_login_token>db286988b30c4b6491871c62ef71b904</hosted_login_token>
|
246
|
+
<created_at type="datetime">2010-10-14T06:15:41Z</created_at>
|
247
|
+
<state>active</state>
|
248
|
+
</account>
|
249
|
+
|
250
|
+
http_version: "1.1"
|
@@ -0,0 +1,210 @@
|
|
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-create-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
|
+
content-type:
|
20
|
+
- application/xml
|
21
|
+
connection:
|
22
|
+
- close
|
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-create-1286682213
|
32
|
+
content-type:
|
33
|
+
- application/xml; charset=utf-8
|
34
|
+
connection:
|
35
|
+
- close
|
36
|
+
server:
|
37
|
+
- nginx/0.7.65
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:15:50 GMT
|
40
|
+
x-runtime:
|
41
|
+
- "570"
|
42
|
+
content-length:
|
43
|
+
- "583"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=a4268043a78f7319216f83a0c6b8b4437c3b4a6048593ff8bd7801449c909c603c59ca126b52aa366f6cbe896bc547ecf1539109ec2eced8b710ad05d21df5ac%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=afc9b99eb6c6eed5a5365b50c2935ebb; 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-create-1286682213</id>
|
54
|
+
<account_code>billing-create-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>058c53e7961d4d8bb2218c4838b66738</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:15:50Z</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-create-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
|
+
<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
|
+
content-type:
|
94
|
+
- application/xml
|
95
|
+
connection:
|
96
|
+
- close
|
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
|
+
- "\"aa9c0a32721322c8d0b06750ec036b7c\""
|
108
|
+
content-type:
|
109
|
+
- application/xml; charset=utf-8
|
110
|
+
connection:
|
111
|
+
- close
|
112
|
+
server:
|
113
|
+
- nginx/0.7.65
|
114
|
+
date:
|
115
|
+
- Thu, 14 Oct 2010 06:15:51 GMT
|
116
|
+
x-runtime:
|
117
|
+
- "284"
|
118
|
+
content-length:
|
119
|
+
- "639"
|
120
|
+
set-cookie:
|
121
|
+
- _recurly_session=6a818ad862911f99f6f78eee590ea52d; 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-create-1286682213</account_code>
|
128
|
+
<first_name>Verena</first_name>
|
129
|
+
<last_name>Test</last_name>
|
130
|
+
<address1>123 Test St</address1>
|
131
|
+
<address2></address2>
|
132
|
+
<city>San Francisco</city>
|
133
|
+
<state>CA</state>
|
134
|
+
<country>US</country>
|
135
|
+
<zip>94115</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:15:51Z</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-create-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
|
+
- "\"aa9c0a32721322c8d0b06750ec036b7c\""
|
170
|
+
connection:
|
171
|
+
- close
|
172
|
+
content-type:
|
173
|
+
- application/xml; charset=utf-8
|
174
|
+
x-runtime:
|
175
|
+
- "13"
|
176
|
+
date:
|
177
|
+
- Thu, 14 Oct 2010 06:15:52 GMT
|
178
|
+
server:
|
179
|
+
- nginx/0.7.65
|
180
|
+
content-length:
|
181
|
+
- "639"
|
182
|
+
set-cookie:
|
183
|
+
- _recurly_session=8200d9520fc796e99f1e0a3c6665192c; 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-create-1286682213</account_code>
|
190
|
+
<first_name>Verena</first_name>
|
191
|
+
<last_name>Test</last_name>
|
192
|
+
<address1>123 Test St</address1>
|
193
|
+
<address2></address2>
|
194
|
+
<city>San Francisco</city>
|
195
|
+
<state>CA</state>
|
196
|
+
<country>US</country>
|
197
|
+
<zip>94115</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:15:51Z</updated_at>
|
208
|
+
</billing_info>
|
209
|
+
|
210
|
+
http_version: "1.1"
|