recurly 0.2.9 → 0.3.0
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 +13 -5
- data/lib/recurly/rails3/railtie.rb +1 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381765.yml +15 -15
- data/spec/vcr/account/create-blank/1288381765.yml +3 -3
- data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
- data/spec/vcr/account/create-min/1288381765.yml +6 -6
- data/spec/vcr/account/create/1288381765.yml +6 -6
- data/spec/vcr/account/find/1288381765.yml +14 -14
- data/spec/vcr/account/list/1288381765.yml +251 -530
- data/spec/vcr/account/update/1288381765.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +20 -20
- data/spec/vcr/billing/destroy/1286682213.yml +29 -29
- data/spec/vcr/billing/find/1286682213.yml +25 -25
- data/spec/vcr/billing/update/1286682213.yml +27 -27
- data/spec/vcr/charge/create/1287465632.yml +31 -29
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
- data/spec/vcr/charge/list-all/1287465632.yml +43 -40
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
- data/spec/vcr/charge/lookup/1287465632.yml +24 -22
- data/spec/vcr/credit/create/1287461400.yml +24 -22
- data/spec/vcr/credit/delete/1287461400.yml +31 -29
- data/spec/vcr/credit/list/1287461400.yml +47 -41
- data/spec/vcr/credit/lookup/1287461400.yml +23 -21
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
- data/spec/vcr/invoice/create/1287167121.yml +42 -40
- data/spec/vcr/invoice/list/1287167121.yml +59 -57
- data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +12 -12
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
- data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
- data/spec/vcr/subscription/change1/1287455769.yml +39 -39
- data/spec/vcr/subscription/change2/1287455769.yml +39 -39
- data/spec/vcr/subscription/create/1287455769.yml +18 -18
- data/spec/vcr/subscription/find/1287455769.yml +25 -25
- data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
- data/spec/vcr/transaction/all/1289558212.yml +363 -54
- data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
- data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
- data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
- data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
- data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
- data/spec/vcr/transaction/refund/1289558212.yml +82 -90
- data/spec/vcr/transaction/void/1289558212.yml +377 -143
- metadata +4 -72
- data/spec/vcr/account/close/1287167046.yml +0 -159
- data/spec/vcr/account/close/1288381369.yml +0 -159
- data/spec/vcr/account/close/1288381447.yml +0 -159
- data/spec/vcr/account/create-blank/1287167046.yml +0 -49
- data/spec/vcr/account/create-blank/1288381369.yml +0 -49
- data/spec/vcr/account/create-blank/1288381447.yml +0 -49
- data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
- data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
- data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
- data/spec/vcr/account/create-min/1287167046.yml +0 -63
- data/spec/vcr/account/create-min/1288381369.yml +0 -63
- data/spec/vcr/account/create-min/1288381447.yml +0 -63
- data/spec/vcr/account/create/1287167046.yml +0 -67
- data/spec/vcr/account/create/1288381369.yml +0 -67
- data/spec/vcr/account/create/1288381447.yml +0 -67
- data/spec/vcr/account/find-all/1288381369.yml +0 -52
- data/spec/vcr/account/find-all/1288381447.yml +0 -1383
- data/spec/vcr/account/find/1287167046.yml +0 -160
- data/spec/vcr/account/find/1288381369.yml +0 -160
- data/spec/vcr/account/find/1288381447.yml +0 -160
- data/spec/vcr/account/list/1287167046.yml +0 -1538
- data/spec/vcr/account/list/1288381369.yml +0 -1835
- data/spec/vcr/account/list/1288381447.yml +0 -1835
- data/spec/vcr/account/update/1287167046.yml +0 -250
- data/spec/vcr/account/update/1288381369.yml +0 -250
- data/spec/vcr/account/update/1288381447.yml +0 -250
- data/spec/vcr/transaction/all/1287186411.yml +0 -387
- data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
- data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
- data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
- data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
- data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
- data/spec/vcr/transaction/refund/1287186411.yml +0 -282
- data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -1,250 +0,0 @@
|
|
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-1287167046</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-1287167046
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "613"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 05:21:13 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "583"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=c937b5847e7d741477f586231504187762330869b93f8d4e8e4bd9b27e77f83da62050141284328afa712374224505017546b87b376950386d795dc661c3d06e%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=8749eeda4a0ad9e60ada19e3aab30e34; 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-1287167046</id>
|
54
|
-
<account_code>account-update-1287167046</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>b42cb08aa7584dcfa0d1122912a8153d</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T05:21:13Z</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-1287167046.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
|
-
- "\"2b99aff33f00ff9e94b97d0e4e93cff8\""
|
89
|
-
connection:
|
90
|
-
- close
|
91
|
-
content-type:
|
92
|
-
- application/xml; charset=utf-8
|
93
|
-
x-runtime:
|
94
|
-
- "45"
|
95
|
-
date:
|
96
|
-
- Tue, 19 Oct 2010 05:21:13 GMT
|
97
|
-
server:
|
98
|
-
- nginx/0.7.65
|
99
|
-
content-length:
|
100
|
-
- "583"
|
101
|
-
set-cookie:
|
102
|
-
- _recurly_session=7a058c51de94f636bf499ca96e834155; 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-1287167046</id>
|
109
|
-
<account_code>account-update-1287167046</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>b42cb08aa7584dcfa0d1122912a8153d</hosted_login_token>
|
118
|
-
<created_at type="datetime">2010-10-19T05:21:13Z</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-1287167046.xml
|
127
|
-
body: |
|
128
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
129
|
-
<account>
|
130
|
-
<created-at type="datetime">2010-10-19T05:21:13Z</created-at>
|
131
|
-
<company-name>Recurly Ruby Gem -- Update</company-name>
|
132
|
-
<hosted-login-token>b42cb08aa7584dcfa0d1122912a8153d</hosted-login-token>
|
133
|
-
<account-code>account-update-1287167046</account-code>
|
134
|
-
<closed type="boolean">false</closed>
|
135
|
-
<username type="yaml" nil="true"></username>
|
136
|
-
<id>account-update-1287167046</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
|
-
- "\"1e98be63a0362b0fe5a1e38d09d4cd64\""
|
162
|
-
connection:
|
163
|
-
- close
|
164
|
-
content-type:
|
165
|
-
- application/xml; charset=utf-8
|
166
|
-
x-runtime:
|
167
|
-
- "27"
|
168
|
-
date:
|
169
|
-
- Tue, 19 Oct 2010 05:21:14 GMT
|
170
|
-
server:
|
171
|
-
- nginx/0.7.65
|
172
|
-
content-length:
|
173
|
-
- "600"
|
174
|
-
set-cookie:
|
175
|
-
- _recurly_session=b33cb3e01aa14abe68fd48edfba2066c; 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-1287167046</id>
|
182
|
-
<account_code>account-update-1287167046</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>b42cb08aa7584dcfa0d1122912a8153d</hosted_login_token>
|
191
|
-
<created_at type="datetime">2010-10-19T05:21:13Z</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-1287167046.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
|
-
- "\"1e98be63a0362b0fe5a1e38d09d4cd64\""
|
217
|
-
connection:
|
218
|
-
- close
|
219
|
-
content-type:
|
220
|
-
- application/xml; charset=utf-8
|
221
|
-
x-runtime:
|
222
|
-
- "176"
|
223
|
-
date:
|
224
|
-
- Tue, 19 Oct 2010 05:21:15 GMT
|
225
|
-
server:
|
226
|
-
- nginx/0.7.65
|
227
|
-
content-length:
|
228
|
-
- "600"
|
229
|
-
set-cookie:
|
230
|
-
- _recurly_session=09a92c7222dddb99914637017492d4ac; 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-1287167046</id>
|
237
|
-
<account_code>account-update-1287167046</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>b42cb08aa7584dcfa0d1122912a8153d</hosted_login_token>
|
246
|
-
<created_at type="datetime">2010-10-19T05:21:13Z</created_at>
|
247
|
-
<state>active</state>
|
248
|
-
</account>
|
249
|
-
|
250
|
-
http_version: "1.1"
|
@@ -1,250 +0,0 @@
|
|
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"
|