recurly 0.2.5 → 0.2.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.rb +6 -1
- data/lib/recurly/rails2/compatibility.rb +8 -0
- data/lib/recurly/{rails → rails3}/railtie.rb +1 -1
- data/lib/recurly/{rails → rails3}/recurly.rake +0 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381369.yml +159 -0
- data/spec/vcr/account/close/1288381447.yml +159 -0
- data/spec/vcr/account/create-blank/1288381369.yml +49 -0
- data/spec/vcr/account/create-blank/1288381447.yml +49 -0
- data/spec/vcr/account/create-duplicate/1288381369.yml +95 -0
- data/spec/vcr/account/create-duplicate/1288381447.yml +95 -0
- data/spec/vcr/account/create-min/1288381369.yml +63 -0
- data/spec/vcr/account/create-min/1288381447.yml +63 -0
- data/spec/vcr/account/create/1288381369.yml +67 -0
- data/spec/vcr/account/create/1288381447.yml +67 -0
- data/spec/vcr/account/find-all/1288381369.yml +52 -0
- data/spec/vcr/account/find-all/1288381447.yml +1383 -0
- data/spec/vcr/account/find/1288381369.yml +160 -0
- data/spec/vcr/account/find/1288381447.yml +160 -0
- data/spec/vcr/account/list/1288381369.yml +1835 -0
- data/spec/vcr/account/list/1288381447.yml +1835 -0
- data/spec/vcr/account/update/1288381369.yml +250 -0
- data/spec/vcr/account/update/1288381447.yml +250 -0
- metadata +43 -6
@@ -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-1288381369</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-1288381369
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "690"
|
38
|
+
date:
|
39
|
+
- Fri, 29 Oct 2010 19:43:28 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "583"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=ebb390dfd61406dca4855bd86a0865b553218826441ed1d382b2d5dc1f836b940551fbf2e1c90c8761de9e00d8555acce91b9dba60721b28dde2c84496a5bfa1%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=95471cdc0e6b72bc304661d628fb5983; 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-1288381369</id>
|
54
|
+
<account_code>account-update-1288381369</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>d91501df0482485c89b942b4a84e0851</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-29T19:43:28Z</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-1288381369.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
|
+
- "\"75f7df85c743a7f5ed64d9984c559b08\""
|
89
|
+
connection:
|
90
|
+
- close
|
91
|
+
content-type:
|
92
|
+
- application/xml; charset=utf-8
|
93
|
+
x-runtime:
|
94
|
+
- "50"
|
95
|
+
date:
|
96
|
+
- Fri, 29 Oct 2010 19:43:29 GMT
|
97
|
+
server:
|
98
|
+
- nginx/0.7.65
|
99
|
+
content-length:
|
100
|
+
- "583"
|
101
|
+
set-cookie:
|
102
|
+
- _recurly_session=210c1a8a8d582976e49320d8b85dbff4; 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-1288381369</id>
|
109
|
+
<account_code>account-update-1288381369</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>d91501df0482485c89b942b4a84e0851</hosted_login_token>
|
118
|
+
<created_at type="datetime">2010-10-29T19:43:28Z</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-1288381369.xml
|
127
|
+
body: |
|
128
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
129
|
+
<account>
|
130
|
+
<created-at type="datetime">2010-10-29T19:43:28Z</created-at>
|
131
|
+
<hosted-login-token>d91501df0482485c89b942b4a84e0851</hosted-login-token>
|
132
|
+
<company-name>Recurly Ruby Gem -- Update</company-name>
|
133
|
+
<account-code>account-update-1288381369</account-code>
|
134
|
+
<closed type="boolean">false</closed>
|
135
|
+
<username type="yaml" nil="true"></username>
|
136
|
+
<id>account-update-1288381369</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
|
+
- "\"5af67c80d4a3472161cf261abc7c0a12\""
|
162
|
+
connection:
|
163
|
+
- close
|
164
|
+
content-type:
|
165
|
+
- application/xml; charset=utf-8
|
166
|
+
x-runtime:
|
167
|
+
- "172"
|
168
|
+
date:
|
169
|
+
- Fri, 29 Oct 2010 19:43:29 GMT
|
170
|
+
server:
|
171
|
+
- nginx/0.7.65
|
172
|
+
content-length:
|
173
|
+
- "600"
|
174
|
+
set-cookie:
|
175
|
+
- _recurly_session=2011a19497b1b9816eefdaa02894e03f; 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-1288381369</id>
|
182
|
+
<account_code>account-update-1288381369</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>d91501df0482485c89b942b4a84e0851</hosted_login_token>
|
191
|
+
<created_at type="datetime">2010-10-29T19:43:28Z</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-1288381369.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
|
+
- "\"5af67c80d4a3472161cf261abc7c0a12\""
|
217
|
+
connection:
|
218
|
+
- close
|
219
|
+
content-type:
|
220
|
+
- application/xml; charset=utf-8
|
221
|
+
x-runtime:
|
222
|
+
- "23"
|
223
|
+
date:
|
224
|
+
- Fri, 29 Oct 2010 19:43:30 GMT
|
225
|
+
server:
|
226
|
+
- nginx/0.7.65
|
227
|
+
content-length:
|
228
|
+
- "600"
|
229
|
+
set-cookie:
|
230
|
+
- _recurly_session=7813239b44243b47a57c75e7c230c319; 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-1288381369</id>
|
237
|
+
<account_code>account-update-1288381369</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>d91501df0482485c89b942b4a84e0851</hosted_login_token>
|
246
|
+
<created_at type="datetime">2010-10-29T19:43:28Z</created_at>
|
247
|
+
<state>active</state>
|
248
|
+
</account>
|
249
|
+
|
250
|
+
http_version: "1.1"
|
@@ -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-1288381447</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-1288381447
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "674"
|
38
|
+
date:
|
39
|
+
- Fri, 29 Oct 2010 19:44:42 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "583"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=94a52178cedcc3c77ae906f22b0f7b49dd6b9cfbd2a9e90c965979cce073030fedc703ae4e7372951d4fb6aa48869d69670c091f8391c122ad09ae3bc98ebddc%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=56c6c73f520e227e7bb1ca9399c98c21; 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-1288381447</id>
|
54
|
+
<account_code>account-update-1288381447</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>45765743df5b462190fdb134bb4ce957</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-29T19:44:42Z</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-1288381447.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
|
+
- "\"4c45ff8dd038469ffae55fbf3db155a7\""
|
89
|
+
connection:
|
90
|
+
- close
|
91
|
+
content-type:
|
92
|
+
- application/xml; charset=utf-8
|
93
|
+
x-runtime:
|
94
|
+
- "64"
|
95
|
+
date:
|
96
|
+
- Fri, 29 Oct 2010 19:44:43 GMT
|
97
|
+
server:
|
98
|
+
- nginx/0.7.65
|
99
|
+
content-length:
|
100
|
+
- "583"
|
101
|
+
set-cookie:
|
102
|
+
- _recurly_session=b36bb88031a79faefed0a40e63c3ef5b; 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-1288381447</id>
|
109
|
+
<account_code>account-update-1288381447</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>45765743df5b462190fdb134bb4ce957</hosted_login_token>
|
118
|
+
<created_at type="datetime">2010-10-29T19:44:42Z</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-1288381447.xml
|
127
|
+
body: |
|
128
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
129
|
+
<account>
|
130
|
+
<created-at type="datetime">2010-10-29T19:44:42Z</created-at>
|
131
|
+
<hosted-login-token>45765743df5b462190fdb134bb4ce957</hosted-login-token>
|
132
|
+
<company-name>Recurly Ruby Gem -- Update</company-name>
|
133
|
+
<account-code>account-update-1288381447</account-code>
|
134
|
+
<closed type="boolean">false</closed>
|
135
|
+
<username type="yaml" nil="true"></username>
|
136
|
+
<id>account-update-1288381447</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
|
+
- "\"30e02e8c9ff1c90dd19733828f29412c\""
|
162
|
+
connection:
|
163
|
+
- close
|
164
|
+
content-type:
|
165
|
+
- application/xml; charset=utf-8
|
166
|
+
x-runtime:
|
167
|
+
- "171"
|
168
|
+
date:
|
169
|
+
- Fri, 29 Oct 2010 19:44:44 GMT
|
170
|
+
server:
|
171
|
+
- nginx/0.7.65
|
172
|
+
content-length:
|
173
|
+
- "600"
|
174
|
+
set-cookie:
|
175
|
+
- _recurly_session=f26d30b3187aa0536c9d2d419e708916; 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-1288381447</id>
|
182
|
+
<account_code>account-update-1288381447</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>45765743df5b462190fdb134bb4ce957</hosted_login_token>
|
191
|
+
<created_at type="datetime">2010-10-29T19:44:42Z</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-1288381447.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
|
+
- "\"30e02e8c9ff1c90dd19733828f29412c\""
|
217
|
+
connection:
|
218
|
+
- close
|
219
|
+
content-type:
|
220
|
+
- application/xml; charset=utf-8
|
221
|
+
x-runtime:
|
222
|
+
- "15"
|
223
|
+
date:
|
224
|
+
- Fri, 29 Oct 2010 19:44:44 GMT
|
225
|
+
server:
|
226
|
+
- nginx/0.7.65
|
227
|
+
content-length:
|
228
|
+
- "600"
|
229
|
+
set-cookie:
|
230
|
+
- _recurly_session=f94e79ea67d84c7b20cee1019a40f8a5; 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-1288381447</id>
|
237
|
+
<account_code>account-update-1288381447</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>45765743df5b462190fdb134bb4ce957</hosted_login_token>
|
246
|
+
<created_at type="datetime">2010-10-29T19:44:42Z</created_at>
|
247
|
+
<state>active</state>
|
248
|
+
</account>
|
249
|
+
|
250
|
+
http_version: "1.1"
|