---
- !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: |
account-exists
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/account-exists
x-runtime:
- "387"
content-type:
- application/xml; charset=utf-8
content-length:
- "520"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
date:
- Fri, 11 Mar 2011 18:47:24 GMT
connection:
- close
set-cookie:
- account_credentials=b664123bc55a78c30adefd77ead47380b5dfd751b045c31a71bef135c1e89ee2e50ba23d729343265442c5700855b890a61e92cb7e1d34fc2d4b56f738a09bc6%3A%3A; domain=.recurly.local; path=/
- _recurly_session=4bfcbd106c4f8f9a8722123aaeee014d; domain=.recurly.local; path=/; HttpOnly
body: |
account-exists
account-exists
0
false
ee9df1b236504ebfa4b3efb716b13cb0
2011-03-11T18:47:23Z
active
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/accounts.xml
body: |
account-exists
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:
- "349"
content-type:
- application/xml; charset=utf-8
content-length:
- "132"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
date:
- Fri, 11 Mar 2011 18:47:26 GMT
connection:
- close
set-cookie:
- _recurly_session=fbf14194474f77a451b5c5b85dfec93e; domain=.recurly.local; path=/; HttpOnly
body: |
account code has already been taken
http_version: "1.1"