---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
body: |
account-get-1301979678
Verena
Test
verena@test.com
Recurly Ruby Gem
headers:
authorization:
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
user-agent:
- Recurly Ruby Client v0.4.6
content-type:
- application/xml
accept:
- "*/*"
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-get-1301979678
x-runtime:
- "265"
content-type:
- application/xml; charset=utf-8
content-length:
- "577"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:57:00 GMT
connection:
- close
set-cookie:
- _recurly_session=09c6fdcd4fad5d19c42882f714167436; domain=.recurly.local; path=/; HttpOnly
body: |
account-get-1301979678
account-get-1301979678
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
b95ca2ce6dd84920b8528c44643a368a
2011-04-21T17:56:59Z
active
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :get
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/account-get-1301979678.xml
body:
headers:
authorization:
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
user-agent:
- Recurly Ruby Client v0.4.6
accept:
- application/xml
accept-encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: "OK "
headers:
x-runtime:
- "256"
content-type:
- application/xml; charset=utf-8
etag:
- "\"05250b6666e4d9bcb4bdb8113188433d\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "577"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:57:01 GMT
connection:
- close
set-cookie:
- _recurly_session=e423b329786fd77214547aa82e62c1a6; domain=.recurly.local; path=/; HttpOnly
body: |
account-get-1301979678
account-get-1301979678
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
b95ca2ce6dd84920b8528c44643a368a
2011-04-21T17:56:59Z
active
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :get
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/account-that-doesnt-exist.xml
body:
headers:
authorization:
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
user-agent:
- Recurly Ruby Client v0.4.6
accept:
- application/xml
accept-encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 404
message: "Not Found "
headers:
cache-control:
- no-cache
content-type:
- application/xml; charset=utf-8
content-length:
- "93"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:57:03 GMT
connection:
- close
set-cookie:
- _recurly_session=51786570724836b17c5edbcbc6067ffb; domain=.recurly.local; path=/; HttpOnly
body: |
Account not found
http_version: "1.1"