---
- !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: |
charge-delete-uinvoiced-1297746103
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/charge-delete-uinvoiced-1297746103
x-runtime:
- "246"
content-type:
- application/xml; charset=utf-8
content-length:
- "601"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:38 GMT
connection:
- close
set-cookie:
- _recurly_session=2e5aee316690830f9dd2b67bfb0f0865; domain=.recurly.local; path=/; HttpOnly
body: |
charge-delete-uinvoiced-1297746103
charge-delete-uinvoiced-1297746103
verena@test.com
Verena
Test
Recurly Ruby Gem
0
false
cf5400c1b5d444c48d679c9c032abc35
2011-04-21T18:00:38Z
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/charge-delete-uinvoiced-1297746103/charges.xml
body: |
13.15
inconvenience fee
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
x-runtime:
- "218"
content-type:
- application/xml; charset=utf-8
content-length:
- "634"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:40 GMT
connection:
- close
set-cookie:
- _recurly_session=2a250b8b78ce5e99928f6f94d1d40112; domain=.recurly.local; path=/; HttpOnly
body: |
7ded2a41c5fe4f998c73d2e2f30e0553
charge-delete-uinvoiced-1297746103
1
1315
1315
2011-04-21T18:00:40Z
inconvenience fee
2011-04-21T18:00:40Z
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/charge-delete-uinvoiced-1297746103/charges/7ded2a41c5fe4f998c73d2e2f30e0553.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:
- "73"
content-type:
- application/xml; charset=utf-8
etag:
- "\"946365159568a859c72643867112bcb4\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "634"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:42 GMT
connection:
- close
set-cookie:
- _recurly_session=0d1138e7d28fd33ddea9593666b98ae0; domain=.recurly.local; path=/; HttpOnly
body: |
7ded2a41c5fe4f998c73d2e2f30e0553
charge-delete-uinvoiced-1297746103
1
1315
1315
2011-04-21T18:00:40Z
inconvenience fee
2011-04-21T18:00:40Z
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :delete
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/charge-delete-uinvoiced-1297746103/charges/7ded2a41c5fe4f998c73d2e2f30e0553.xml
body:
headers:
authorization:
- Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
user-agent:
- Recurly Ruby Client v0.4.6
accept:
- application/xml
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: "OK "
headers:
cache-control:
- no-cache
x-runtime:
- "199"
content-type:
- application/xml; charset=utf-8
content-length:
- "1"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:44 GMT
connection:
- close
set-cookie:
- _recurly_session=0673efbd285aca398934d4b6819cbc42; domain=.recurly.local; path=/; HttpOnly
body: " "
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/charge-delete-uinvoiced-1297746103/charges/7ded2a41c5fe4f998c73d2e2f30e0553.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:
- "92"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:45 GMT
connection:
- close
set-cookie:
- _recurly_session=1db82eee499ca0cd1d67ab01746d4033; domain=.recurly.local; path=/; HttpOnly
body: |
Charge not found
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/charge-delete-uinvoiced-1297746103/invoices.xml
body: |
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: 422
message: ""
headers:
cache-control:
- no-cache
x-runtime:
- "204"
content-type:
- application/xml; charset=utf-8
content-length:
- "98"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:00:47 GMT
connection:
- close
set-cookie:
- _recurly_session=8f74b5256cbf489bba9ce4c59b3affc6; domain=.recurly.local; path=/; HttpOnly
body: |
No charges to invoice.
http_version: "1.1"