---
- !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: |
coupon-destroy-1299714521
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/coupon-destroy-1299714521
x-runtime:
- "257"
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 18:00:53 GMT
connection:
- close
set-cookie:
- _recurly_session=565b7a8e1ad9b5f3b2fbe069d62ec35c; domain=.recurly.local; path=/; HttpOnly
body: |
coupon-destroy-1299714521
coupon-destroy-1299714521
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
1b903e645fd946039e9e9426813b05f7
2011-04-21T18:00:52Z
active
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/coupon-destroy-1299714521/coupon.xml
body: |
coupon
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: 404
message: "Not Found "
headers:
cache-control:
- no-cache
content-type:
- application/xml; charset=utf-8
content-length:
- "92"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:54 GMT
connection:
- close
set-cookie:
- _recurly_session=89906dca1d7134dd4ed2edcc290a8b54; domain=.recurly.local; path=/; HttpOnly
body: |
Coupon not found
http_version: "1.1"