recurly 0.4.5 → 0.4.6
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/base.rb +11 -4
- data/lib/recurly/billing_info.rb +2 -1
- data/lib/recurly/charge.rb +3 -1
- data/lib/recurly/credit.rb +3 -1
- data/lib/recurly/subscription.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/unit/billing_info_spec.rb +1 -0
- data/spec/unit/charge_spec.rb +2 -0
- data/spec/unit/credit_spec.rb +2 -0
- data/spec/unit/subscription_spec.rb +1 -1
- data/spec/vcr/account/accept-language-account/1301979678.yml +14 -12
- data/spec/vcr/account/close/1301979678.yml +41 -35
- data/spec/vcr/account/create-blank/1301979678.yml +11 -9
- data/spec/vcr/account/create-duplicate/1301979678.yml +25 -21
- data/spec/vcr/account/create-min/1301979678.yml +14 -12
- data/spec/vcr/account/create/1301979678.yml +14 -12
- data/spec/vcr/account/find/1301979678.yml +40 -34
- data/spec/vcr/account/list/1301979678.yml +348 -341
- data/spec/vcr/account/update/1301979678.yml +61 -53
- data/spec/vcr/billing/create/1302025874.yml +42 -36
- data/spec/vcr/billing/destroy/1302025874.yml +65 -55
- data/spec/vcr/billing/errors/1302025874.yml +25 -21
- data/spec/vcr/billing/find/1302025874.yml +56 -48
- data/spec/vcr/billing/update/1302025874.yml +56 -48
- data/spec/vcr/charge/create/1297746103.yml +65 -53
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +85 -69
- data/spec/vcr/charge/list-all/1297746103.yml +97 -75
- data/spec/vcr/charge/list-invoiced/1297746103.yml +143 -115
- data/spec/vcr/charge/list-pending/1297746103.yml +97 -75
- data/spec/vcr/charge/lookup/1297746103.yml +51 -41
- data/spec/vcr/coupon/create/1299714521.yml +28 -88
- data/spec/vcr/coupon/destroy/1299714521.yml +25 -107
- data/spec/vcr/credit/create/1299714599.yml +51 -41
- data/spec/vcr/credit/delete/1299714599.yml +74 -60
- data/spec/vcr/credit/list/1299714599.yml +97 -75
- data/spec/vcr/credit/lookup/1299714599.yml +51 -41
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +39 -33
- data/spec/vcr/invoice/create/1297746103.yml +86 -72
- data/spec/vcr/invoice/list/1297746103.yml +121 -103
- data/spec/vcr/invoice/lookup/1297746103.yml +84 -72
- data/spec/vcr/plan/all.yml +108 -134
- data/spec/vcr/plan/find.yml +47 -95
- data/spec/vcr/plan/update.yml +152 -66
- data/spec/vcr/subscription/addons/add/1301885121.yml +48 -310
- data/spec/vcr/subscription/addons/create/1301885121.yml +48 -151
- data/spec/vcr/subscription/addons/remove/1301885121.yml +48 -279
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +132 -135
- data/spec/vcr/subscription/cancel/1301881900.yml +111 -117
- data/spec/vcr/subscription/change1/1301881900.yml +107 -113
- data/spec/vcr/subscription/change2/1301881900.yml +107 -113
- data/spec/vcr/subscription/create/1301881900.yml +50 -65
- data/spec/vcr/subscription/find/1301881900.yml +69 -81
- data/spec/vcr/subscription/reactivate/1301881900.yml +122 -126
- data/spec/vcr/subscription/refund-full/1301881900.yml +84 -153
- data/spec/vcr/subscription/refund-none/1301881900.yml +101 -108
- data/spec/vcr/subscription/refund-partial/1301881900.yml +84 -153
- data/spec/vcr/transaction/all/1301883347.yml +86 -84
- data/spec/vcr/transaction/create-no-account/1301883347.yml +15 -13
- data/spec/vcr/transaction/create-with-account/1301883347.yml +43 -37
- data/spec/vcr/transaction/list-filled/1301883347.yml +115 -101
- data/spec/vcr/transaction/list-initial/1301883347.yml +43 -37
- data/spec/vcr/transaction/lookup/1301883347.yml +118 -102
- data/spec/vcr/transaction/refund/1301883347.yml +58 -50
- data/spec/vcr/transaction/void/1301883347.yml +75 -82
- data/spec/vcr/transparent/post-url/1301879142.yml +29 -25
- metadata +3 -3
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri: http://api-test%
|
5
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
@@ -20,36 +20,38 @@
|
|
20
20
|
|
21
21
|
headers:
|
22
22
|
authorization:
|
23
|
-
- Basic
|
23
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
24
|
+
user-agent:
|
25
|
+
- Recurly Ruby Client v0.4.6
|
24
26
|
content-type:
|
25
27
|
- application/xml
|
26
28
|
accept:
|
27
29
|
- "*/*"
|
28
|
-
user-agent:
|
29
|
-
- Ruby
|
30
30
|
connection:
|
31
31
|
- close
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message: Created
|
35
|
+
message: "Created "
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/account-update-1301979678
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "300"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "583"
|
47
|
-
|
48
|
-
-
|
47
|
+
server:
|
48
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
49
|
+
date:
|
50
|
+
- Thu, 21 Apr 2011 17:58:34 GMT
|
49
51
|
connection:
|
50
52
|
- close
|
51
|
-
|
52
|
-
-
|
53
|
+
set-cookie:
|
54
|
+
- _recurly_session=1f858a2b5c2ddab2ed721ced83a96641; domain=.recurly.local; path=/; HttpOnly
|
53
55
|
body: |
|
54
56
|
<?xml version="1.0" encoding="UTF-8"?>
|
55
57
|
<account>
|
@@ -62,8 +64,8 @@
|
|
62
64
|
<company_name>Recurly Ruby Gem</company_name>
|
63
65
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
66
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
67
|
+
<hosted_login_token>e254b980c794499e94a887799a930227</hosted_login_token>
|
68
|
+
<created_at type="datetime">2011-04-21T17:58:34Z</created_at>
|
67
69
|
<state>active</state>
|
68
70
|
</account>
|
69
71
|
|
@@ -71,40 +73,42 @@
|
|
71
73
|
- !ruby/struct:VCR::HTTPInteraction
|
72
74
|
request: !ruby/struct:VCR::Request
|
73
75
|
method: :get
|
74
|
-
uri: http://api-test%
|
76
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/account-update-1301979678.xml
|
75
77
|
body:
|
76
78
|
headers:
|
77
79
|
authorization:
|
78
|
-
- Basic
|
80
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
81
|
+
user-agent:
|
82
|
+
- Recurly Ruby Client v0.4.6
|
79
83
|
accept:
|
80
84
|
- application/xml
|
81
85
|
accept-encoding:
|
82
86
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
-
user-agent:
|
84
|
-
- Ruby
|
85
87
|
connection:
|
86
88
|
- close
|
87
89
|
response: !ruby/struct:VCR::Response
|
88
90
|
status: !ruby/struct:VCR::ResponseStatus
|
89
91
|
code: 200
|
90
|
-
message: OK
|
92
|
+
message: "OK "
|
91
93
|
headers:
|
92
94
|
x-runtime:
|
93
|
-
- "
|
95
|
+
- "264"
|
94
96
|
content-type:
|
95
97
|
- application/xml; charset=utf-8
|
96
98
|
etag:
|
97
|
-
- "\"
|
99
|
+
- "\"5a2b65e239e1648bca688d74eec73149\""
|
98
100
|
cache-control:
|
99
101
|
- private, max-age=0, must-revalidate
|
100
102
|
content-length:
|
101
103
|
- "583"
|
102
|
-
|
103
|
-
-
|
104
|
+
server:
|
105
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
106
|
+
date:
|
107
|
+
- Thu, 21 Apr 2011 17:58:36 GMT
|
104
108
|
connection:
|
105
109
|
- close
|
106
|
-
|
107
|
-
-
|
110
|
+
set-cookie:
|
111
|
+
- _recurly_session=e8b2a64019657e5f81d2c4ea80aa149c; domain=.recurly.local; path=/; HttpOnly
|
108
112
|
body: |
|
109
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
110
114
|
<account>
|
@@ -117,8 +121,8 @@
|
|
117
121
|
<company_name>Recurly Ruby Gem</company_name>
|
118
122
|
<balance_in_cents type="integer">0</balance_in_cents>
|
119
123
|
<closed type="boolean">false</closed>
|
120
|
-
<hosted_login_token>
|
121
|
-
<created_at type="datetime">2011-04-
|
124
|
+
<hosted_login_token>e254b980c794499e94a887799a930227</hosted_login_token>
|
125
|
+
<created_at type="datetime">2011-04-21T17:58:34Z</created_at>
|
122
126
|
<state>active</state>
|
123
127
|
</account>
|
124
128
|
|
@@ -126,7 +130,7 @@
|
|
126
130
|
- !ruby/struct:VCR::HTTPInteraction
|
127
131
|
request: !ruby/struct:VCR::Request
|
128
132
|
method: :put
|
129
|
-
uri: http://api-test%
|
133
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/account-update-1301979678.xml
|
130
134
|
body: |
|
131
135
|
<?xml version="1.0" encoding="UTF-8"?>
|
132
136
|
<account>
|
@@ -139,8 +143,8 @@
|
|
139
143
|
<company-name>Recurly Ruby Gem -- Update</company-name>
|
140
144
|
<balance-in-cents type="integer">0</balance-in-cents>
|
141
145
|
<closed type="boolean">false</closed>
|
142
|
-
<hosted-login-token>
|
143
|
-
<created-at type="datetime">2011-04-
|
146
|
+
<hosted-login-token>e254b980c794499e94a887799a930227</hosted-login-token>
|
147
|
+
<created-at type="datetime">2011-04-21T17:58:34Z</created-at>
|
144
148
|
<state>active</state>
|
145
149
|
<billing-info>
|
146
150
|
<credit-card>
|
@@ -151,36 +155,38 @@
|
|
151
155
|
|
152
156
|
headers:
|
153
157
|
authorization:
|
154
|
-
- Basic
|
158
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
159
|
+
user-agent:
|
160
|
+
- Recurly Ruby Client v0.4.6
|
155
161
|
content-type:
|
156
162
|
- application/xml
|
157
163
|
accept:
|
158
164
|
- "*/*"
|
159
|
-
user-agent:
|
160
|
-
- Ruby
|
161
165
|
connection:
|
162
166
|
- close
|
163
167
|
response: !ruby/struct:VCR::Response
|
164
168
|
status: !ruby/struct:VCR::ResponseStatus
|
165
169
|
code: 200
|
166
|
-
message: OK
|
170
|
+
message: "OK "
|
167
171
|
headers:
|
168
172
|
x-runtime:
|
169
|
-
- "
|
173
|
+
- "423"
|
170
174
|
content-type:
|
171
175
|
- application/xml; charset=utf-8
|
172
176
|
etag:
|
173
|
-
- "\"
|
177
|
+
- "\"770ed4cf8884b5d1680fc2fedd763601\""
|
174
178
|
cache-control:
|
175
179
|
- private, max-age=0, must-revalidate
|
176
180
|
content-length:
|
177
181
|
- "600"
|
178
|
-
|
179
|
-
-
|
182
|
+
server:
|
183
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
184
|
+
date:
|
185
|
+
- Thu, 21 Apr 2011 17:58:39 GMT
|
180
186
|
connection:
|
181
187
|
- close
|
182
|
-
|
183
|
-
-
|
188
|
+
set-cookie:
|
189
|
+
- _recurly_session=e3a6a1c05b327a0a12593edd5cc0922c; domain=.recurly.local; path=/; HttpOnly
|
184
190
|
body: |
|
185
191
|
<?xml version="1.0" encoding="UTF-8"?>
|
186
192
|
<account>
|
@@ -193,8 +199,8 @@
|
|
193
199
|
<company_name>Recurly Ruby Gem -- Update</company_name>
|
194
200
|
<balance_in_cents type="integer">0</balance_in_cents>
|
195
201
|
<closed type="boolean">false</closed>
|
196
|
-
<hosted_login_token>
|
197
|
-
<created_at type="datetime">2011-04-
|
202
|
+
<hosted_login_token>e254b980c794499e94a887799a930227</hosted_login_token>
|
203
|
+
<created_at type="datetime">2011-04-21T17:58:34Z</created_at>
|
198
204
|
<state>active</state>
|
199
205
|
</account>
|
200
206
|
|
@@ -202,40 +208,42 @@
|
|
202
208
|
- !ruby/struct:VCR::HTTPInteraction
|
203
209
|
request: !ruby/struct:VCR::Request
|
204
210
|
method: :get
|
205
|
-
uri: http://api-test%
|
211
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/account-update-1301979678.xml
|
206
212
|
body:
|
207
213
|
headers:
|
208
214
|
authorization:
|
209
|
-
- Basic
|
215
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
216
|
+
user-agent:
|
217
|
+
- Recurly Ruby Client v0.4.6
|
210
218
|
accept:
|
211
219
|
- application/xml
|
212
220
|
accept-encoding:
|
213
221
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
214
|
-
user-agent:
|
215
|
-
- Ruby
|
216
222
|
connection:
|
217
223
|
- close
|
218
224
|
response: !ruby/struct:VCR::Response
|
219
225
|
status: !ruby/struct:VCR::ResponseStatus
|
220
226
|
code: 200
|
221
|
-
message: OK
|
227
|
+
message: "OK "
|
222
228
|
headers:
|
223
229
|
x-runtime:
|
224
|
-
- "
|
230
|
+
- "261"
|
225
231
|
content-type:
|
226
232
|
- application/xml; charset=utf-8
|
227
233
|
etag:
|
228
|
-
- "\"
|
234
|
+
- "\"770ed4cf8884b5d1680fc2fedd763601\""
|
229
235
|
cache-control:
|
230
236
|
- private, max-age=0, must-revalidate
|
231
237
|
content-length:
|
232
238
|
- "600"
|
233
|
-
|
234
|
-
-
|
239
|
+
server:
|
240
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
241
|
+
date:
|
242
|
+
- Thu, 21 Apr 2011 17:58:41 GMT
|
235
243
|
connection:
|
236
244
|
- close
|
237
|
-
|
238
|
-
-
|
245
|
+
set-cookie:
|
246
|
+
- _recurly_session=ad60185240358cc0cfcaebac2e8bec7a; domain=.recurly.local; path=/; HttpOnly
|
239
247
|
body: |
|
240
248
|
<?xml version="1.0" encoding="UTF-8"?>
|
241
249
|
<account>
|
@@ -248,8 +256,8 @@
|
|
248
256
|
<company_name>Recurly Ruby Gem -- Update</company_name>
|
249
257
|
<balance_in_cents type="integer">0</balance_in_cents>
|
250
258
|
<closed type="boolean">false</closed>
|
251
|
-
<hosted_login_token>
|
252
|
-
<created_at type="datetime">2011-04-
|
259
|
+
<hosted_login_token>e254b980c794499e94a887799a930227</hosted_login_token>
|
260
|
+
<created_at type="datetime">2011-04-21T17:58:34Z</created_at>
|
253
261
|
<state>active</state>
|
254
262
|
</account>
|
255
263
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri: http://api-test%
|
5
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
@@ -20,36 +20,38 @@
|
|
20
20
|
|
21
21
|
headers:
|
22
22
|
authorization:
|
23
|
-
- Basic
|
23
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
24
|
+
user-agent:
|
25
|
+
- Recurly Ruby Client v0.4.6
|
24
26
|
content-type:
|
25
27
|
- application/xml
|
26
28
|
accept:
|
27
29
|
- "*/*"
|
28
|
-
user-agent:
|
29
|
-
- Ruby
|
30
30
|
connection:
|
31
31
|
- close
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message: Created
|
35
|
+
message: "Created "
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/billing-create-1302025874
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "303"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "583"
|
47
|
-
|
48
|
-
-
|
47
|
+
server:
|
48
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
49
|
+
date:
|
50
|
+
- Thu, 21 Apr 2011 17:59:13 GMT
|
49
51
|
connection:
|
50
52
|
- close
|
51
|
-
|
52
|
-
-
|
53
|
+
set-cookie:
|
54
|
+
- _recurly_session=6c04dd06bdc2d7e8753275c0dd5ddfcc; domain=.recurly.local; path=/; HttpOnly
|
53
55
|
body: |
|
54
56
|
<?xml version="1.0" encoding="UTF-8"?>
|
55
57
|
<account>
|
@@ -62,8 +64,8 @@
|
|
62
64
|
<company_name>Recurly Ruby Gem</company_name>
|
63
65
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
66
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
67
|
+
<hosted_login_token>09709affc98a4d44b9cc0447442f1913</hosted_login_token>
|
68
|
+
<created_at type="datetime">2011-04-21T17:59:13Z</created_at>
|
67
69
|
<state>active</state>
|
68
70
|
</account>
|
69
71
|
|
@@ -71,7 +73,7 @@
|
|
71
73
|
- !ruby/struct:VCR::HTTPInteraction
|
72
74
|
request: !ruby/struct:VCR::Request
|
73
75
|
method: :put
|
74
|
-
uri: http://api-test%
|
76
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/billing-create-1302025874/billing_info.xml
|
75
77
|
body: |
|
76
78
|
<?xml version="1.0" encoding="UTF-8"?>
|
77
79
|
<billing-info>
|
@@ -92,36 +94,38 @@
|
|
92
94
|
|
93
95
|
headers:
|
94
96
|
authorization:
|
95
|
-
- Basic
|
97
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
98
|
+
user-agent:
|
99
|
+
- Recurly Ruby Client v0.4.6
|
96
100
|
content-type:
|
97
101
|
- application/xml
|
98
102
|
accept:
|
99
103
|
- "*/*"
|
100
|
-
user-agent:
|
101
|
-
- Ruby
|
102
104
|
connection:
|
103
105
|
- close
|
104
106
|
response: !ruby/struct:VCR::Response
|
105
107
|
status: !ruby/struct:VCR::ResponseStatus
|
106
108
|
code: 200
|
107
|
-
message: OK
|
109
|
+
message: "OK "
|
108
110
|
headers:
|
109
111
|
x-runtime:
|
110
|
-
- "
|
112
|
+
- "1327"
|
111
113
|
content-type:
|
112
114
|
- application/xml; charset=utf-8
|
113
115
|
etag:
|
114
|
-
- "\"
|
116
|
+
- "\"1cf3758044520b76c40b78bc3c26f6fb\""
|
115
117
|
cache-control:
|
116
118
|
- private, max-age=0, must-revalidate
|
117
119
|
content-length:
|
118
120
|
- "640"
|
119
|
-
|
120
|
-
-
|
121
|
+
server:
|
122
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
123
|
+
date:
|
124
|
+
- Thu, 21 Apr 2011 17:59:16 GMT
|
121
125
|
connection:
|
122
126
|
- close
|
123
|
-
|
124
|
-
-
|
127
|
+
set-cookie:
|
128
|
+
- _recurly_session=7da66b53c9bc069008b95f00a97f0283; domain=.recurly.local; path=/; HttpOnly
|
125
129
|
body: |
|
126
130
|
<?xml version="1.0" encoding="UTF-8"?>
|
127
131
|
<billing_info>
|
@@ -143,47 +147,49 @@
|
|
143
147
|
<month type="integer">4</month>
|
144
148
|
<year type="integer">2012</year>
|
145
149
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2011-04-
|
150
|
+
<updated_at type="datetime">2011-04-21T17:59:16Z</updated_at>
|
147
151
|
</billing_info>
|
148
152
|
|
149
153
|
http_version: "1.1"
|
150
154
|
- !ruby/struct:VCR::HTTPInteraction
|
151
155
|
request: !ruby/struct:VCR::Request
|
152
156
|
method: :get
|
153
|
-
uri: http://api-test%
|
157
|
+
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/billing-create-1302025874/billing_info.xml
|
154
158
|
body:
|
155
159
|
headers:
|
156
160
|
authorization:
|
157
|
-
- Basic
|
161
|
+
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
|
162
|
+
user-agent:
|
163
|
+
- Recurly Ruby Client v0.4.6
|
158
164
|
accept:
|
159
165
|
- application/xml
|
160
166
|
accept-encoding:
|
161
167
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
162
|
-
user-agent:
|
163
|
-
- Ruby
|
164
168
|
connection:
|
165
169
|
- close
|
166
170
|
response: !ruby/struct:VCR::Response
|
167
171
|
status: !ruby/struct:VCR::ResponseStatus
|
168
172
|
code: 200
|
169
|
-
message: OK
|
173
|
+
message: "OK "
|
170
174
|
headers:
|
171
175
|
x-runtime:
|
172
|
-
- "
|
176
|
+
- "239"
|
173
177
|
content-type:
|
174
178
|
- application/xml; charset=utf-8
|
175
179
|
etag:
|
176
|
-
- "\"
|
180
|
+
- "\"1cf3758044520b76c40b78bc3c26f6fb\""
|
177
181
|
cache-control:
|
178
182
|
- private, max-age=0, must-revalidate
|
179
183
|
content-length:
|
180
184
|
- "640"
|
181
|
-
|
182
|
-
-
|
185
|
+
server:
|
186
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
|
187
|
+
date:
|
188
|
+
- Thu, 21 Apr 2011 17:59:18 GMT
|
183
189
|
connection:
|
184
190
|
- close
|
185
|
-
|
186
|
-
-
|
191
|
+
set-cookie:
|
192
|
+
- _recurly_session=9d36d4c7a61e0bc8cca53ddf710dda6c; domain=.recurly.local; path=/; HttpOnly
|
187
193
|
body: |
|
188
194
|
<?xml version="1.0" encoding="UTF-8"?>
|
189
195
|
<billing_info>
|
@@ -205,7 +211,7 @@
|
|
205
211
|
<month type="integer">4</month>
|
206
212
|
<year type="integer">2012</year>
|
207
213
|
</credit_card>
|
208
|
-
<updated_at type="datetime">2011-04-
|
214
|
+
<updated_at type="datetime">2011-04-21T17:59:16Z</updated_at>
|
209
215
|
</billing_info>
|
210
216
|
|
211
217
|
http_version: "1.1"
|