spec/vcr/subscription/cancel-with-code/1297746103.yml in recurly-0.4.0 vs spec/vcr/subscription/cancel-with-code/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/subscription-cancel-with-code-1297746103
x-runtime:
- - "520"
+ - "352"
content-type:
- application/xml; charset=utf-8
content-length:
- "613"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:53:59 GMT
+ set-cookie:
+ - _recurly_session=ae9b2f78d61ee26cfad4091921d4fd52; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - account_credentials=e6d3493636a9a441d08772ba08365de49cfa4ccda2a126065e5a55881b853f7d67c1bec2f1f6d56ced8d931749606c86571b0c2c55cdd910837af03c7ab23dbd%3A%3A; domain=.recurly.local; path=/
- - _recurly_session=2505b496756fba00c7faa60270f54518; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<account>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-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>6135baba6b7f4914a6a54d4753a87627</hosted_login_token>
- <created_at type="datetime">2011-03-11T18:53:59Z</created_at>
+ <hosted_login_token>3a8a5ad46cb6452db6d772a9f3716179</hosted_login_token>
+ <created_at type="datetime">2011-03-18T18:54:24Z</created_at>
<state>active</state>
</account>
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
@@ -88,30 +85,28 @@
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
+ message: OK
headers:
x-runtime:
- - "235"
+ - "311"
content-type:
- application/xml; charset=utf-8
etag:
- "\"dc04fba13f15d49d04ca6692abb21ff9\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "1146"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:01 GMT
+ set-cookie:
+ - _recurly_session=3f75bc31176ffb869ab49ff9c931a4f4; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=f002290aa2ffa4a128b96076ca2bdb08; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<plan>
<plan_code>paid</plan_code>
<name>Paid</name>
@@ -171,12 +166,12 @@
<accept-language type="yaml" nil="true"></accept-language>
<id>subscription-cancel-with-code-1297746103</id>
<username type="yaml" nil="true"></username>
<balance-in-cents type="integer">0</balance-in-cents>
<closed type="boolean">false</closed>
- <hosted-login-token>6135baba6b7f4914a6a54d4753a87627</hosted-login-token>
- <created-at type="datetime">2011-03-11T18:53:59Z</created-at>
+ <hosted-login-token>3a8a5ad46cb6452db6d772a9f3716179</hosted-login-token>
+ <created-at type="datetime">2011-03-18T18:54:24Z</created-at>
<state>active</state>
</account>
<addons type="array"/>
</subscription>
@@ -192,28 +187,26 @@
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:
- - "5135"
+ - "6964"
content-type:
- application/xml; charset=utf-8
content-length:
- "928"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:09 GMT
+ set-cookie:
+ - _recurly_session=5b896b9ee9fa2b85f90456567538d738; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=24bc67280da525f539d0c4b2114a673c; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<subscription>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-1297746103</account_code>
@@ -222,15 +215,15 @@
<name>Paid</name>
</plan>
<state>active</state>
<quantity type="integer">1</quantity>
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
- <activated_at type="datetime">2011-03-11T18:54:04Z</activated_at>
+ <activated_at type="datetime">2011-03-18T18:54:29Z</activated_at>
<canceled_at nil="true" type="datetime"></canceled_at>
<expires_at nil="true" type="datetime"></expires_at>
- <current_period_started_at type="datetime">2011-03-11T18:54:04Z</current_period_started_at>
- <current_period_ends_at type="datetime">2011-03-12T18:54:04Z</current_period_ends_at>
+ <current_period_started_at type="datetime">2011-03-18T18:54:29Z</current_period_started_at>
+ <current_period_ends_at type="datetime">2011-03-19T18:54:29Z</current_period_ends_at>
<trial_started_at nil="true" type="datetime"></trial_started_at>
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
<add_ons type="array">
</add_ons>
</subscription>
@@ -253,30 +246,28 @@
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
+ message: OK
headers:
x-runtime:
- - "426"
+ - "335"
content-type:
- application/xml; charset=utf-8
etag:
- - "\"d7d0b13462ec7a2f7c4da04ae24b8f44\""
+ - "\"3e8fdaa8eafe2ee73726625b769635cb\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "928"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:12 GMT
+ set-cookie:
+ - _recurly_session=3ab8de4a801c7180bd07f1c230e10f26; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=a0b5633c7e7cf9c22a3235c704b377a0; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<subscription>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-1297746103</account_code>
@@ -285,15 +276,15 @@
<name>Paid</name>
</plan>
<state>active</state>
<quantity type="integer">1</quantity>
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
- <activated_at type="datetime">2011-03-11T18:54:04Z</activated_at>
+ <activated_at type="datetime">2011-03-18T18:54:29Z</activated_at>
<canceled_at nil="true" type="datetime"></canceled_at>
<expires_at nil="true" type="datetime"></expires_at>
- <current_period_started_at type="datetime">2011-03-11T18:54:04Z</current_period_started_at>
- <current_period_ends_at type="datetime">2011-03-12T18:54:04Z</current_period_ends_at>
+ <current_period_started_at type="datetime">2011-03-18T18:54:29Z</current_period_started_at>
+ <current_period_ends_at type="datetime">2011-03-19T18:54:29Z</current_period_ends_at>
<trial_started_at nil="true" type="datetime"></trial_started_at>
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
<add_ons type="array">
</add_ons>
</subscription>
@@ -314,30 +305,28 @@
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
+ message: OK
headers:
x-runtime:
- - "3056"
+ - "2498"
content-type:
- application/xml; charset=utf-8
etag:
- - "\"2ac975189984f0beff5d3af31657eb7d\""
+ - "\"be8725ac7176842518dd770c4d17c21c\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "948"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:17 GMT
+ set-cookie:
+ - _recurly_session=43b47d3974fb2486a0bb870efb5a12f1; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=a2b2905ebd7adf8c7707a0ac793b9a01; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<subscription>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-1297746103</account_code>
@@ -346,15 +335,15 @@
<name>Paid</name>
</plan>
<state>canceled</state>
<quantity type="integer">1</quantity>
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
- <activated_at type="datetime">2011-03-11T18:54:04Z</activated_at>
- <canceled_at type="datetime">2011-03-11T18:54:14Z</canceled_at>
- <expires_at type="datetime">2011-03-12T18:54:04Z</expires_at>
- <current_period_started_at type="datetime">2011-03-11T18:54:04Z</current_period_started_at>
- <current_period_ends_at type="datetime">2011-03-12T18:54:04Z</current_period_ends_at>
+ <activated_at type="datetime">2011-03-18T18:54:29Z</activated_at>
+ <canceled_at type="datetime">2011-03-18T18:54:40Z</canceled_at>
+ <expires_at type="datetime">2011-03-19T18:54:29Z</expires_at>
+ <current_period_started_at type="datetime">2011-03-18T18:54:29Z</current_period_started_at>
+ <current_period_ends_at type="datetime">2011-03-19T18:54:29Z</current_period_ends_at>
<trial_started_at nil="true" type="datetime"></trial_started_at>
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
<add_ons type="array">
</add_ons>
</subscription>
@@ -377,30 +366,28 @@
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
+ message: OK
headers:
x-runtime:
- - "278"
+ - "336"
content-type:
- application/xml; charset=utf-8
etag:
- - "\"2ac975189984f0beff5d3af31657eb7d\""
+ - "\"be8725ac7176842518dd770c4d17c21c\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "948"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:20 GMT
+ set-cookie:
+ - _recurly_session=19cdbda3f1f4f4c77b8aec94d9f95f5b; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=e222ac5a06053c59119800c27e9e4adb; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<subscription>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-1297746103</account_code>
@@ -409,15 +396,15 @@
<name>Paid</name>
</plan>
<state>canceled</state>
<quantity type="integer">1</quantity>
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
- <activated_at type="datetime">2011-03-11T18:54:04Z</activated_at>
- <canceled_at type="datetime">2011-03-11T18:54:14Z</canceled_at>
- <expires_at type="datetime">2011-03-12T18:54:04Z</expires_at>
- <current_period_started_at type="datetime">2011-03-11T18:54:04Z</current_period_started_at>
- <current_period_ends_at type="datetime">2011-03-12T18:54:04Z</current_period_ends_at>
+ <activated_at type="datetime">2011-03-18T18:54:29Z</activated_at>
+ <canceled_at type="datetime">2011-03-18T18:54:40Z</canceled_at>
+ <expires_at type="datetime">2011-03-19T18:54:29Z</expires_at>
+ <current_period_started_at type="datetime">2011-03-18T18:54:29Z</current_period_started_at>
+ <current_period_ends_at type="datetime">2011-03-19T18:54:29Z</current_period_ends_at>
<trial_started_at nil="true" type="datetime"></trial_started_at>
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
<add_ons type="array">
</add_ons>
</subscription>
@@ -440,30 +427,28 @@
connection:
- close
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
+ message: OK
headers:
x-runtime:
- - "295"
+ - "341"
content-type:
- application/xml; charset=utf-8
etag:
- - "\"2ac975189984f0beff5d3af31657eb7d\""
+ - "\"be8725ac7176842518dd770c4d17c21c\""
cache-control:
- private, max-age=0, must-revalidate
content-length:
- "948"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Fri, 11 Mar 2011 18:54:23 GMT
+ set-cookie:
+ - _recurly_session=e1063062f010b2306fc2ea0a592c2382; domain=.recurly.local; path=/; HttpOnly
connection:
- close
- set-cookie:
- - _recurly_session=c5447a1dc1ec557a22164a57f7503725; domain=.recurly.local; path=/; HttpOnly
+ server:
+ - thin 1.2.7 codename No Hup
body: |
<?xml version="1.0" encoding="UTF-8"?>
<subscription>
<id>subscription-cancel-with-code-1297746103</id>
<account_code>subscription-cancel-with-code-1297746103</account_code>
@@ -472,14 +457,14 @@
<name>Paid</name>
</plan>
<state>canceled</state>
<quantity type="integer">1</quantity>
<total_amount_in_cents type="integer">1000</total_amount_in_cents>
- <activated_at type="datetime">2011-03-11T18:54:04Z</activated_at>
- <canceled_at type="datetime">2011-03-11T18:54:14Z</canceled_at>
- <expires_at type="datetime">2011-03-12T18:54:04Z</expires_at>
- <current_period_started_at type="datetime">2011-03-11T18:54:04Z</current_period_started_at>
- <current_period_ends_at type="datetime">2011-03-12T18:54:04Z</current_period_ends_at>
+ <activated_at type="datetime">2011-03-18T18:54:29Z</activated_at>
+ <canceled_at type="datetime">2011-03-18T18:54:40Z</canceled_at>
+ <expires_at type="datetime">2011-03-19T18:54:29Z</expires_at>
+ <current_period_started_at type="datetime">2011-03-18T18:54:29Z</current_period_started_at>
+ <current_period_ends_at type="datetime">2011-03-19T18:54:29Z</current_period_ends_at>
<trial_started_at nil="true" type="datetime"></trial_started_at>
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
<add_ons type="array">
</add_ons>
</subscription>