spec/vcr/transaction/create-with-account/1301883347.yml in recurly-0.4.5 vs spec/vcr/transaction/create-with-account/1301883347.yml in recurly-0.4.6
- old
+ new
@@ -1,10 +1,10 @@
---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts.xml
+ uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
body: |
<?xml version="1.0" encoding="UTF-8"?>
<account>
<account-code>transaction-create-with-account-1301883347</account-code>
<first-name>Verena</first-name>
@@ -18,40 +18,42 @@
<accept-language type="yaml" nil="true"></accept-language>
</account>
headers:
authorization:
- - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
+ - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
+ user-agent:
+ - Recurly Ruby Client v0.4.6
content-type:
- application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 201
- message: Created
+ message: "Created "
headers:
cache-control:
- no-cache
location:
- http://app.recurly.local:3000/accounts/transaction-create-with-account-1301883347
x-runtime:
- - "439"
+ - "363"
content-type:
- application/xml; charset=utf-8
content-length:
- "617"
- set-cookie:
- - _recurly_session=e503f094523d4c382b513c1bf0fc293a; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
+ date:
+ - Thu, 21 Apr 2011 18:05:00 GMT
connection:
- close
- server:
- - thin 1.2.7 codename No Hup
+ set-cookie:
+ - _recurly_session=73ed632215c3db4fb0ca3527c24a8a47; domain=.recurly.local; path=/; HttpOnly
body: |
<?xml version="1.0" encoding="UTF-8"?>
<account>
<id>transaction-create-with-account-1301883347</id>
<account_code>transaction-create-with-account-1301883347</account_code>
@@ -60,20 +62,20 @@
<first_name>Verena</first_name>
<last_name>Test</last_name>
<company_name>Recurly Ruby Gem</company_name>
<balance_in_cents type="integer">0</balance_in_cents>
<closed type="boolean">false</closed>
- <hosted_login_token>cb7a3a7a45a84ec6b16742fe52193257</hosted_login_token>
- <created_at type="datetime">2011-04-05T19:48:18Z</created_at>
+ <hosted_login_token>7c3872d9f1fa4e77bf4e16c0c4793377</hosted_login_token>
+ <created_at type="datetime">2011-04-21T18:05:00Z</created_at>
<state>active</state>
</account>
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :put
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/transaction-create-with-account-1301883347/billing_info.xml
+ uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/transaction-create-with-account-1301883347/billing_info.xml
body: |
<?xml version="1.0" encoding="UTF-8"?>
<billing-info>
<first-name>Verena</first-name>
<last-name>Test</last-name>
@@ -91,40 +93,42 @@
<account-code>transaction-create-with-account-1301883347</account-code>
</billing-info>
headers:
authorization:
- - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
+ - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
+ user-agent:
+ - Recurly Ruby Client v0.4.6
content-type:
- application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: OK
+ message: "OK "
headers:
x-runtime:
- - "1692"
+ - "1438"
content-type:
- application/xml; charset=utf-8
etag:
- - "\"6822c256c05aa75a0c7f6f3df8c387aa\""
+ - "\"c3064d090bf9eaa5a726c229c4ee49ca\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "657"
- set-cookie:
- - _recurly_session=e51a722234012fe45f0710c362d51d67; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
+ date:
+ - Thu, 21 Apr 2011 18:05:04 GMT
connection:
- close
- server:
- - thin 1.2.7 codename No Hup
+ set-cookie:
+ - _recurly_session=3076c87551168a58bd453114c8fd77c8; domain=.recurly.local; path=/; HttpOnly
body: |
<?xml version="1.0" encoding="UTF-8"?>
<billing_info>
<account_code>transaction-create-with-account-1301883347</account_code>
<first_name>Verena</first_name>
@@ -142,18 +146,18 @@
<type>visa</type>
<last_four>1111</last_four>
<month type="integer">4</month>
<year type="integer">2012</year>
</credit_card>
- <updated_at type="datetime">2011-04-05T19:48:22Z</updated_at>
+ <updated_at type="datetime">2011-04-21T18:05:04Z</updated_at>
</billing_info>
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :post
- uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/transactions.xml
+ uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
body: |
<?xml version="1.0" encoding="UTF-8"?>
<transaction>
<account>
<account-code>transaction-create-with-account-1301883347</account-code>
@@ -166,46 +170,48 @@
<description>test transaction for $7</description>
</transaction>
headers:
authorization:
- - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY=
+ - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
+ user-agent:
+ - Recurly Ruby Client v0.4.6
content-type:
- application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 201
- message: Created
+ message: "Created "
headers:
cache-control:
- no-cache
location:
- - http://app.recurly.local:3000/transactions/ade77e51b0664afdbe3ac172158036f4
+ - http://app.recurly.local:3000/transactions/af62b155590c43a588e7d0a33f988bdd
x-runtime:
- - "2688"
+ - "1967"
content-type:
- application/xml; charset=utf-8
content-length:
- "872"
- set-cookie:
- - _recurly_session=c9958d7c0a90a5f0816cd7622698382d; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
+ date:
+ - Thu, 21 Apr 2011 18:05:08 GMT
connection:
- close
- server:
- - thin 1.2.7 codename No Hup
+ set-cookie:
+ - _recurly_session=065534d6ec05e59bb91789b253f07d11; domain=.recurly.local; path=/; HttpOnly
body: |
<?xml version="1.0" encoding="UTF-8"?>
<transaction type="Payment">
- <id>ade77e51b0664afdbe3ac172158036f4</id>
+ <id>af62b155590c43a588e7d0a33f988bdd</id>
<account_code>transaction-create-with-account-1301883347</account_code>
<action>purchase</action>
- <date type="datetime">2011-04-05T19:48:26Z</date>
+ <date type="datetime">2011-04-21T18:05:07Z</date>
<amount_in_cents type="integer">700</amount_in_cents>
<status>success</status>
<message>Test Gateway: Successful test transaction</message>
<reference>12345</reference>
<cvv_result code="M">Match</cvv_result>