---
- !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:
- "384"
content-type:
- application/xml; charset=utf-8
content-length:
- "520"
set-cookie:
- _recurly_session=23879cef56d0b271a81ec227a113a1a0; domain=.recurly.local; path=/; HttpOnly
connection:
- close
server:
- thin 1.2.7 codename No Hup
body: |
account-exists
account-exists
0
false
23bcf23b07e24395a3555ce974c14dda
2011-03-18T18:47:31Z
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:
- "316"
content-type:
- application/xml; charset=utf-8
content-length:
- "132"
set-cookie:
- _recurly_session=9c5a5f7417e1b30d65a610ec081797ff; domain=.recurly.local; path=/; HttpOnly
connection:
- close
server:
- thin 1.2.7 codename No Hup
body: |
account code has already been taken
http_version: "1.1"