spec/vcr/subscription/addons/remove/1296674173.yml in recurly-0.4.8 vs spec/vcr/subscription/addons/remove/1296674173.yml in recurly-0.4.10
- old
+ new
@@ -1,225 +1,270 @@
----
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
+---
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
method: :post
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
- body: |
- <?xml version="1.0" encoding="UTF-8"?>
- <account>
- <account-code>subscription-addons-remove-1296674173</account-code>
- <first-name>Verena</first-name>
- <last-name>Test</last-name>
- <email>verena@test.com</email>
- <company-name>Recurly Ruby Gem</company-name>
- <accept-language type="yaml" nil="true"></accept-language>
- </account>
-
- headers:
- authorization:
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
- content-type:
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>subscription-addons-remove-1296674173</account-code>\n
+ \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
+ \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
+ \ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ content-type:
- application/xml
- accept:
- - "*/*"
- user-agent:
- - Ruby
- connection:
- - close
- response: !ruby/struct:VCR::Response
- status: !ruby/struct:VCR::ResponseStatus
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
code: 201
- message: "Created "
- headers:
- cache-control:
- - no-cache
- location:
- - http://litle-test.recurly.local:3000/accounts/subscription-addons-remove-1296674173
- x-runtime:
- - "610"
- content-type:
+ message: Created
+ headers:
+ location:
+ - http://app.lvh.me:3000/accounts/subscription-addons-remove-1296674173
+ content-type:
- application/xml; charset=utf-8
- content-length:
- - "607"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Thu, 03 Feb 2011 22:17:28 GMT
- connection:
- - close
- set-cookie:
- - account_credentials=0ebd37a77ab913dfcd1b6b63b9560990263079bec6fab052e913aea18c5b15af49946606bb73c1837b4f434c2e59a88cfe81f0dafd98b380616f3a09804e6585%3A%3A; domain=.recurly.local; path=/
- - ""
- - _recurly_session=467817a5c53fdc04ccf2cec9d00020b3; domain=.recurly.local; path=/; HttpOnly
- body: |
- <?xml version="1.0" encoding="UTF-8"?>
- <account>
- <id>subscription-addons-remove-1296674173</id>
- <account_code>subscription-addons-remove-1296674173</account_code>
- <username></username>
- <email>verena@test.com</email>
- <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>bd8d6edd4d5845d99f323432f9153e0e</hosted_login_token>
- <created_at type="datetime">2011-02-03T22:17:28Z</created_at>
- <state>active</state>
- </account>
-
- http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
+ cache-control:
+ - no-cache
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=dfac8f1cc5a8c43f53e377f03bb36d84; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>subscription-addons-remove-1296674173</id>\n
+ \ <account_code>subscription-addons-remove-1296674173</account_code>\n <username></username>\n
+ \ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
+ \ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
+ \ <closed type=\"boolean\">false</closed>\n <hosted_login_token>aab3d31efc3f429da83e5d56f9325e88</hosted_login_token>\n
+ \ <created_at type=\"datetime\">2011-08-19T20:01:16Z</created_at>\n <state>active</state>\n</account>\n"
+ http_version: '1.1'
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
method: :get
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/company/plans/paid.xml
- body:
- headers:
- authorization:
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
- accept:
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
+ body: !!null
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ accept:
- application/xml
- accept-encoding:
+ 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
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
code: 200
- message: "OK "
- headers:
- x-runtime:
- - "182"
- content-type:
+ message: OK
+ headers:
+ content-type:
- application/xml; charset=utf-8
- etag:
- - "\"70b5c605373b1a4346a2d7ed46048dc4\""
- cache-control:
- - private, max-age=0, must-revalidate
- content-length:
- - "1150"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Thu, 03 Feb 2011 22:17:30 GMT
- connection:
- - close
- set-cookie:
- - _recurly_session=167be53f15de9874430d834a03e35cbf; domain=.recurly.local; path=/; HttpOnly
- body: |
- <?xml version="1.0" encoding="UTF-8"?>
- <plan>
- <plan_code>paid</plan_code>
- <name>Paid</name>
- <description></description>
- <success_url></success_url>
- <cancel_url></cancel_url>
- <created_at type="datetime">2011-02-02T21:02:59Z</created_at>
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
- <plan_interval_length type="integer">1</plan_interval_length>
- <plan_interval_unit>months</plan_interval_unit>
- <trial_interval_length type="integer">0</trial_interval_length>
- <trial_interval_unit>months</trial_interval_unit>
- <latest_version depreciated="true">
- <version type="integer">1</version>
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
- <plan_interval_length type="integer">1</plan_interval_length>
- <plan_interval_unit>months</plan_interval_unit>
- <trial_interval_length type="integer">0</trial_interval_length>
- <trial_interval_unit>months</trial_interval_unit>
- <created_at type="datetime">2011-02-02T21:02:59Z</created_at>
- </latest_version>
- </plan>
-
- http_version: "1.1"
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
+ etag:
+ - ! '"30df1bac5befaf2f9fc4564c2103a07b"'
+ cache-control:
+ - max-age=0, private, must-revalidate
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=25fb1bd8bc0bf91a56e3cc48f59daac6; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
+ \ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
+ \ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
+ \ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
+ type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
+ \ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
+ type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
+ \ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
+ \ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
+ type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
+ \ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
+ \ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
+ \ </add_on>\n </add_ons>\n</plan>\n"
+ http_version: '1.1'
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
method: :post
- uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/subscription-addons-remove-1296674173/subscription.xml
- body: |
- <?xml version="1.0" encoding="UTF-8"?>
- <subscription>
- <plan-code>paid</plan-code>
- <quantity type="integer">1</quantity>
- <account>
- <account-code>subscription-addons-remove-1296674173</account-code>
- <first-name>Verena</first-name>
- <last-name>Test</last-name>
- <email>verena@test.com</email>
- <company-name>Recurly Ruby Gem</company-name>
- <accept-language type="yaml" nil="true"></accept-language>
- <id>subscription-addons-remove-1296674173</id>
- <username type="yaml" nil="true"></username>
- <balance-in-cents type="integer">0</balance-in-cents>
- <closed type="boolean">false</closed>
- <hosted-login-token>bd8d6edd4d5845d99f323432f9153e0e</hosted-login-token>
- <created-at type="datetime">2011-02-03T22:17:28Z</created-at>
- <state>active</state>
- <billing-info>
- <address1>123 Test St</address1>
- <city>San Francisco</city>
- <state>CA</state>
- <zip>94115</zip>
- <country>US</country>
- <credit-card>
- <number>4111111111111111</number>
- <year type="integer">2012</year>
- <month type="integer">2</month>
- <verification-value>123</verification-value>
- </credit-card>
- <first-name>Verena</first-name>
- <last-name>Test</last-name>
- </billing-info>
- </account>
- <add-ons type="array">
- <add-on>
- <add-on-code>special</add-on-code>
- <quantity type="integer">1</quantity>
- <unit-amount type="integer">1000</unit-amount>
- </add-on>
- </add-ons>
- </subscription>
-
- headers:
- authorization:
- - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
- content-type:
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/subscription-addons-remove-1296674173/subscription.xml
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
+ \ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>subscription-addons-remove-1296674173</account-code>\n
+ \ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
+ \ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
+ \ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
+ \ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
+ \ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
+ \ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
+ \ <verification-value>123</verification-value>\n </credit-card>\n
+ \ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
+ \ <id>subscription-addons-remove-1296674173</id>\n <username nil=\"true\"></username>\n
+ \ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
+ \ <hosted-login-token>aab3d31efc3f429da83e5d56f9325e88</hosted-login-token>\n
+ \ <created-at type=\"datetime\">2011-08-19T20:01:16Z</created-at>\n <state>active</state>\n
+ \ </account>\n <add-ons type=\"array\">\n <add-on>\n <add-on-code>special</add-on-code>\n
+ \ <quantity type=\"integer\">1</quantity>\n <unit-amount type=\"integer\">1000</unit-amount>\n
+ \ </add-on>\n </add-ons>\n <addons type=\"array\"/>\n</subscription>\n"
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ content-type:
- application/xml
- accept:
- - "*/*"
- user-agent:
- - Ruby
- connection:
- - close
- response: !ruby/struct:VCR::Response
- status: !ruby/struct:VCR::ResponseStatus
- code: 422
- message: ""
- headers:
- cache-control:
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 201
+ message: Created
+ headers:
+ content-type:
+ - application/xml; charset=utf-8
+ cache-control:
- no-cache
- x-runtime:
- - "595"
- content-type:
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=5dc3dba76f032ed47242037a2b8761df; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>subscription-addons-remove-1296674173</id>\n
+ \ <account_code>subscription-addons-remove-1296674173</account_code>\n <plan>\n
+ \ <plan_code>paid</plan_code>\n <name>Paid Plan</name>\n </plan>\n <state>active</state>\n
+ \ <quantity type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
+ \ <total_amount_in_cents type=\"integer\">101200</total_amount_in_cents>\n <activated_at
+ type=\"datetime\">2011-08-19T20:01:16Z</activated_at>\n <canceled_at nil=\"true\"
+ type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
+ \ <current_period_started_at type=\"datetime\">2011-08-19T20:01:16Z</current_period_started_at>\n
+ \ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:16Z</current_period_ends_at>\n
+ \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
+ nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
+ \ <add_on>\n <add_on_code>special</add_on_code>\n <unit_amount_in_cents
+ type=\"integer\">100000</unit_amount_in_cents>\n <quantity type=\"integer\">1</quantity>\n
+ \ </add_on>\n </add_ons>\n</subscription>\n"
+ http_version: '1.1'
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
+ method: :get
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/subscription-addons-remove-1296674173/subscription.xml
+ body: !!null
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ accept:
+ - application/xml
+ accept-encoding:
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 200
+ message: OK
+ headers:
+ content-type:
- application/xml; charset=utf-8
- content-length:
- - "228"
- server:
- - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
- date:
- - Thu, 03 Feb 2011 22:17:32 GMT
- connection:
- - close
- set-cookie:
- - _recurly_session=1780a05a7313c7b0fcc221a1bad1a94a; domain=.recurly.local; path=/; HttpOnly
- body: |
- <?xml version="1.0" encoding="UTF-8"?>
- <errors>
- <error field="subscriptions">Subscriptions is invalid</error>
- <error field="subscription_add_ons.add_on_id">Subscription add ons.add on Add On Code not found</error>
- </errors>
-
- http_version: "1.1"
+ etag:
+ - ! '"b7e7ed752140f295659977bfc78dbb38"'
+ cache-control:
+ - max-age=0, private, must-revalidate
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=edb03eeca138c0b67051cc2c80e85def; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>subscription-addons-remove-1296674173</id>\n
+ \ <account_code>subscription-addons-remove-1296674173</account_code>\n <plan>\n
+ \ <plan_code>paid</plan_code>\n <name>Paid Plan</name>\n </plan>\n <state>active</state>\n
+ \ <quantity type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
+ \ <total_amount_in_cents type=\"integer\">101200</total_amount_in_cents>\n <activated_at
+ type=\"datetime\">2011-08-19T20:01:16Z</activated_at>\n <canceled_at nil=\"true\"
+ type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
+ \ <current_period_started_at type=\"datetime\">2011-08-19T20:01:16Z</current_period_started_at>\n
+ \ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:16Z</current_period_ends_at>\n
+ \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
+ nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
+ \ <add_on>\n <add_on_code>special</add_on_code>\n <unit_amount_in_cents
+ type=\"integer\">100000</unit_amount_in_cents>\n <quantity type=\"integer\">1</quantity>\n
+ \ </add_on>\n </add_ons>\n</subscription>\n"
+ http_version: '1.1'
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
+ method: :put
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/subscription-addons-remove-1296674173/subscription.xml
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <add-ons
+ type=\"array\"/>\n <timeframe>now</timeframe>\n</subscription>\n"
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ content-type:
+ - application/xml
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 200
+ message: OK
+ headers:
+ content-type:
+ - application/xml; charset=utf-8
+ etag:
+ - ! '"b2014ad39c563982630bc6810fc3d15c"'
+ cache-control:
+ - max-age=0, private, must-revalidate
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=84adce86cad17beb5e739dd98d6eef7c; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>subscription-addons-remove-1296674173</id>\n
+ \ <account_code>subscription-addons-remove-1296674173</account_code>\n <plan>\n
+ \ <plan_code>paid</plan_code>\n <name>Paid Plan</name>\n </plan>\n <state>active</state>\n
+ \ <quantity type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
+ \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
+ type=\"datetime\">2011-08-19T20:01:16Z</activated_at>\n <canceled_at nil=\"true\"
+ type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
+ \ <current_period_started_at type=\"datetime\">2011-08-19T20:01:16Z</current_period_started_at>\n
+ \ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:16Z</current_period_ends_at>\n
+ \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
+ nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
+ \ </add_ons>\n</subscription>\n"
+ http_version: '1.1'
+- !ruby/struct:VCR::HTTPInteraction
+ request: !ruby/struct:VCR::Request
+ method: :get
+ uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/subscription-addons-remove-1296674173/subscription.xml
+ body: !!null
+ headers:
+ user-agent:
+ - Recurly Ruby Client v0.4.10
+ accept:
+ - application/xml
+ accept-encoding:
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
+ response: !ruby/struct:VCR::Response
+ status: !ruby/struct:VCR::ResponseStatus
+ code: 200
+ message: OK
+ headers:
+ content-type:
+ - application/xml; charset=utf-8
+ etag:
+ - ! '"b2014ad39c563982630bc6810fc3d15c"'
+ cache-control:
+ - max-age=0, private, must-revalidate
+ x-ua-compatible:
+ - IE=Edge
+ set-cookie:
+ - _recurly_session=ed141b5ef2d53333e412813cff0943fc; domain=.lvh.me; path=/;
+ HttpOnly
+ server:
+ - thin 1.2.11 codename Bat-Shit Crazy
+ body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>subscription-addons-remove-1296674173</id>\n
+ \ <account_code>subscription-addons-remove-1296674173</account_code>\n <plan>\n
+ \ <plan_code>paid</plan_code>\n <name>Paid Plan</name>\n </plan>\n <state>active</state>\n
+ \ <quantity type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
+ \ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
+ type=\"datetime\">2011-08-19T20:01:16Z</activated_at>\n <canceled_at nil=\"true\"
+ type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
+ \ <current_period_started_at type=\"datetime\">2011-08-19T20:01:16Z</current_period_started_at>\n
+ \ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:16Z</current_period_ends_at>\n
+ \ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
+ nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
+ \ </add_ons>\n</subscription>\n"
+ http_version: '1.1'