---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :get
uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/company/plans/paid.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:
- "226"
content-type:
- application/xml; charset=utf-8
etag:
- "\"3888306c167f105a4e165433ee427264\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "612"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:02:11 GMT
connection:
- close
set-cookie:
- _recurly_session=eed110838468472735b2fc170bcb748a; domain=.recurly.local; path=/; HttpOnly
body: |
paid
Paid
2011-04-21T17:57:33Z
0
0
1
months
0
months
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/company/plans/trial.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:
- "90"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:02:13 GMT
connection:
- close
set-cookie:
- _recurly_session=6689c78d65b24a3c0a070f99f346c121; domain=.recurly.local; path=/; HttpOnly
body: |
Plan 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/company/plans.xml
body: |
trial
Trial
1000
1
months
1
months
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/company/plans/trial
x-runtime:
- "258"
content-type:
- application/xml; charset=utf-8
content-length:
- "614"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:02:15 GMT
connection:
- close
set-cookie:
- _recurly_session=61f874ecb4280951cc58c35b3b93eb1d; domain=.recurly.local; path=/; HttpOnly
body: |
trial
Trial
2011-04-21T18:02:14Z
0
0
1
months
1
months
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/company/plans.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:
- "218"
content-type:
- application/xml; charset=utf-8
etag:
- "\"164cb5ad4e6383e6a998dd989abbb985\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "1689"
server:
- WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
date:
- Thu, 21 Apr 2011 18:02:17 GMT
connection:
- close
set-cookie:
- _recurly_session=5e5b362dc0de47b88c4af55458a12202; domain=.recurly.local; path=/; HttpOnly
body: |
gold
Gold
2011-04-13T20:36:50Z
1000
0
1
months
0
days
paid
Paid
2011-04-21T17:57:33Z
0
0
1
months
0
months
trial
Trial
2011-04-21T18:02:14Z
0
0
1
months
1
months
http_version: "1.1"