spec/vcr/invoice/list/1297746103.yml in recurly-0.4.0 vs spec/vcr/invoice/list/1297746103.yml in recurly-0.4.1

- old
+ new

@@ -30,31 +30,28 @@ 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/invoice-list-1297746103 x-runtime: - - "651" + - "329" content-type: - application/xml; charset=utf-8 content-length: - "579" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:50:56 GMT + set-cookie: + - _recurly_session=9127b0750c3199cf0d35d1f079f76973; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - account_credentials=dfb9e0c11accf8e91dc78fbdbe6f2a99ab0accde899e1b4d0239c22639a0f00025f5c40ac06b439201115ec9b89e896579ed8c8b8540e46724341c65eccf2ca9%3A%3A; domain=.recurly.local; path=/ - - _recurly_session=53376b44bfe2e43dcddbb0b9fd7365c4; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <account> <id>invoice-list-1297746103</id> <account_code>invoice-list-1297746103</account_code> @@ -63,12 +60,12 @@ <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>300c928d7ffb459db493c9b1eac0df16</hosted_login_token> - <created_at type="datetime">2011-03-11T18:50:56Z</created_at> + <hosted_login_token>18f3b394cbef4f598855d5967e4e8c85</hosted_login_token> + <created_at type="datetime">2011-03-18T18:51:26Z</created_at> <state>active</state> </account> http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction @@ -106,30 +103,28 @@ connection: - close response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 - message: "OK " + message: OK headers: x-runtime: - - "2203" + - "7232" content-type: - application/xml; charset=utf-8 etag: - - "\"8208f09a3e18fa8ca4c00768c9e2f05c\"" + - "\"7f9f210d38150817355b3a71d47cc5aa\"" cache-control: - private, max-age=0, must-revalidate content-length: - "638" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:00 GMT + set-cookie: + - _recurly_session=803a84d0989525a8b8758da606bd9c0f; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=f082bc04f5a627abf6b8dbf48c287686; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <billing_info> <account_code>invoice-list-1297746103</account_code> <first_name>Verena</first_name> @@ -147,11 +142,11 @@ <type>visa</type> <last_four>1111</last_four> <month type="integer">3</month> <year type="integer">2012</year> </credit_card> - <updated_at type="datetime">2011-03-11T18:51:00Z</updated_at> + <updated_at type="datetime">2011-03-18T18:51:36Z</updated_at> </billing_info> http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request @@ -176,39 +171,37 @@ 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: - - "231" + - "299" content-type: - application/xml; charset=utf-8 content-length: - "516" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:03 GMT + set-cookie: + - _recurly_session=79bea07bca996d4e97f06c543a569f2b; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=071ed9c4ba885eef67a272476764a992; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <charge type="charge"> - <id>1fbe689bb9574d7997b47bf6c1237ff0</id> + <id>658d3d1a02844356a9c267bc7f9f3574</id> <account_code>invoice-list-1297746103</account_code> <amount_in_cents type="integer">100</amount_in_cents> - <start_date type="datetime">2011-03-11T18:51:03Z</start_date> + <start_date type="datetime">2011-03-18T18:51:38Z</start_date> <end_date nil="true" type="datetime"></end_date> <invoice_number nil="true" type="integer"></invoice_number> <description>charge description</description> - <created_at type="datetime">2011-03-11T18:51:03Z</created_at> + <created_at type="datetime">2011-03-18T18:51:38Z</created_at> </charge> http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request @@ -231,54 +224,52 @@ 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/invoices/55a7947c9f73471e94e4512db1d7b990 + - http://app.recurly.local:3000/invoices/ea99d72698c74368b8e1a97d52311952 x-runtime: - - "574" + - "589" content-type: - application/xml; charset=utf-8 content-length: - "1208" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:05 GMT + set-cookie: + - _recurly_session=b9ebda2cd55bf789e6ee139336534726; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=58edb5ca918e993fd8c048f10a5c2adf; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <invoice> - <id>55a7947c9f73471e94e4512db1d7b990</id> + <id>ea99d72698c74368b8e1a97d52311952</id> <account_code>invoice-list-1297746103</account_code> - <date type="datetime">2011-03-11T18:51:05Z</date> - <invoice_number type="integer">1528</invoice_number> + <date type="datetime">2011-03-18T18:51:40Z</date> + <invoice_number type="integer">2061</invoice_number> <vat_number></vat_number> <status>open</status> <subtotal_in_cents type="integer">100</subtotal_in_cents> <total_in_cents type="integer">100</total_in_cents> <vat_amount_in_cents type="integer">0</vat_amount_in_cents> <paid_in_cents type="integer">0</paid_in_cents> <total_due_in_cents type="integer">100</total_due_in_cents> <discount_in_cents type="integer">0</discount_in_cents> <line_items type="array"> <line_item> - <id>1fbe689bb9574d7997b47bf6c1237ff0</id> + <id>658d3d1a02844356a9c267bc7f9f3574</id> <type>charge</type> <amount_in_cents type="integer">100</amount_in_cents> - <start_date type="datetime">2011-03-11T18:51:03Z</start_date> + <start_date type="datetime">2011-03-18T18:51:38Z</start_date> <end_date nil="true" type="datetime"></end_date> <description>charge description</description> - <created_at type="datetime">2011-03-11T18:51:03Z</created_at> + <created_at type="datetime">2011-03-18T18:51:38Z</created_at> <applied_coupon_code></applied_coupon_code> </line_item> </line_items> <payments type="array"> </payments> @@ -308,39 +299,37 @@ 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: - - "227" + - "303" content-type: - application/xml; charset=utf-8 content-length: - "516" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:08 GMT + set-cookie: + - _recurly_session=56bd50321047f8a010fe4218085aa661; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=14eb0a9c5d4b90c485071a74f2d0ff88; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <charge type="charge"> - <id>014931c0c5334098bdb0c9e49d3291dd</id> + <id>8d3896ffa48d4701ac8b250a24f47c4e</id> <account_code>invoice-list-1297746103</account_code> <amount_in_cents type="integer">300</amount_in_cents> - <start_date type="datetime">2011-03-11T18:51:07Z</start_date> + <start_date type="datetime">2011-03-18T18:51:42Z</start_date> <end_date nil="true" type="datetime"></end_date> <invoice_number nil="true" type="integer"></invoice_number> <description>charge description</description> - <created_at type="datetime">2011-03-11T18:51:08Z</created_at> + <created_at type="datetime">2011-03-18T18:51:42Z</created_at> </charge> http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request @@ -363,54 +352,52 @@ 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/invoices/f852ed503f4b449cbb3c0a6b2fceb494 + - http://app.recurly.local:3000/invoices/3b38eddc07034808b6013e7f8ebaafbc x-runtime: - - "579" + - "620" content-type: - application/xml; charset=utf-8 content-length: - "1208" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:10 GMT + set-cookie: + - _recurly_session=5f01c8d0acc85f429e2c4649e1d22681; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=f5b2fbfe5196598e8445ba5b25ea99db; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <invoice> - <id>f852ed503f4b449cbb3c0a6b2fceb494</id> + <id>3b38eddc07034808b6013e7f8ebaafbc</id> <account_code>invoice-list-1297746103</account_code> - <date type="datetime">2011-03-11T18:51:10Z</date> - <invoice_number type="integer">1529</invoice_number> + <date type="datetime">2011-03-18T18:51:44Z</date> + <invoice_number type="integer">2062</invoice_number> <vat_number></vat_number> <status>open</status> <subtotal_in_cents type="integer">300</subtotal_in_cents> <total_in_cents type="integer">300</total_in_cents> <vat_amount_in_cents type="integer">0</vat_amount_in_cents> <paid_in_cents type="integer">0</paid_in_cents> <total_due_in_cents type="integer">300</total_due_in_cents> <discount_in_cents type="integer">0</discount_in_cents> <line_items type="array"> <line_item> - <id>014931c0c5334098bdb0c9e49d3291dd</id> + <id>8d3896ffa48d4701ac8b250a24f47c4e</id> <type>charge</type> <amount_in_cents type="integer">300</amount_in_cents> - <start_date type="datetime">2011-03-11T18:51:07Z</start_date> + <start_date type="datetime">2011-03-18T18:51:42Z</start_date> <end_date nil="true" type="datetime"></end_date> <description>charge description</description> - <created_at type="datetime">2011-03-11T18:51:08Z</created_at> + <created_at type="datetime">2011-03-18T18:51:42Z</created_at> <applied_coupon_code></applied_coupon_code> </line_item> </line_items> <payments type="array"> </payments> @@ -434,45 +421,43 @@ connection: - close response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 - message: "OK " + message: OK headers: x-runtime: - - "232" + - "88" content-type: - application/xml; charset=utf-8 etag: - - "\"094ed33274e5508f46421b6c8128c4ae\"" + - "\"25064374673b3a227c7a323b93caab88\"" cache-control: - private, max-age=0, must-revalidate content-length: - "789" - server: - - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) - date: - - Fri, 11 Mar 2011 18:51:13 GMT + set-cookie: + - _recurly_session=0af4280b959f1a328b67af0b0c343db6; domain=.recurly.local; path=/; HttpOnly connection: - close - set-cookie: - - _recurly_session=4c0c1fbb94879dafb80187fba3085ad2; domain=.recurly.local; path=/; HttpOnly + server: + - thin 1.2.7 codename No Hup body: | <?xml version="1.0" encoding="UTF-8"?> <invoices type="array"> <invoice> - <id>f852ed503f4b449cbb3c0a6b2fceb494</id> + <id>3b38eddc07034808b6013e7f8ebaafbc</id> <account_code>invoice-list-1297746103</account_code> - <date type="datetime">2011-03-11T18:51:10Z</date> - <invoice_number type="integer">1529</invoice_number> + <date type="datetime">2011-03-18T18:51:44Z</date> + <invoice_number type="integer">2062</invoice_number> <subtotal_in_cents type="integer">300</subtotal_in_cents> <total_in_cents type="integer">300</total_in_cents> </invoice> <invoice> - <id>55a7947c9f73471e94e4512db1d7b990</id> + <id>ea99d72698c74368b8e1a97d52311952</id> <account_code>invoice-list-1297746103</account_code> - <date type="datetime">2011-03-11T18:51:05Z</date> - <invoice_number type="integer">1528</invoice_number> + <date type="datetime">2011-03-18T18:51:40Z</date> + <invoice_number type="integer">2061</invoice_number> <subtotal_in_cents type="integer">100</subtotal_in_cents> <total_in_cents type="integer">100</total_in_cents> </invoice> </invoices>