---
- !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: |
billing-create-1302025874
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/billing-create-1302025874
x-runtime:
- "303"
content-type:
- application/xml; charset=utf-8
content-length:
- "583"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:59:13 GMT
connection:
- close
set-cookie:
- _recurly_session=6c04dd06bdc2d7e8753275c0dd5ddfcc; domain=.recurly.local; path=/; HttpOnly
body: |
billing-create-1302025874
billing-create-1302025874
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
09709affc98a4d44b9cc0447442f1913
2011-04-21T17:59:13Z
active
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :put
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/billing-create-1302025874/billing_info.xml
body: |
Verena
Test
123 Test St
San Francisco
CA
94115
US
4111111111111111
2012
4
123
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: 200
message: "OK "
headers:
x-runtime:
- "1327"
content-type:
- application/xml; charset=utf-8
etag:
- "\"1cf3758044520b76c40b78bc3c26f6fb\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "640"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:59:16 GMT
connection:
- close
set-cookie:
- _recurly_session=7da66b53c9bc069008b95f00a97f0283; domain=.recurly.local; path=/; HttpOnly
body: |
billing-create-1302025874
Verena
Test
123 Test St
San Francisco
CA
US
94115
visa
1111
4
2012
2011-04-21T17:59:16Z
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/billing-create-1302025874/billing_info.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:
- "239"
content-type:
- application/xml; charset=utf-8
etag:
- "\"1cf3758044520b76c40b78bc3c26f6fb\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "640"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 17:59:18 GMT
connection:
- close
set-cookie:
- _recurly_session=9d36d4c7a61e0bc8cca53ddf710dda6c; domain=.recurly.local; path=/; HttpOnly
body: |
billing-create-1302025874
Verena
Test
123 Test St
San Francisco
CA
US
94115
visa
1111
4
2012
2011-04-21T17:59:16Z
http_version: "1.1"