---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts.xml
body: |
transaction-list-filled-1297746103
Verena
Test
verena@test.com
Recurly Ruby Gem
headers:
authorization:
- Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
content-type:
- application/xml
accept:
- "*/*"
user-agent:
- Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 201
message: "Created "
headers:
cache-control:
- no-cache
location:
- http://app.recurly.local:3000/accounts/transaction-list-filled-1297746103
x-runtime:
- "568"
content-type:
- application/xml; charset=utf-8
content-length:
- "601"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
date:
- Fri, 11 Mar 2011 18:56:13 GMT
connection:
- close
set-cookie:
- account_credentials=37b46bc7d74406ed557c555d7cf33f3697cf45c0794dd0acf786b5b7f22307fe82eb582836952a7051c6578e251daf5694c01837c90ba41cec30392c65ad96fa%3A%3A; domain=.recurly.local; path=/
- _recurly_session=1dcaa918913bb20ec9e093d0b05df373; domain=.recurly.local; path=/; HttpOnly
body: |
transaction-list-filled-1297746103
transaction-list-filled-1297746103
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
d8f3b4f6ec1449e39d6e47ef328dba17
2011-03-11T18:56:13Z
active
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :put
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/accounts/transaction-list-filled-1297746103/billing_info.xml
body: |
Verena
Test
123 Test St
San Francisco
CA
94115
US
4111111111111111
2012
3
123
transaction-list-filled-1297746103
headers:
authorization:
- Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
content-type:
- application/xml
accept:
- "*/*"
user-agent:
- Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: "OK "
headers:
x-runtime:
- "2186"
content-type:
- application/xml; charset=utf-8
etag:
- "\"2c11a2127cd770a89ac9451d28e9d894\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "649"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
date:
- Fri, 11 Mar 2011 18:56:17 GMT
connection:
- close
set-cookie:
- _recurly_session=0127a391426699c8cd4a30ad35c92f96; domain=.recurly.local; path=/; HttpOnly
body: |
transaction-list-filled-1297746103
Verena
Test
123 Test St
San Francisco
CA
US
94115
visa
1111
3
2012
2011-03-11T18:56:17Z
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: http://api-test-123%40litle.com:82a98ee0c1c2495789775177babfadb7@app.recurly.local:3000/transactions.xml
body: |
transaction-list-filled-1297746103
100
one
headers:
authorization:
- Basic YXBpLXRlc3QtMTIzQGxpdGxlLmNvbTo4MmE5OGVlMGMxYzI0OTU3ODk3NzUxNzdiYWJmYWRiNw==
content-type:
- application/xml
accept:
- "*/*"
user-agent:
- Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 422
message: ""
headers:
cache-control:
- no-cache
x-runtime:
- "807"
content-type:
- application/xml; charset=utf-8
content-length:
- "232"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
date:
- Fri, 11 Mar 2011 18:56:20 GMT
connection:
- close
set-cookie:
- _recurly_session=f16ba39142ca778854fc582d1e80f596; domain=.recurly.local; path=/; HttpOnly
body: |
Billing info.first name can't be blank
Billing info.last name can't be blank
http_version: "1.1"