spec/vcr/charge/lookup/1297746103.yml in recurly-0.4.5 vs spec/vcr/charge/lookup/1297746103.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>charge-lookup-1297746103</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/charge-lookup-1297746103 x-runtime: - - "396" + - "255" content-type: - application/xml; charset=utf-8 content-length: - "581" - set-cookie: - - _recurly_session=cc84951bed29f8bf1b7492d014675897; domain=.recurly.local; path=/; HttpOnly + server: + - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18) + date: + - Thu, 21 Apr 2011 18:00:32 GMT connection: - close - server: - - thin 1.2.7 codename No Hup + set-cookie: + - _recurly_session=a04e82f8ff7c2ecbb24abbb3dae0827a; domain=.recurly.local; path=/; HttpOnly body: | <?xml version="1.0" encoding="UTF-8"?> <account> <id>charge-lookup-1297746103</id> <account_code>charge-lookup-1297746103</account_code> @@ -60,117 +62,125 @@ <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>4398973b6fcb4ec3a3aabfa4662b3cfd</hosted_login_token> - <created_at type="datetime">2011-04-05T19:42:03Z</created_at> + <hosted_login_token>856b1296dbe8405fac8225d8f1ab3cac</hosted_login_token> + <created_at type="datetime">2011-04-21T18:00:32Z</created_at> <state>active</state> </account> 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/accounts/charge-lookup-1297746103/charges.xml + uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges.xml body: | <?xml version="1.0" encoding="UTF-8"?> <charge> <amount type="float">13.15</amount> <description>inconvenience fee</description> </charge> 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 x-runtime: - - "385" + - "262" content-type: - application/xml; charset=utf-8 content-length: - - "517" - set-cookie: - - _recurly_session=b34fe0e8270a62c05e9370a9f90f1c79; domain=.recurly.local; path=/; HttpOnly + - "624" + server: + - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18) + date: + - Thu, 21 Apr 2011 18:00:34 GMT connection: - close - server: - - thin 1.2.7 codename No Hup + set-cookie: + - _recurly_session=c1761949e36da37df70aaa8a67e13aee; domain=.recurly.local; path=/; HttpOnly body: | <?xml version="1.0" encoding="UTF-8"?> <charge type="charge"> - <id>51e7e95a44c04f7ba4b2644abc56797f</id> + <id>d37cbbc5051f4ef4ab616355be964fca</id> <account_code>charge-lookup-1297746103</account_code> + <quantity type="integer">1</quantity> + <unit_amount_in_cents type="integer">1315</unit_amount_in_cents> <amount_in_cents type="integer">1315</amount_in_cents> - <start_date type="datetime">2011-04-05T19:42:06Z</start_date> + <start_date type="datetime">2011-04-21T18:00:34Z</start_date> <end_date nil="true" type="datetime"></end_date> <invoice_number nil="true" type="integer"></invoice_number> <description>inconvenience fee</description> - <created_at type="datetime">2011-04-05T19:42:06Z</created_at> + <created_at type="datetime">2011-04-21T18:00:34Z</created_at> </charge> http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get - uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/51e7e95a44c04f7ba4b2644abc56797f.xml + uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/d37cbbc5051f4ef4ab616355be964fca.xml body: headers: authorization: - - Basic YXBpLXRlc3RAaGVsbG8tdGVzdC5jb206NTBhNWI4YTY5YTI1NDVkYjg0YWM0MTEyYmE4Y2FjNmY= + - 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 - user-agent: - - Ruby connection: - close response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 - message: OK + message: "OK " headers: x-runtime: - - "74" + - "206" content-type: - application/xml; charset=utf-8 etag: - - "\"b015d7b4d8c51fa43d93638063529730\"" + - "\"808963d40684e5d2f18e01db2e72ab3c\"" cache-control: - private, max-age=0, must-revalidate content-length: - - "517" - set-cookie: - - _recurly_session=d5234dd44de7698ddfe994a7ba2bf669; domain=.recurly.local; path=/; HttpOnly + - "624" + server: + - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18) + date: + - Thu, 21 Apr 2011 18:00:36 GMT connection: - close - server: - - thin 1.2.7 codename No Hup + set-cookie: + - _recurly_session=c498ecc22f7f2ebcb29234d882adfba8; domain=.recurly.local; path=/; HttpOnly body: | <?xml version="1.0" encoding="UTF-8"?> <charge type="charge"> - <id>51e7e95a44c04f7ba4b2644abc56797f</id> + <id>d37cbbc5051f4ef4ab616355be964fca</id> <account_code>charge-lookup-1297746103</account_code> + <quantity type="integer">1</quantity> + <unit_amount_in_cents type="integer">1315</unit_amount_in_cents> <amount_in_cents type="integer">1315</amount_in_cents> - <start_date type="datetime">2011-04-05T19:42:06Z</start_date> + <start_date type="datetime">2011-04-21T18:00:34Z</start_date> <end_date nil="true" type="datetime"></end_date> <invoice_number nil="true" type="integer"></invoice_number> <description>inconvenience fee</description> - <created_at type="datetime">2011-04-05T19:42:06Z</created_at> + <created_at type="datetime">2011-04-21T18:00:34Z</created_at> </charge> http_version: "1.1"