recurly 0.4.8 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/README.md +2 -2
- data/lib/recurly.rb +2 -1
- data/lib/recurly/account.rb +2 -2
- data/lib/recurly/base.rb +30 -12
- data/lib/recurly/billing_info.rb +2 -2
- data/lib/recurly/exceptions.rb +13 -0
- data/lib/recurly/plan.rb +1 -1
- data/lib/recurly/subscription.rb +2 -2
- data/lib/recurly/transaction.rb +2 -2
- data/lib/recurly/transparent.rb +1 -1
- data/lib/recurly/verification.rb +77 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/integration/account_spec.rb +12 -0
- data/spec/integration/billing_info_spec.rb +2 -2
- data/spec/integration/charge_spec.rb +0 -1
- data/spec/integration/plan_spec.rb +2 -2
- data/spec/support/vcr.rb +2 -2
- data/spec/unit/verification_spec.rb +76 -0
- data/spec/vcr/account/accept-language-account/1313708721.yml +39 -0
- data/spec/vcr/account/close/1313708721.yml +104 -0
- data/spec/vcr/account/create-blank/1313708721.yml +33 -0
- data/spec/vcr/account/create-duplicate/1313708721.yml +69 -0
- data/spec/vcr/account/create-min/1313708721.yml +38 -0
- data/spec/vcr/account/create/1313708721.yml +39 -0
- data/spec/vcr/account/find/1313708721.yml +107 -0
- data/spec/vcr/account/list/1313708721.yml +878 -0
- data/spec/vcr/account/update/1313708721.yml +158 -0
- data/spec/vcr/billing/create/1313708721.yml +118 -0
- data/spec/vcr/billing/destroy/1313708721.yml +177 -0
- data/spec/vcr/billing/errors/1313708721.yml +71 -0
- data/spec/vcr/billing/find/1313708721.yml +156 -0
- data/spec/vcr/billing/update/1313708721.yml +159 -0
- data/spec/vcr/charge/create/1313708721.yml +153 -0
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +206 -0
- data/spec/vcr/charge/list-all/1313708721.yml +198 -0
- data/spec/vcr/charge/list-invoiced/1313708721.yml +294 -0
- data/spec/vcr/charge/list-pending/1313708721.yml +200 -0
- data/spec/vcr/charge/lookup/1313708721.yml +112 -0
- data/spec/vcr/coupon/create/1296774903.yml +96 -170
- data/spec/vcr/coupon/destroy/1296774903.yml +114 -190
- data/spec/vcr/credit/create/1313708090.yml +112 -0
- data/spec/vcr/credit/delete/1313708090.yml +171 -0
- data/spec/vcr/credit/list/1313708090.yml +198 -0
- data/spec/vcr/credit/lookup/1313708090.yml +112 -0
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +100 -185
- data/spec/vcr/invoice/create/1296674173.yml +182 -328
- data/spec/vcr/invoice/list/1296674173.yml +255 -442
- data/spec/vcr/invoice/lookup/1296674173.yml +187 -331
- data/spec/vcr/plan/all.yml +210 -253
- data/spec/vcr/plan/find.yml +115 -187
- data/spec/vcr/plan/update.yml +105 -187
- data/spec/vcr/subscription/addons/add/1296674173.yml +269 -212
- data/spec/vcr/subscription/addons/create/1296674173.yml +172 -212
- data/spec/vcr/subscription/addons/remove/1296674173.yml +257 -212
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +271 -452
- data/spec/vcr/subscription/cancel/1296674173.yml +234 -394
- data/spec/vcr/subscription/change1/1296674173.yml +237 -402
- data/spec/vcr/subscription/change2/1296674173.yml +238 -402
- data/spec/vcr/subscription/create/1296674173.yml +123 -221
- data/spec/vcr/subscription/find/1296674173.yml +161 -279
- data/spec/vcr/subscription/reactivate/1296674173.yml +261 -431
- data/spec/vcr/subscription/refund-full/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-none/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-partial/1296674173.yml +223 -373
- data/spec/vcr/transaction/all/1311126815.yml +215 -0
- data/spec/vcr/transaction/create-no-account/1311126815.yml +51 -0
- data/spec/vcr/transaction/create-with-account/1311126815.yml +125 -0
- data/spec/vcr/transaction/list-filled/1311126815.yml +349 -0
- data/spec/vcr/transaction/list-initial/1311126815.yml +123 -0
- data/spec/vcr/transaction/lookup/1311126815.yml +335 -0
- data/spec/vcr/transaction/refund/1311126815.yml +163 -0
- data/spec/vcr/transaction/void/1311126815.yml +215 -0
- data/spec/vcr/transparent/post-url/1311239470.yml +76 -0
- metadata +207 -154
- data/spec/vcr/account/accept-language-account/1296674173.yml +0 -70
- data/spec/vcr/account/close/1296674173.yml +0 -164
- data/spec/vcr/account/create-blank/1296674173.yml +0 -52
- data/spec/vcr/account/create-duplicate/1296674173.yml +0 -116
- data/spec/vcr/account/create-min/1296674173.yml +0 -66
- data/spec/vcr/account/create/1296674173.yml +0 -70
- data/spec/vcr/account/find/1296674173.yml +0 -169
- data/spec/vcr/account/list/1296674173.yml +0 -55
- data/spec/vcr/account/update/1296674173.yml +0 -258
- data/spec/vcr/billing/create/1296690812.yml +0 -215
- data/spec/vcr/billing/destroy/1296690812.yml +0 -294
- data/spec/vcr/billing/find/1296690812.yml +0 -280
- data/spec/vcr/billing/update/1296690812.yml +0 -297
- data/spec/vcr/charge/create/1296674173.yml +0 -262
- data/spec/vcr/charge/delete-uninvoiced/1296674173.yml +0 -307
- data/spec/vcr/charge/list-all/1296674173.yml +0 -316
- data/spec/vcr/charge/list-invoiced/1296674173.yml +0 -468
- data/spec/vcr/charge/list-pending/1296674173.yml +0 -316
- data/spec/vcr/charge/lookup/1296674173.yml +0 -180
- data/spec/vcr/coupon/create/1296688818.yml +0 -183
- data/spec/vcr/coupon/destroy/1296688818.yml +0 -207
- data/spec/vcr/credit/create/1296674173.yml +0 -121
- data/spec/vcr/credit/delete/1296674173.yml +0 -121
- data/spec/vcr/credit/list/1296674173.yml +0 -121
- data/spec/vcr/credit/lookup/1296674173.yml +0 -121
- data/spec/vcr/plan/delete/1296674173.yml +0 -225
- data/spec/vcr/transaction/all/1296674173.yml +0 -389
- data/spec/vcr/transaction/create-no-account/1296674173.yml +0 -93
- data/spec/vcr/transaction/create-with-account/1296674173.yml +0 -225
- data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
- data/spec/vcr/transaction/list-initial/1296674173.yml +0 -217
- data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
- data/spec/vcr/transaction/refund/1296674173.yml +0 -287
- data/spec/vcr/transaction/void/1296674173.yml +0 -352
- data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
- data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account1-french-1313708721</account-code>\n
|
7
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
8
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
9
|
+
\ </credit-card>\n </billing-info>\n <accept-language>fr</accept-language>\n</account>\n"
|
10
|
+
headers:
|
11
|
+
user-agent:
|
12
|
+
- Recurly Ruby Client v0.4.10
|
13
|
+
content-type:
|
14
|
+
- application/xml
|
15
|
+
response: !ruby/struct:VCR::Response
|
16
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
|
+
code: 201
|
18
|
+
message: Created
|
19
|
+
headers:
|
20
|
+
location:
|
21
|
+
- http://app.lvh.me:3000/accounts/account1-french-1313708721
|
22
|
+
content-type:
|
23
|
+
- application/xml; charset=utf-8
|
24
|
+
cache-control:
|
25
|
+
- no-cache
|
26
|
+
x-ua-compatible:
|
27
|
+
- IE=Edge
|
28
|
+
set-cookie:
|
29
|
+
- _recurly_session=bfe575663031f120e1794830833021dc; domain=.lvh.me; path=/;
|
30
|
+
HttpOnly
|
31
|
+
server:
|
32
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account1-french-1313708721</id>\n
|
34
|
+
\ <account_code>account1-french-1313708721</account_code>\n <username></username>\n
|
35
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
36
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
37
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>2959a65a28284867b10ea0bee2f926a4</hosted_login_token>\n
|
38
|
+
\ <created_at type=\"datetime\">2011-08-19T20:01:08Z</created_at>\n <state>active</state>\n</account>\n"
|
39
|
+
http_version: '1.1'
|
@@ -0,0 +1,104 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-close-1313708721</account-code>\n
|
7
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
8
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
9
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
10
|
+
headers:
|
11
|
+
user-agent:
|
12
|
+
- Recurly Ruby Client v0.4.10
|
13
|
+
content-type:
|
14
|
+
- application/xml
|
15
|
+
response: !ruby/struct:VCR::Response
|
16
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
|
+
code: 201
|
18
|
+
message: Created
|
19
|
+
headers:
|
20
|
+
location:
|
21
|
+
- http://app.lvh.me:3000/accounts/account-close-1313708721
|
22
|
+
content-type:
|
23
|
+
- application/xml; charset=utf-8
|
24
|
+
cache-control:
|
25
|
+
- no-cache
|
26
|
+
x-ua-compatible:
|
27
|
+
- IE=Edge
|
28
|
+
set-cookie:
|
29
|
+
- _recurly_session=45c45866f19b1800ebff3db676f1eeac; domain=.lvh.me; path=/;
|
30
|
+
HttpOnly
|
31
|
+
server:
|
32
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-close-1313708721</id>\n
|
34
|
+
\ <account_code>account-close-1313708721</account_code>\n <username></username>\n
|
35
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
36
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
37
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>1df320b965b84426ada221eeda485b23</hosted_login_token>\n
|
38
|
+
\ <created_at type=\"datetime\">2011-08-19T20:01:07Z</created_at>\n <state>active</state>\n</account>\n"
|
39
|
+
http_version: '1.1'
|
40
|
+
- !ruby/struct:VCR::HTTPInteraction
|
41
|
+
request: !ruby/struct:VCR::Request
|
42
|
+
method: :delete
|
43
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-close-1313708721.xml
|
44
|
+
body: !!null
|
45
|
+
headers:
|
46
|
+
user-agent:
|
47
|
+
- Recurly Ruby Client v0.4.10
|
48
|
+
accept:
|
49
|
+
- application/xml
|
50
|
+
response: !ruby/struct:VCR::Response
|
51
|
+
status: !ruby/struct:VCR::ResponseStatus
|
52
|
+
code: 200
|
53
|
+
message: OK
|
54
|
+
headers:
|
55
|
+
content-type:
|
56
|
+
- application/xml; charset=utf-8
|
57
|
+
cache-control:
|
58
|
+
- no-cache
|
59
|
+
x-ua-compatible:
|
60
|
+
- IE=Edge
|
61
|
+
set-cookie:
|
62
|
+
- _recurly_session=fa66b30c1f0692cb25269ea2aa71d355; domain=.lvh.me; path=/;
|
63
|
+
HttpOnly
|
64
|
+
server:
|
65
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
66
|
+
body: ! ' '
|
67
|
+
http_version: '1.1'
|
68
|
+
- !ruby/struct:VCR::HTTPInteraction
|
69
|
+
request: !ruby/struct:VCR::Request
|
70
|
+
method: :get
|
71
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-close-1313708721.xml
|
72
|
+
body: !!null
|
73
|
+
headers:
|
74
|
+
user-agent:
|
75
|
+
- Recurly Ruby Client v0.4.10
|
76
|
+
accept:
|
77
|
+
- application/xml
|
78
|
+
accept-encoding:
|
79
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
80
|
+
response: !ruby/struct:VCR::Response
|
81
|
+
status: !ruby/struct:VCR::ResponseStatus
|
82
|
+
code: 200
|
83
|
+
message: OK
|
84
|
+
headers:
|
85
|
+
content-type:
|
86
|
+
- application/xml; charset=utf-8
|
87
|
+
etag:
|
88
|
+
- ! '"80b05f6e36174d29f725964162f660a9"'
|
89
|
+
cache-control:
|
90
|
+
- max-age=0, private, must-revalidate
|
91
|
+
x-ua-compatible:
|
92
|
+
- IE=Edge
|
93
|
+
set-cookie:
|
94
|
+
- _recurly_session=94a151583bfc8efc996c12fa3cc05c4e; domain=.lvh.me; path=/;
|
95
|
+
HttpOnly
|
96
|
+
server:
|
97
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
98
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-close-1313708721</id>\n
|
99
|
+
\ <account_code>account-close-1313708721</account_code>\n <username></username>\n
|
100
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
101
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
102
|
+
\ <closed type=\"boolean\">true</closed>\n <hosted_login_token>1df320b965b84426ada221eeda485b23</hosted_login_token>\n
|
103
|
+
\ <created_at type=\"datetime\">2011-08-19T20:01:07Z</created_at>\n <state>closed</state>\n</account>\n"
|
104
|
+
http_version: '1.1'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code></account-code>\n
|
7
|
+
\ <billing-info>\n <credit-card>\n </credit-card>\n </billing-info>\n
|
8
|
+
\ <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
9
|
+
headers:
|
10
|
+
user-agent:
|
11
|
+
- Recurly Ruby Client v0.4.10
|
12
|
+
content-type:
|
13
|
+
- application/xml
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 422
|
17
|
+
message: !!null
|
18
|
+
headers:
|
19
|
+
content-type:
|
20
|
+
- application/xml; charset=utf-8
|
21
|
+
cache-control:
|
22
|
+
- no-cache
|
23
|
+
x-ua-compatible:
|
24
|
+
- IE=Edge
|
25
|
+
set-cookie:
|
26
|
+
- _recurly_session=dc9e2332cd33c9a0ed2aae27b4e09531; domain=.lvh.me; path=/;
|
27
|
+
HttpOnly
|
28
|
+
server:
|
29
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
30
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>\n <error field=\"account_code\"
|
31
|
+
code=\"blank\">account code can't be blank</error>\n <error field=\"account_code\"
|
32
|
+
code=\"invalid\">account code is invalid</error>\n</errors>\n"
|
33
|
+
http_version: '1.1'
|
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-exists</account-code>\n
|
7
|
+
\ <billing-info>\n <credit-card>\n </credit-card>\n </billing-info>\n
|
8
|
+
\ <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
9
|
+
headers:
|
10
|
+
user-agent:
|
11
|
+
- Recurly Ruby Client v0.4.10
|
12
|
+
content-type:
|
13
|
+
- application/xml
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 201
|
17
|
+
message: Created
|
18
|
+
headers:
|
19
|
+
location:
|
20
|
+
- http://app.lvh.me:3000/accounts/account-exists
|
21
|
+
content-type:
|
22
|
+
- application/xml; charset=utf-8
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
x-ua-compatible:
|
26
|
+
- IE=Edge
|
27
|
+
set-cookie:
|
28
|
+
- _recurly_session=5d4e0b0180ba0281fa449684dbc75a9f; domain=.lvh.me; path=/;
|
29
|
+
HttpOnly
|
30
|
+
server:
|
31
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-exists</id>\n
|
33
|
+
\ <account_code>account-exists</account_code>\n <username></username>\n <email></email>\n
|
34
|
+
\ <first_name></first_name>\n <last_name></last_name>\n <company_name></company_name>\n
|
35
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n <closed type=\"boolean\">false</closed>\n
|
36
|
+
\ <hosted_login_token>fe96c4d0069747889ec082d381f26327</hosted_login_token>\n
|
37
|
+
\ <created_at type=\"datetime\">2011-08-19T20:01:07Z</created_at>\n <state>active</state>\n</account>\n"
|
38
|
+
http_version: '1.1'
|
39
|
+
- !ruby/struct:VCR::HTTPInteraction
|
40
|
+
request: !ruby/struct:VCR::Request
|
41
|
+
method: :post
|
42
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
43
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-exists</account-code>\n
|
44
|
+
\ <billing-info>\n <credit-card>\n </credit-card>\n </billing-info>\n
|
45
|
+
\ <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
46
|
+
headers:
|
47
|
+
user-agent:
|
48
|
+
- Recurly Ruby Client v0.4.10
|
49
|
+
content-type:
|
50
|
+
- application/xml
|
51
|
+
response: !ruby/struct:VCR::Response
|
52
|
+
status: !ruby/struct:VCR::ResponseStatus
|
53
|
+
code: 422
|
54
|
+
message: !!null
|
55
|
+
headers:
|
56
|
+
content-type:
|
57
|
+
- application/xml; charset=utf-8
|
58
|
+
cache-control:
|
59
|
+
- no-cache
|
60
|
+
x-ua-compatible:
|
61
|
+
- IE=Edge
|
62
|
+
set-cookie:
|
63
|
+
- _recurly_session=e319799ec09a6b75c3de04124d1c4892; domain=.lvh.me; path=/;
|
64
|
+
HttpOnly
|
65
|
+
server:
|
66
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
67
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>\n <error field=\"account_code\"
|
68
|
+
code=\"taken\">account code has already been taken</error>\n</errors>\n"
|
69
|
+
http_version: '1.1'
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>d00d-1313708721</account-code>\n
|
7
|
+
\ <billing-info>\n <credit-card>\n </credit-card>\n </billing-info>\n
|
8
|
+
\ <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
9
|
+
headers:
|
10
|
+
user-agent:
|
11
|
+
- Recurly Ruby Client v0.4.10
|
12
|
+
content-type:
|
13
|
+
- application/xml
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 201
|
17
|
+
message: Created
|
18
|
+
headers:
|
19
|
+
location:
|
20
|
+
- http://app.lvh.me:3000/accounts/d00d-1313708721
|
21
|
+
content-type:
|
22
|
+
- application/xml; charset=utf-8
|
23
|
+
cache-control:
|
24
|
+
- no-cache
|
25
|
+
x-ua-compatible:
|
26
|
+
- IE=Edge
|
27
|
+
set-cookie:
|
28
|
+
- _recurly_session=8353d2a8b0f3906c7091fb70efcd4d61; domain=.lvh.me; path=/;
|
29
|
+
HttpOnly
|
30
|
+
server:
|
31
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
32
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>d00d-1313708721</id>\n
|
33
|
+
\ <account_code>d00d-1313708721</account_code>\n <username></username>\n <email></email>\n
|
34
|
+
\ <first_name></first_name>\n <last_name></last_name>\n <company_name></company_name>\n
|
35
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n <closed type=\"boolean\">false</closed>\n
|
36
|
+
\ <hosted_login_token>19455e06a9ed4126b60e45f5f2b9d036</hosted_login_token>\n
|
37
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
|
38
|
+
http_version: '1.1'
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-create-1313708721</account-code>\n
|
7
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
8
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
9
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
10
|
+
headers:
|
11
|
+
user-agent:
|
12
|
+
- Recurly Ruby Client v0.4.10
|
13
|
+
content-type:
|
14
|
+
- application/xml
|
15
|
+
response: !ruby/struct:VCR::Response
|
16
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
|
+
code: 201
|
18
|
+
message: Created
|
19
|
+
headers:
|
20
|
+
location:
|
21
|
+
- http://app.lvh.me:3000/accounts/account-create-1313708721
|
22
|
+
content-type:
|
23
|
+
- application/xml; charset=utf-8
|
24
|
+
cache-control:
|
25
|
+
- no-cache
|
26
|
+
x-ua-compatible:
|
27
|
+
- IE=Edge
|
28
|
+
set-cookie:
|
29
|
+
- _recurly_session=50a5183d68b8a0acb8acb25dc46786ea; domain=.lvh.me; path=/;
|
30
|
+
HttpOnly
|
31
|
+
server:
|
32
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-create-1313708721</id>\n
|
34
|
+
\ <account_code>account-create-1313708721</account_code>\n <username></username>\n
|
35
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
36
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
37
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>511f924f8b114781b8ab61a3b8fdb8f2</hosted_login_token>\n
|
38
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
|
39
|
+
http_version: '1.1'
|
@@ -0,0 +1,107 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-get-1313708721</account-code>\n
|
7
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
8
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
9
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
10
|
+
headers:
|
11
|
+
user-agent:
|
12
|
+
- Recurly Ruby Client v0.4.10
|
13
|
+
content-type:
|
14
|
+
- application/xml
|
15
|
+
response: !ruby/struct:VCR::Response
|
16
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
|
+
code: 201
|
18
|
+
message: Created
|
19
|
+
headers:
|
20
|
+
location:
|
21
|
+
- http://app.lvh.me:3000/accounts/account-get-1313708721
|
22
|
+
content-type:
|
23
|
+
- application/xml; charset=utf-8
|
24
|
+
cache-control:
|
25
|
+
- no-cache
|
26
|
+
x-ua-compatible:
|
27
|
+
- IE=Edge
|
28
|
+
set-cookie:
|
29
|
+
- _recurly_session=59dc5493eee8a8e0b368cdfbaa9b622a; domain=.lvh.me; path=/;
|
30
|
+
HttpOnly
|
31
|
+
server:
|
32
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1313708721</id>\n
|
34
|
+
\ <account_code>account-get-1313708721</account_code>\n <username></username>\n
|
35
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
36
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
37
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>a0ba2bb34205484281c24bc7d24988d0</hosted_login_token>\n
|
38
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
|
39
|
+
http_version: '1.1'
|
40
|
+
- !ruby/struct:VCR::HTTPInteraction
|
41
|
+
request: !ruby/struct:VCR::Request
|
42
|
+
method: :get
|
43
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-get-1313708721.xml
|
44
|
+
body: !!null
|
45
|
+
headers:
|
46
|
+
user-agent:
|
47
|
+
- Recurly Ruby Client v0.4.10
|
48
|
+
accept:
|
49
|
+
- application/xml
|
50
|
+
accept-encoding:
|
51
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
52
|
+
response: !ruby/struct:VCR::Response
|
53
|
+
status: !ruby/struct:VCR::ResponseStatus
|
54
|
+
code: 200
|
55
|
+
message: OK
|
56
|
+
headers:
|
57
|
+
content-type:
|
58
|
+
- application/xml; charset=utf-8
|
59
|
+
etag:
|
60
|
+
- ! '"457dbf17cdeb876cceb2c0da4e96cae4"'
|
61
|
+
cache-control:
|
62
|
+
- max-age=0, private, must-revalidate
|
63
|
+
x-ua-compatible:
|
64
|
+
- IE=Edge
|
65
|
+
set-cookie:
|
66
|
+
- _recurly_session=41325195fb2b11f70e856e595fd85490; domain=.lvh.me; path=/;
|
67
|
+
HttpOnly
|
68
|
+
server:
|
69
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
70
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-get-1313708721</id>\n
|
71
|
+
\ <account_code>account-get-1313708721</account_code>\n <username></username>\n
|
72
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
73
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
74
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>a0ba2bb34205484281c24bc7d24988d0</hosted_login_token>\n
|
75
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:32Z</created_at>\n <state>active</state>\n</account>\n"
|
76
|
+
http_version: '1.1'
|
77
|
+
- !ruby/struct:VCR::HTTPInteraction
|
78
|
+
request: !ruby/struct:VCR::Request
|
79
|
+
method: :get
|
80
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-that-doesnt-exist.xml
|
81
|
+
body: !!null
|
82
|
+
headers:
|
83
|
+
user-agent:
|
84
|
+
- Recurly Ruby Client v0.4.10
|
85
|
+
accept:
|
86
|
+
- application/xml
|
87
|
+
accept-encoding:
|
88
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
89
|
+
response: !ruby/struct:VCR::Response
|
90
|
+
status: !ruby/struct:VCR::ResponseStatus
|
91
|
+
code: 404
|
92
|
+
message: Not Found
|
93
|
+
headers:
|
94
|
+
content-type:
|
95
|
+
- application/xml; charset=utf-8
|
96
|
+
cache-control:
|
97
|
+
- no-cache
|
98
|
+
x-ua-compatible:
|
99
|
+
- IE=Edge
|
100
|
+
set-cookie:
|
101
|
+
- _recurly_session=61f77585c7af4881109a8a369f2eb2ee; domain=.lvh.me; path=/;
|
102
|
+
HttpOnly
|
103
|
+
server:
|
104
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
105
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<errors>\n <error>Account
|
106
|
+
not found</error>\n</errors>\n"
|
107
|
+
http_version: '1.1'
|
@@ -0,0 +1,878 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
6
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-0-1313708721</account-code>\n
|
7
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
8
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
9
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
10
|
+
headers:
|
11
|
+
user-agent:
|
12
|
+
- Recurly Ruby Client v0.4.10
|
13
|
+
content-type:
|
14
|
+
- application/xml
|
15
|
+
response: !ruby/struct:VCR::Response
|
16
|
+
status: !ruby/struct:VCR::ResponseStatus
|
17
|
+
code: 201
|
18
|
+
message: Created
|
19
|
+
headers:
|
20
|
+
location:
|
21
|
+
- http://app.lvh.me:3000/accounts/account-list-num-0-1313708721
|
22
|
+
content-type:
|
23
|
+
- application/xml; charset=utf-8
|
24
|
+
cache-control:
|
25
|
+
- no-cache
|
26
|
+
x-ua-compatible:
|
27
|
+
- IE=Edge
|
28
|
+
set-cookie:
|
29
|
+
- _recurly_session=f17c06067963dab2ba7192fd85ec4f85; domain=.lvh.me; path=/;
|
30
|
+
HttpOnly
|
31
|
+
server:
|
32
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
33
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-0-1313708721</id>\n
|
34
|
+
\ <account_code>account-list-num-0-1313708721</account_code>\n <username></username>\n
|
35
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
36
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
37
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>d4200f68901940c4953587addcac775c</hosted_login_token>\n
|
38
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
|
39
|
+
http_version: '1.1'
|
40
|
+
- !ruby/struct:VCR::HTTPInteraction
|
41
|
+
request: !ruby/struct:VCR::Request
|
42
|
+
method: :post
|
43
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
44
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-1-1313708721</account-code>\n
|
45
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
46
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
47
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
48
|
+
headers:
|
49
|
+
user-agent:
|
50
|
+
- Recurly Ruby Client v0.4.10
|
51
|
+
content-type:
|
52
|
+
- application/xml
|
53
|
+
response: !ruby/struct:VCR::Response
|
54
|
+
status: !ruby/struct:VCR::ResponseStatus
|
55
|
+
code: 201
|
56
|
+
message: Created
|
57
|
+
headers:
|
58
|
+
location:
|
59
|
+
- http://app.lvh.me:3000/accounts/account-list-num-1-1313708721
|
60
|
+
content-type:
|
61
|
+
- application/xml; charset=utf-8
|
62
|
+
cache-control:
|
63
|
+
- no-cache
|
64
|
+
x-ua-compatible:
|
65
|
+
- IE=Edge
|
66
|
+
set-cookie:
|
67
|
+
- _recurly_session=4ddc12aa35e199672bea3e69ef16c003; domain=.lvh.me; path=/;
|
68
|
+
HttpOnly
|
69
|
+
server:
|
70
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
71
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-1-1313708721</id>\n
|
72
|
+
\ <account_code>account-list-num-1-1313708721</account_code>\n <username></username>\n
|
73
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
74
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
75
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>43f4316a43a64ffe8586cf32248488f6</hosted_login_token>\n
|
76
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
|
77
|
+
http_version: '1.1'
|
78
|
+
- !ruby/struct:VCR::HTTPInteraction
|
79
|
+
request: !ruby/struct:VCR::Request
|
80
|
+
method: :post
|
81
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
82
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-2-1313708721</account-code>\n
|
83
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
84
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
85
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
86
|
+
headers:
|
87
|
+
user-agent:
|
88
|
+
- Recurly Ruby Client v0.4.10
|
89
|
+
content-type:
|
90
|
+
- application/xml
|
91
|
+
response: !ruby/struct:VCR::Response
|
92
|
+
status: !ruby/struct:VCR::ResponseStatus
|
93
|
+
code: 201
|
94
|
+
message: Created
|
95
|
+
headers:
|
96
|
+
location:
|
97
|
+
- http://app.lvh.me:3000/accounts/account-list-num-2-1313708721
|
98
|
+
content-type:
|
99
|
+
- application/xml; charset=utf-8
|
100
|
+
cache-control:
|
101
|
+
- no-cache
|
102
|
+
x-ua-compatible:
|
103
|
+
- IE=Edge
|
104
|
+
set-cookie:
|
105
|
+
- _recurly_session=7ca0ec5f40bb2d3df008097f2b1054b9; domain=.lvh.me; path=/;
|
106
|
+
HttpOnly
|
107
|
+
server:
|
108
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
109
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-2-1313708721</id>\n
|
110
|
+
\ <account_code>account-list-num-2-1313708721</account_code>\n <username></username>\n
|
111
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
112
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
113
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>4be2f79bbb6c4c48b3c9e6013afb63f6</hosted_login_token>\n
|
114
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
|
115
|
+
http_version: '1.1'
|
116
|
+
- !ruby/struct:VCR::HTTPInteraction
|
117
|
+
request: !ruby/struct:VCR::Request
|
118
|
+
method: :post
|
119
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
120
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-3-1313708721</account-code>\n
|
121
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
122
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
123
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
124
|
+
headers:
|
125
|
+
user-agent:
|
126
|
+
- Recurly Ruby Client v0.4.10
|
127
|
+
content-type:
|
128
|
+
- application/xml
|
129
|
+
response: !ruby/struct:VCR::Response
|
130
|
+
status: !ruby/struct:VCR::ResponseStatus
|
131
|
+
code: 201
|
132
|
+
message: Created
|
133
|
+
headers:
|
134
|
+
location:
|
135
|
+
- http://app.lvh.me:3000/accounts/account-list-num-3-1313708721
|
136
|
+
content-type:
|
137
|
+
- application/xml; charset=utf-8
|
138
|
+
cache-control:
|
139
|
+
- no-cache
|
140
|
+
x-ua-compatible:
|
141
|
+
- IE=Edge
|
142
|
+
set-cookie:
|
143
|
+
- _recurly_session=609823fc94d30ff8ce3242ea14a49d7b; domain=.lvh.me; path=/;
|
144
|
+
HttpOnly
|
145
|
+
server:
|
146
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
147
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-3-1313708721</id>\n
|
148
|
+
\ <account_code>account-list-num-3-1313708721</account_code>\n <username></username>\n
|
149
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
150
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
151
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>af0b66ea61f74ce387554058b832e348</hosted_login_token>\n
|
152
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
|
153
|
+
http_version: '1.1'
|
154
|
+
- !ruby/struct:VCR::HTTPInteraction
|
155
|
+
request: !ruby/struct:VCR::Request
|
156
|
+
method: :post
|
157
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
158
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-4-1313708721</account-code>\n
|
159
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
160
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
161
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
162
|
+
headers:
|
163
|
+
user-agent:
|
164
|
+
- Recurly Ruby Client v0.4.10
|
165
|
+
content-type:
|
166
|
+
- application/xml
|
167
|
+
response: !ruby/struct:VCR::Response
|
168
|
+
status: !ruby/struct:VCR::ResponseStatus
|
169
|
+
code: 201
|
170
|
+
message: Created
|
171
|
+
headers:
|
172
|
+
location:
|
173
|
+
- http://app.lvh.me:3000/accounts/account-list-num-4-1313708721
|
174
|
+
content-type:
|
175
|
+
- application/xml; charset=utf-8
|
176
|
+
cache-control:
|
177
|
+
- no-cache
|
178
|
+
x-ua-compatible:
|
179
|
+
- IE=Edge
|
180
|
+
set-cookie:
|
181
|
+
- _recurly_session=c3b13d0f7641d624d8a2433f948fae93; domain=.lvh.me; path=/;
|
182
|
+
HttpOnly
|
183
|
+
server:
|
184
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
185
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-4-1313708721</id>\n
|
186
|
+
\ <account_code>account-list-num-4-1313708721</account_code>\n <username></username>\n
|
187
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
188
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
189
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>734152a3e70347ccbb191831593d4b90</hosted_login_token>\n
|
190
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:33Z</created_at>\n <state>active</state>\n</account>\n"
|
191
|
+
http_version: '1.1'
|
192
|
+
- !ruby/struct:VCR::HTTPInteraction
|
193
|
+
request: !ruby/struct:VCR::Request
|
194
|
+
method: :post
|
195
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
196
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-5-1313708721</account-code>\n
|
197
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
198
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
199
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
200
|
+
headers:
|
201
|
+
user-agent:
|
202
|
+
- Recurly Ruby Client v0.4.10
|
203
|
+
content-type:
|
204
|
+
- application/xml
|
205
|
+
response: !ruby/struct:VCR::Response
|
206
|
+
status: !ruby/struct:VCR::ResponseStatus
|
207
|
+
code: 201
|
208
|
+
message: Created
|
209
|
+
headers:
|
210
|
+
location:
|
211
|
+
- http://app.lvh.me:3000/accounts/account-list-num-5-1313708721
|
212
|
+
content-type:
|
213
|
+
- application/xml; charset=utf-8
|
214
|
+
cache-control:
|
215
|
+
- no-cache
|
216
|
+
x-ua-compatible:
|
217
|
+
- IE=Edge
|
218
|
+
set-cookie:
|
219
|
+
- _recurly_session=612efa8592a9ed5b727c74b0dfc81b47; domain=.lvh.me; path=/;
|
220
|
+
HttpOnly
|
221
|
+
server:
|
222
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
223
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-5-1313708721</id>\n
|
224
|
+
\ <account_code>account-list-num-5-1313708721</account_code>\n <username></username>\n
|
225
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
226
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
227
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>ee41abb9fbe74ba184160901ee3620df</hosted_login_token>\n
|
228
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
|
229
|
+
http_version: '1.1'
|
230
|
+
- !ruby/struct:VCR::HTTPInteraction
|
231
|
+
request: !ruby/struct:VCR::Request
|
232
|
+
method: :post
|
233
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
234
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-6-1313708721</account-code>\n
|
235
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
236
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
237
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
238
|
+
headers:
|
239
|
+
user-agent:
|
240
|
+
- Recurly Ruby Client v0.4.10
|
241
|
+
content-type:
|
242
|
+
- application/xml
|
243
|
+
response: !ruby/struct:VCR::Response
|
244
|
+
status: !ruby/struct:VCR::ResponseStatus
|
245
|
+
code: 201
|
246
|
+
message: Created
|
247
|
+
headers:
|
248
|
+
location:
|
249
|
+
- http://app.lvh.me:3000/accounts/account-list-num-6-1313708721
|
250
|
+
content-type:
|
251
|
+
- application/xml; charset=utf-8
|
252
|
+
cache-control:
|
253
|
+
- no-cache
|
254
|
+
x-ua-compatible:
|
255
|
+
- IE=Edge
|
256
|
+
set-cookie:
|
257
|
+
- _recurly_session=f832070e6e65adb565a29162cc1440e7; domain=.lvh.me; path=/;
|
258
|
+
HttpOnly
|
259
|
+
server:
|
260
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
261
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-6-1313708721</id>\n
|
262
|
+
\ <account_code>account-list-num-6-1313708721</account_code>\n <username></username>\n
|
263
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
264
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
265
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>b7a6328a871b49dbac975178a54859a5</hosted_login_token>\n
|
266
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
|
267
|
+
http_version: '1.1'
|
268
|
+
- !ruby/struct:VCR::HTTPInteraction
|
269
|
+
request: !ruby/struct:VCR::Request
|
270
|
+
method: :post
|
271
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
272
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <account-code>account-list-num-7-1313708721</account-code>\n
|
273
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
274
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <credit-card>\n
|
275
|
+
\ </credit-card>\n </billing-info>\n <accept-language nil=\"true\"></accept-language>\n</account>\n"
|
276
|
+
headers:
|
277
|
+
user-agent:
|
278
|
+
- Recurly Ruby Client v0.4.10
|
279
|
+
content-type:
|
280
|
+
- application/xml
|
281
|
+
response: !ruby/struct:VCR::Response
|
282
|
+
status: !ruby/struct:VCR::ResponseStatus
|
283
|
+
code: 201
|
284
|
+
message: Created
|
285
|
+
headers:
|
286
|
+
location:
|
287
|
+
- http://app.lvh.me:3000/accounts/account-list-num-7-1313708721
|
288
|
+
content-type:
|
289
|
+
- application/xml; charset=utf-8
|
290
|
+
cache-control:
|
291
|
+
- no-cache
|
292
|
+
x-ua-compatible:
|
293
|
+
- IE=Edge
|
294
|
+
set-cookie:
|
295
|
+
- _recurly_session=38964817445fb320eb04f368325f35e3; domain=.lvh.me; path=/;
|
296
|
+
HttpOnly
|
297
|
+
server:
|
298
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
299
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<account>\n <id>account-list-num-7-1313708721</id>\n
|
300
|
+
\ <account_code>account-list-num-7-1313708721</account_code>\n <username></username>\n
|
301
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
302
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
303
|
+
\ <closed type=\"boolean\">false</closed>\n <hosted_login_token>6f047de9117449fdb5f727560ec10f49</hosted_login_token>\n
|
304
|
+
\ <created_at type=\"datetime\">2011-08-19T20:00:34Z</created_at>\n <state>active</state>\n</account>\n"
|
305
|
+
http_version: '1.1'
|
306
|
+
- !ruby/struct:VCR::HTTPInteraction
|
307
|
+
request: !ruby/struct:VCR::Request
|
308
|
+
method: :get
|
309
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
|
310
|
+
body: !!null
|
311
|
+
headers:
|
312
|
+
user-agent:
|
313
|
+
- Recurly Ruby Client v0.4.10
|
314
|
+
accept:
|
315
|
+
- application/xml
|
316
|
+
accept-encoding:
|
317
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
318
|
+
response: !ruby/struct:VCR::Response
|
319
|
+
status: !ruby/struct:VCR::ResponseStatus
|
320
|
+
code: 200
|
321
|
+
message: OK
|
322
|
+
headers:
|
323
|
+
content-type:
|
324
|
+
- application/xml; charset=utf-8
|
325
|
+
etag:
|
326
|
+
- ! '"30df1bac5befaf2f9fc4564c2103a07b"'
|
327
|
+
cache-control:
|
328
|
+
- max-age=0, private, must-revalidate
|
329
|
+
x-ua-compatible:
|
330
|
+
- IE=Edge
|
331
|
+
set-cookie:
|
332
|
+
- _recurly_session=28ab5126b8656056a11b2212d2d76a4d; domain=.lvh.me; path=/;
|
333
|
+
HttpOnly
|
334
|
+
server:
|
335
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
336
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
|
337
|
+
\ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
|
338
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
339
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
|
340
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
341
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
342
|
+
type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
343
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
|
344
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
345
|
+
type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
|
346
|
+
\ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
|
347
|
+
\ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
|
348
|
+
\ </add_on>\n </add_ons>\n</plan>\n"
|
349
|
+
http_version: '1.1'
|
350
|
+
- !ruby/struct:VCR::HTTPInteraction
|
351
|
+
request: !ruby/struct:VCR::Request
|
352
|
+
method: :post
|
353
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-0-1313708721/subscription.xml
|
354
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
|
355
|
+
\ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-0-1313708721</account-code>\n
|
356
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
357
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
|
358
|
+
\ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
|
359
|
+
\ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
|
360
|
+
\ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
|
361
|
+
\ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
|
362
|
+
\ <verification-value>123</verification-value>\n </credit-card>\n
|
363
|
+
\ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
|
364
|
+
\ <id>account-list-num-0-1313708721</id>\n <username nil=\"true\"></username>\n
|
365
|
+
\ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
|
366
|
+
\ <hosted-login-token>d4200f68901940c4953587addcac775c</hosted-login-token>\n
|
367
|
+
\ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
|
368
|
+
\ </account>\n <addons type=\"array\"/>\n</subscription>\n"
|
369
|
+
headers:
|
370
|
+
user-agent:
|
371
|
+
- Recurly Ruby Client v0.4.10
|
372
|
+
content-type:
|
373
|
+
- application/xml
|
374
|
+
response: !ruby/struct:VCR::Response
|
375
|
+
status: !ruby/struct:VCR::ResponseStatus
|
376
|
+
code: 201
|
377
|
+
message: Created
|
378
|
+
headers:
|
379
|
+
content-type:
|
380
|
+
- application/xml; charset=utf-8
|
381
|
+
cache-control:
|
382
|
+
- no-cache
|
383
|
+
x-ua-compatible:
|
384
|
+
- IE=Edge
|
385
|
+
set-cookie:
|
386
|
+
- _recurly_session=d96f390b71684b86c0045dd0f274d02b; domain=.lvh.me; path=/;
|
387
|
+
HttpOnly
|
388
|
+
server:
|
389
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
390
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-0-1313708721</id>\n
|
391
|
+
\ <account_code>account-list-num-0-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
|
392
|
+
\ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
|
393
|
+
type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
|
394
|
+
\ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
|
395
|
+
type=\"datetime\">2011-08-19T20:00:34Z</activated_at>\n <canceled_at nil=\"true\"
|
396
|
+
type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
|
397
|
+
\ <current_period_started_at type=\"datetime\">2011-08-19T20:00:34Z</current_period_started_at>\n
|
398
|
+
\ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:34Z</current_period_ends_at>\n
|
399
|
+
\ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
|
400
|
+
nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
|
401
|
+
\ </add_ons>\n</subscription>\n"
|
402
|
+
http_version: '1.1'
|
403
|
+
- !ruby/struct:VCR::HTTPInteraction
|
404
|
+
request: !ruby/struct:VCR::Request
|
405
|
+
method: :get
|
406
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
|
407
|
+
body: !!null
|
408
|
+
headers:
|
409
|
+
user-agent:
|
410
|
+
- Recurly Ruby Client v0.4.10
|
411
|
+
accept:
|
412
|
+
- application/xml
|
413
|
+
accept-encoding:
|
414
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
415
|
+
response: !ruby/struct:VCR::Response
|
416
|
+
status: !ruby/struct:VCR::ResponseStatus
|
417
|
+
code: 200
|
418
|
+
message: OK
|
419
|
+
headers:
|
420
|
+
content-type:
|
421
|
+
- application/xml; charset=utf-8
|
422
|
+
etag:
|
423
|
+
- ! '"30df1bac5befaf2f9fc4564c2103a07b"'
|
424
|
+
cache-control:
|
425
|
+
- max-age=0, private, must-revalidate
|
426
|
+
x-ua-compatible:
|
427
|
+
- IE=Edge
|
428
|
+
set-cookie:
|
429
|
+
- _recurly_session=a308fffd346708adcf3277d4d2f39827; domain=.lvh.me; path=/;
|
430
|
+
HttpOnly
|
431
|
+
server:
|
432
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
433
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
|
434
|
+
\ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
|
435
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
436
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
|
437
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
438
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
439
|
+
type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
440
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
|
441
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
442
|
+
type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
|
443
|
+
\ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
|
444
|
+
\ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
|
445
|
+
\ </add_on>\n </add_ons>\n</plan>\n"
|
446
|
+
http_version: '1.1'
|
447
|
+
- !ruby/struct:VCR::HTTPInteraction
|
448
|
+
request: !ruby/struct:VCR::Request
|
449
|
+
method: :post
|
450
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-1-1313708721/subscription.xml
|
451
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
|
452
|
+
\ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-1-1313708721</account-code>\n
|
453
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
454
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
|
455
|
+
\ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
|
456
|
+
\ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
|
457
|
+
\ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
|
458
|
+
\ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
|
459
|
+
\ <verification-value>123</verification-value>\n </credit-card>\n
|
460
|
+
\ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
|
461
|
+
\ <id>account-list-num-1-1313708721</id>\n <username nil=\"true\"></username>\n
|
462
|
+
\ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
|
463
|
+
\ <hosted-login-token>43f4316a43a64ffe8586cf32248488f6</hosted-login-token>\n
|
464
|
+
\ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
|
465
|
+
\ </account>\n <addons type=\"array\"/>\n</subscription>\n"
|
466
|
+
headers:
|
467
|
+
user-agent:
|
468
|
+
- Recurly Ruby Client v0.4.10
|
469
|
+
content-type:
|
470
|
+
- application/xml
|
471
|
+
response: !ruby/struct:VCR::Response
|
472
|
+
status: !ruby/struct:VCR::ResponseStatus
|
473
|
+
code: 201
|
474
|
+
message: Created
|
475
|
+
headers:
|
476
|
+
content-type:
|
477
|
+
- application/xml; charset=utf-8
|
478
|
+
cache-control:
|
479
|
+
- no-cache
|
480
|
+
x-ua-compatible:
|
481
|
+
- IE=Edge
|
482
|
+
set-cookie:
|
483
|
+
- _recurly_session=98d1df7e9ba788d7351991bbafcdb92b; domain=.lvh.me; path=/;
|
484
|
+
HttpOnly
|
485
|
+
server:
|
486
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
487
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-1-1313708721</id>\n
|
488
|
+
\ <account_code>account-list-num-1-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
|
489
|
+
\ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
|
490
|
+
type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
|
491
|
+
\ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
|
492
|
+
type=\"datetime\">2011-08-19T20:00:56Z</activated_at>\n <canceled_at nil=\"true\"
|
493
|
+
type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
|
494
|
+
\ <current_period_started_at type=\"datetime\">2011-08-19T20:00:56Z</current_period_started_at>\n
|
495
|
+
\ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:56Z</current_period_ends_at>\n
|
496
|
+
\ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
|
497
|
+
nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
|
498
|
+
\ </add_ons>\n</subscription>\n"
|
499
|
+
http_version: '1.1'
|
500
|
+
- !ruby/struct:VCR::HTTPInteraction
|
501
|
+
request: !ruby/struct:VCR::Request
|
502
|
+
method: :get
|
503
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
|
504
|
+
body: !!null
|
505
|
+
headers:
|
506
|
+
user-agent:
|
507
|
+
- Recurly Ruby Client v0.4.10
|
508
|
+
accept:
|
509
|
+
- application/xml
|
510
|
+
accept-encoding:
|
511
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
512
|
+
response: !ruby/struct:VCR::Response
|
513
|
+
status: !ruby/struct:VCR::ResponseStatus
|
514
|
+
code: 200
|
515
|
+
message: OK
|
516
|
+
headers:
|
517
|
+
content-type:
|
518
|
+
- application/xml; charset=utf-8
|
519
|
+
etag:
|
520
|
+
- ! '"30df1bac5befaf2f9fc4564c2103a07b"'
|
521
|
+
cache-control:
|
522
|
+
- max-age=0, private, must-revalidate
|
523
|
+
x-ua-compatible:
|
524
|
+
- IE=Edge
|
525
|
+
set-cookie:
|
526
|
+
- _recurly_session=9be129dfbc714ae10b77bb15f0a40464; domain=.lvh.me; path=/;
|
527
|
+
HttpOnly
|
528
|
+
server:
|
529
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
530
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
|
531
|
+
\ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
|
532
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
533
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
|
534
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
535
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
536
|
+
type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
537
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
|
538
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
539
|
+
type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
|
540
|
+
\ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
|
541
|
+
\ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
|
542
|
+
\ </add_on>\n </add_ons>\n</plan>\n"
|
543
|
+
http_version: '1.1'
|
544
|
+
- !ruby/struct:VCR::HTTPInteraction
|
545
|
+
request: !ruby/struct:VCR::Request
|
546
|
+
method: :post
|
547
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-2-1313708721/subscription.xml
|
548
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
|
549
|
+
\ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-2-1313708721</account-code>\n
|
550
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
551
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
|
552
|
+
\ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
|
553
|
+
\ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
|
554
|
+
\ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
|
555
|
+
\ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
|
556
|
+
\ <verification-value>123</verification-value>\n </credit-card>\n
|
557
|
+
\ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
|
558
|
+
\ <id>account-list-num-2-1313708721</id>\n <username nil=\"true\"></username>\n
|
559
|
+
\ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
|
560
|
+
\ <hosted-login-token>4be2f79bbb6c4c48b3c9e6013afb63f6</hosted-login-token>\n
|
561
|
+
\ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
|
562
|
+
\ </account>\n <addons type=\"array\"/>\n</subscription>\n"
|
563
|
+
headers:
|
564
|
+
user-agent:
|
565
|
+
- Recurly Ruby Client v0.4.10
|
566
|
+
content-type:
|
567
|
+
- application/xml
|
568
|
+
response: !ruby/struct:VCR::Response
|
569
|
+
status: !ruby/struct:VCR::ResponseStatus
|
570
|
+
code: 201
|
571
|
+
message: Created
|
572
|
+
headers:
|
573
|
+
content-type:
|
574
|
+
- application/xml; charset=utf-8
|
575
|
+
cache-control:
|
576
|
+
- no-cache
|
577
|
+
x-ua-compatible:
|
578
|
+
- IE=Edge
|
579
|
+
set-cookie:
|
580
|
+
- _recurly_session=b3443f60b780685f48061e3f3145617e; domain=.lvh.me; path=/;
|
581
|
+
HttpOnly
|
582
|
+
server:
|
583
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
584
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-2-1313708721</id>\n
|
585
|
+
\ <account_code>account-list-num-2-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
|
586
|
+
\ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
|
587
|
+
type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
|
588
|
+
\ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
|
589
|
+
type=\"datetime\">2011-08-19T20:00:59Z</activated_at>\n <canceled_at nil=\"true\"
|
590
|
+
type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
|
591
|
+
\ <current_period_started_at type=\"datetime\">2011-08-19T20:00:59Z</current_period_started_at>\n
|
592
|
+
\ <current_period_ends_at type=\"datetime\">2011-09-19T20:00:59Z</current_period_ends_at>\n
|
593
|
+
\ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
|
594
|
+
nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
|
595
|
+
\ </add_ons>\n</subscription>\n"
|
596
|
+
http_version: '1.1'
|
597
|
+
- !ruby/struct:VCR::HTTPInteraction
|
598
|
+
request: !ruby/struct:VCR::Request
|
599
|
+
method: :get
|
600
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/site/plans/paid.xml
|
601
|
+
body: !!null
|
602
|
+
headers:
|
603
|
+
user-agent:
|
604
|
+
- Recurly Ruby Client v0.4.10
|
605
|
+
accept:
|
606
|
+
- application/xml
|
607
|
+
accept-encoding:
|
608
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
609
|
+
response: !ruby/struct:VCR::Response
|
610
|
+
status: !ruby/struct:VCR::ResponseStatus
|
611
|
+
code: 200
|
612
|
+
message: OK
|
613
|
+
headers:
|
614
|
+
content-type:
|
615
|
+
- application/xml; charset=utf-8
|
616
|
+
etag:
|
617
|
+
- ! '"30df1bac5befaf2f9fc4564c2103a07b"'
|
618
|
+
cache-control:
|
619
|
+
- max-age=0, private, must-revalidate
|
620
|
+
x-ua-compatible:
|
621
|
+
- IE=Edge
|
622
|
+
set-cookie:
|
623
|
+
- _recurly_session=434a49c82e5cb1d35848b9269a55fd3c; domain=.lvh.me; path=/;
|
624
|
+
HttpOnly
|
625
|
+
server:
|
626
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
627
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plan>\n <plan_code>paid</plan_code>\n
|
628
|
+
\ <name>Paid Plan</name>\n <description></description>\n <success_url></success_url>\n
|
629
|
+
\ <cancel_url></cancel_url>\n <created_at type=\"datetime\">2011-08-02T14:08:28Z</created_at>\n
|
630
|
+
\ <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n <setup_fee_in_cents
|
631
|
+
type=\"integer\">0</setup_fee_in_cents>\n <plan_interval_length type=\"integer\">1</plan_interval_length>\n
|
632
|
+
\ <plan_interval_unit>months</plan_interval_unit>\n <trial_interval_length
|
633
|
+
type=\"integer\">0</trial_interval_length>\n <trial_interval_unit>days</trial_interval_unit>\n
|
634
|
+
\ <add_ons type=\"array\">\n <add_on>\n <add_on_code>special</add_on_code>\n
|
635
|
+
\ <default_quantity type=\"integer\">1</default_quantity>\n <default_unit_amount_in_cents
|
636
|
+
type=\"integer\">400</default_unit_amount_in_cents>\n </add_on>\n <add_on>\n
|
637
|
+
\ <add_on_code>special2</add_on_code>\n <default_quantity type=\"integer\">1</default_quantity>\n
|
638
|
+
\ <default_unit_amount_in_cents type=\"integer\">1600</default_unit_amount_in_cents>\n
|
639
|
+
\ </add_on>\n </add_ons>\n</plan>\n"
|
640
|
+
http_version: '1.1'
|
641
|
+
- !ruby/struct:VCR::HTTPInteraction
|
642
|
+
request: !ruby/struct:VCR::Request
|
643
|
+
method: :post
|
644
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts/account-list-num-3-1313708721/subscription.xml
|
645
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <plan-code>paid</plan-code>\n
|
646
|
+
\ <quantity type=\"integer\">1</quantity>\n <account>\n <account-code>account-list-num-3-1313708721</account-code>\n
|
647
|
+
\ <first-name>Verena</first-name>\n <last-name>Test</last-name>\n <email>verena@test.com</email>\n
|
648
|
+
\ <company-name>Recurly Ruby Gem</company-name>\n <billing-info>\n <first-name>Verena</first-name>\n
|
649
|
+
\ <last-name>Test</last-name>\n <address1>123 Test St</address1>\n
|
650
|
+
\ <city>San Francisco</city>\n <state>CA</state>\n <zip>94115</zip>\n
|
651
|
+
\ <country>US</country>\n <credit-card>\n <number>4111111111111111</number>\n
|
652
|
+
\ <year type=\"integer\">2012</year>\n <month type=\"integer\">8</month>\n
|
653
|
+
\ <verification-value>123</verification-value>\n </credit-card>\n
|
654
|
+
\ </billing-info>\n <accept-language nil=\"true\"></accept-language>\n
|
655
|
+
\ <id>account-list-num-3-1313708721</id>\n <username nil=\"true\"></username>\n
|
656
|
+
\ <balance-in-cents type=\"integer\">0</balance-in-cents>\n <closed type=\"boolean\">false</closed>\n
|
657
|
+
\ <hosted-login-token>af0b66ea61f74ce387554058b832e348</hosted-login-token>\n
|
658
|
+
\ <created-at type=\"datetime\">2011-08-19T20:00:33Z</created-at>\n <state>active</state>\n
|
659
|
+
\ </account>\n <addons type=\"array\"/>\n</subscription>\n"
|
660
|
+
headers:
|
661
|
+
user-agent:
|
662
|
+
- Recurly Ruby Client v0.4.10
|
663
|
+
content-type:
|
664
|
+
- application/xml
|
665
|
+
response: !ruby/struct:VCR::Response
|
666
|
+
status: !ruby/struct:VCR::ResponseStatus
|
667
|
+
code: 201
|
668
|
+
message: Created
|
669
|
+
headers:
|
670
|
+
content-type:
|
671
|
+
- application/xml; charset=utf-8
|
672
|
+
cache-control:
|
673
|
+
- no-cache
|
674
|
+
x-ua-compatible:
|
675
|
+
- IE=Edge
|
676
|
+
set-cookie:
|
677
|
+
- _recurly_session=fd7e8a835a9d67a268a29fb069488729; domain=.lvh.me; path=/;
|
678
|
+
HttpOnly
|
679
|
+
server:
|
680
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
681
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<subscription>\n <id>account-list-num-3-1313708721</id>\n
|
682
|
+
\ <account_code>account-list-num-3-1313708721</account_code>\n <plan>\n <plan_code>paid</plan_code>\n
|
683
|
+
\ <name>Paid Plan</name>\n </plan>\n <state>active</state>\n <quantity
|
684
|
+
type=\"integer\">1</quantity>\n <unit_amount_in_cents type=\"integer\">1200</unit_amount_in_cents>\n
|
685
|
+
\ <total_amount_in_cents type=\"integer\">1200</total_amount_in_cents>\n <activated_at
|
686
|
+
type=\"datetime\">2011-08-19T20:01:03Z</activated_at>\n <canceled_at nil=\"true\"
|
687
|
+
type=\"datetime\"></canceled_at>\n <expires_at nil=\"true\" type=\"datetime\"></expires_at>\n
|
688
|
+
\ <current_period_started_at type=\"datetime\">2011-08-19T20:01:03Z</current_period_started_at>\n
|
689
|
+
\ <current_period_ends_at type=\"datetime\">2011-09-19T20:01:03Z</current_period_ends_at>\n
|
690
|
+
\ <trial_started_at nil=\"true\" type=\"datetime\"></trial_started_at>\n <trial_ends_at
|
691
|
+
nil=\"true\" type=\"datetime\"></trial_ends_at>\n <add_ons type=\"array\">\n
|
692
|
+
\ </add_ons>\n</subscription>\n"
|
693
|
+
http_version: '1.1'
|
694
|
+
- !ruby/struct:VCR::HTTPInteraction
|
695
|
+
request: !ruby/struct:VCR::Request
|
696
|
+
method: :get
|
697
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml
|
698
|
+
body: !!null
|
699
|
+
headers:
|
700
|
+
user-agent:
|
701
|
+
- Recurly Ruby Client v0.4.10
|
702
|
+
accept:
|
703
|
+
- application/xml
|
704
|
+
accept-encoding:
|
705
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
706
|
+
response: !ruby/struct:VCR::Response
|
707
|
+
status: !ruby/struct:VCR::ResponseStatus
|
708
|
+
code: 200
|
709
|
+
message: OK
|
710
|
+
headers:
|
711
|
+
content-type:
|
712
|
+
- application/xml; charset=utf-8
|
713
|
+
etag:
|
714
|
+
- ! '"5936b2c577dee7cfed54da4040a5097e"'
|
715
|
+
cache-control:
|
716
|
+
- max-age=0, private, must-revalidate
|
717
|
+
x-ua-compatible:
|
718
|
+
- IE=Edge
|
719
|
+
set-cookie:
|
720
|
+
- _recurly_session=a55116bc21d975a6b2b94beb972ee48c; domain=.lvh.me; path=/;
|
721
|
+
HttpOnly
|
722
|
+
server:
|
723
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
724
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
|
725
|
+
\ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
|
726
|
+
\ <total_entries type=\"integer\">11</total_entries>\n <account>\n <account_code>account-create-1313708721</account_code>\n
|
727
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
728
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
729
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
730
|
+
\ <account>\n <account_code>account-get-1313708721</account_code>\n <username></username>\n
|
731
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
732
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
733
|
+
\ </account>\n <account>\n <account_code>account-list-num-0-1313708721</account_code>\n
|
734
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
735
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
736
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
737
|
+
\ <account>\n <account_code>account-list-num-1-1313708721</account_code>\n
|
738
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
739
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
740
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
741
|
+
\ <account>\n <account_code>account-list-num-2-1313708721</account_code>\n
|
742
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
743
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
744
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
745
|
+
\ <account>\n <account_code>account-list-num-3-1313708721</account_code>\n
|
746
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
747
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
748
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
749
|
+
\ <account>\n <account_code>account-list-num-4-1313708721</account_code>\n
|
750
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
751
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
752
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
753
|
+
\ <account>\n <account_code>account-list-num-5-1313708721</account_code>\n
|
754
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
755
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
756
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
757
|
+
\ <account>\n <account_code>account-list-num-6-1313708721</account_code>\n
|
758
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
759
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
760
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
761
|
+
\ <account>\n <account_code>account-list-num-7-1313708721</account_code>\n
|
762
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
763
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
764
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
765
|
+
\ <account>\n <account_code>d00d-1313708721</account_code>\n <username></username>\n
|
766
|
+
\ <email></email>\n <first_name></first_name>\n <last_name></last_name>\n
|
767
|
+
\ <company_name></company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
768
|
+
\ </account>\n</accounts>\n"
|
769
|
+
http_version: '1.1'
|
770
|
+
- !ruby/struct:VCR::HTTPInteraction
|
771
|
+
request: !ruby/struct:VCR::Request
|
772
|
+
method: :get
|
773
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml?show=active_subscribers
|
774
|
+
body: !!null
|
775
|
+
headers:
|
776
|
+
user-agent:
|
777
|
+
- Recurly Ruby Client v0.4.10
|
778
|
+
accept:
|
779
|
+
- application/xml
|
780
|
+
accept-encoding:
|
781
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
782
|
+
response: !ruby/struct:VCR::Response
|
783
|
+
status: !ruby/struct:VCR::ResponseStatus
|
784
|
+
code: 200
|
785
|
+
message: OK
|
786
|
+
headers:
|
787
|
+
content-type:
|
788
|
+
- application/xml; charset=utf-8
|
789
|
+
etag:
|
790
|
+
- ! '"cd71abe0bebbfcf74311c85546fde64d"'
|
791
|
+
cache-control:
|
792
|
+
- max-age=0, private, must-revalidate
|
793
|
+
x-ua-compatible:
|
794
|
+
- IE=Edge
|
795
|
+
set-cookie:
|
796
|
+
- _recurly_session=165fe3f70aa25f738080c19e4a4e8f5c; domain=.lvh.me; path=/;
|
797
|
+
HttpOnly
|
798
|
+
server:
|
799
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
800
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
|
801
|
+
\ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
|
802
|
+
\ <total_entries type=\"integer\">4</total_entries>\n <account>\n <account_code>account-list-num-0-1313708721</account_code>\n
|
803
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
804
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
805
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
806
|
+
\ <account>\n <account_code>account-list-num-1-1313708721</account_code>\n
|
807
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
808
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
809
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
810
|
+
\ <account>\n <account_code>account-list-num-2-1313708721</account_code>\n
|
811
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
812
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
813
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
814
|
+
\ <account>\n <account_code>account-list-num-3-1313708721</account_code>\n
|
815
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
816
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
817
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n</accounts>\n"
|
818
|
+
http_version: '1.1'
|
819
|
+
- !ruby/struct:VCR::HTTPInteraction
|
820
|
+
request: !ruby/struct:VCR::Request
|
821
|
+
method: :get
|
822
|
+
uri: http://api-test%40facebook-test.com:69d95a9768c745ecb5ac6864032ec970@app.lvh.me:3000/accounts.xml?show=non_subscribers
|
823
|
+
body: !!null
|
824
|
+
headers:
|
825
|
+
user-agent:
|
826
|
+
- Recurly Ruby Client v0.4.10
|
827
|
+
accept:
|
828
|
+
- application/xml
|
829
|
+
accept-encoding:
|
830
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
831
|
+
response: !ruby/struct:VCR::Response
|
832
|
+
status: !ruby/struct:VCR::ResponseStatus
|
833
|
+
code: 200
|
834
|
+
message: OK
|
835
|
+
headers:
|
836
|
+
content-type:
|
837
|
+
- application/xml; charset=utf-8
|
838
|
+
etag:
|
839
|
+
- ! '"c9a3579b86e3ce686c3b34b8fe87f87d"'
|
840
|
+
cache-control:
|
841
|
+
- max-age=0, private, must-revalidate
|
842
|
+
x-ua-compatible:
|
843
|
+
- IE=Edge
|
844
|
+
set-cookie:
|
845
|
+
- _recurly_session=ea4d76ad357a50b53501fe2a8f59e6e9; domain=.lvh.me; path=/;
|
846
|
+
HttpOnly
|
847
|
+
server:
|
848
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
849
|
+
body: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<accounts type=\"collection\">\n
|
850
|
+
\ <current_page type=\"integer\">1</current_page>\n <per_page type=\"integer\">20</per_page>\n
|
851
|
+
\ <total_entries type=\"integer\">7</total_entries>\n <account>\n <account_code>account-create-1313708721</account_code>\n
|
852
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
853
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
854
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
855
|
+
\ <account>\n <account_code>account-get-1313708721</account_code>\n <username></username>\n
|
856
|
+
\ <email>verena@test.com</email>\n <first_name>Verena</first_name>\n <last_name>Test</last_name>\n
|
857
|
+
\ <company_name>Recurly Ruby Gem</company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
858
|
+
\ </account>\n <account>\n <account_code>account-list-num-4-1313708721</account_code>\n
|
859
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
860
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
861
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
862
|
+
\ <account>\n <account_code>account-list-num-5-1313708721</account_code>\n
|
863
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
864
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
865
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
866
|
+
\ <account>\n <account_code>account-list-num-6-1313708721</account_code>\n
|
867
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
868
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
869
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
870
|
+
\ <account>\n <account_code>account-list-num-7-1313708721</account_code>\n
|
871
|
+
\ <username></username>\n <email>verena@test.com</email>\n <first_name>Verena</first_name>\n
|
872
|
+
\ <last_name>Test</last_name>\n <company_name>Recurly Ruby Gem</company_name>\n
|
873
|
+
\ <balance_in_cents type=\"integer\">0</balance_in_cents>\n </account>\n
|
874
|
+
\ <account>\n <account_code>d00d-1313708721</account_code>\n <username></username>\n
|
875
|
+
\ <email></email>\n <first_name></first_name>\n <last_name></last_name>\n
|
876
|
+
\ <company_name></company_name>\n <balance_in_cents type=\"integer\">0</balance_in_cents>\n
|
877
|
+
\ </account>\n</accounts>\n"
|
878
|
+
http_version: '1.1'
|