recurly 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/README.md +4 -8
- data/lib/recurly.rb +10 -19
- data/lib/recurly/config_parser.rb +5 -2
- data/lib/recurly/plan.rb +0 -1
- data/lib/recurly/rails3/recurly.rake +10 -26
- data/lib/recurly/transparent.rb +2 -0
- data/lib/recurly/verification.rb +14 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +3 -3
- data/spec/config/test1.yml +1 -3
- data/spec/config/test2.yml +2 -6
- data/spec/unit/config_spec.rb +9 -16
- data/spec/unit/transparent_spec.rb +0 -20
- data/spec/unit/verification_spec.rb +15 -9
- data/spec/vcr/account/accept-language-account/1313708721.yml +52 -31
- data/spec/vcr/account/close/1313708721.yml +107 -79
- data/spec/vcr/account/create-blank/1313708721.yml +37 -26
- data/spec/vcr/account/create-duplicate/1313708721.yml +83 -54
- data/spec/vcr/account/create-min/1313708721.yml +48 -30
- data/spec/vcr/account/create/1313708721.yml +52 -31
- data/spec/vcr/account/find/1313708721.yml +111 -81
- data/spec/vcr/account/list/1313708721.yml +1148 -719
- data/spec/vcr/account/update/1313708721.yml +182 -124
- data/spec/vcr/billing/create/1313708721.yml +156 -93
- data/spec/vcr/billing/destroy/1313708721.yml +198 -135
- data/spec/vcr/billing/errors/1313708721.yml +91 -56
- data/spec/vcr/billing/find/1313708721.yml +200 -122
- data/spec/vcr/billing/update/1313708721.yml +218 -126
- data/spec/vcr/charge/create/1313708721.yml +189 -120
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +195 -154
- data/spec/vcr/charge/list-all/1313708721.yml +235 -157
- data/spec/vcr/charge/list-invoiced/1313708721.yml +351 -234
- data/spec/vcr/charge/list-pending/1313708721.yml +235 -159
- data/spec/vcr/charge/lookup/1313708721.yml +127 -87
- data/spec/vcr/coupon/create/1296774903.yml +83 -95
- data/spec/vcr/coupon/destroy/1296774903.yml +81 -115
- data/spec/vcr/credit/create/1313708090.yml +127 -87
- data/spec/vcr/credit/delete/1313708090.yml +169 -129
- data/spec/vcr/credit/list/1313708090.yml +235 -157
- data/spec/vcr/credit/lookup/1313708090.yml +127 -87
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +140 -89
- data/spec/vcr/invoice/create/1296674173.yml +259 -162
- data/spec/vcr/invoice/list/1296674173.yml +342 -227
- data/spec/vcr/invoice/lookup/1296674173.yml +260 -167
- data/spec/vcr/plan/all.yml +206 -198
- data/spec/vcr/plan/find.yml +109 -103
- data/spec/vcr/plan/update.yml +126 -93
- data/spec/vcr/subscription/addons/add/1296674173.yml +156 -261
- data/spec/vcr/subscription/addons/create/1296674173.yml +156 -164
- data/spec/vcr/subscription/addons/remove/1296674173.yml +156 -249
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +340 -243
- data/spec/vcr/subscription/cancel/1296674173.yml +297 -210
- data/spec/vcr/subscription/change1/1296674173.yml +303 -213
- data/spec/vcr/subscription/change2/1296674173.yml +303 -214
- data/spec/vcr/subscription/create/1296674173.yml +167 -111
- data/spec/vcr/subscription/find/1296674173.yml +210 -145
- data/spec/vcr/subscription/reactivate/1296674173.yml +318 -233
- data/spec/vcr/subscription/refund-full/1296674173.yml +277 -199
- data/spec/vcr/subscription/refund-none/1296674173.yml +277 -199
- data/spec/vcr/subscription/refund-partial/1296674173.yml +277 -199
- data/spec/vcr/transaction/all/1311126815.yml +388 -206
- data/spec/vcr/transaction/create-no-account/1311126815.yml +74 -43
- data/spec/vcr/transaction/create-with-account/1311126815.yml +172 -101
- data/spec/vcr/transaction/list-filled/1311126815.yml +486 -291
- data/spec/vcr/transaction/list-initial/1311126815.yml +159 -98
- data/spec/vcr/transaction/lookup/1311126815.yml +420 -268
- data/spec/vcr/transaction/void/1311126815.yml +280 -174
- metadata +109 -77
- data/spec/vcr/transaction/refund/1311126815.yml +0 -163
- data/spec/vcr/transparent/post-url/1311239470.yml +0 -76
|
@@ -1,38 +1,56 @@
|
|
|
1
|
-
---
|
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
-
request: !ruby/struct:VCR::Request
|
|
1
|
+
---
|
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
+
request: !ruby/struct:VCR::Request
|
|
4
4
|
method: :post
|
|
5
|
-
uri: http://api
|
|
6
|
-
body:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
6
|
+
body: |
|
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
|
+
<account>
|
|
9
|
+
<account-code>d00d-1313708721</account-code>
|
|
10
|
+
<billing-info>
|
|
11
|
+
<credit-card>
|
|
12
|
+
</credit-card>
|
|
13
|
+
</billing-info>
|
|
14
|
+
<accept-language nil="true"></accept-language>
|
|
15
|
+
</account>
|
|
16
|
+
|
|
17
|
+
headers:
|
|
18
|
+
user-agent:
|
|
19
|
+
- Recurly Ruby Client v0.4.13
|
|
20
|
+
content-type:
|
|
13
21
|
- application/xml
|
|
14
|
-
response: !ruby/struct:VCR::Response
|
|
15
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
22
|
+
response: !ruby/struct:VCR::Response
|
|
23
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
16
24
|
code: 201
|
|
17
25
|
message: Created
|
|
18
|
-
headers:
|
|
19
|
-
location:
|
|
20
|
-
- http://
|
|
21
|
-
content-type:
|
|
26
|
+
headers:
|
|
27
|
+
location:
|
|
28
|
+
- http://api.lvh.me:3000/accounts/d00d-1313708721
|
|
29
|
+
content-type:
|
|
22
30
|
- application/xml; charset=utf-8
|
|
23
|
-
cache-control:
|
|
31
|
+
cache-control:
|
|
24
32
|
- no-cache
|
|
25
|
-
x-ua-compatible:
|
|
33
|
+
x-ua-compatible:
|
|
26
34
|
- IE=Edge
|
|
27
|
-
set-cookie:
|
|
28
|
-
- _recurly_session=
|
|
29
|
-
|
|
30
|
-
server:
|
|
35
|
+
set-cookie:
|
|
36
|
+
- _recurly_session=3fbc7cd03238c551d3728137f7c7ea80; domain=.lvh.me; path=/; HttpOnly
|
|
37
|
+
server:
|
|
31
38
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
32
|
-
body:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
body: |
|
|
40
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
41
|
+
<account>
|
|
42
|
+
<id>d00d-1313708721</id>
|
|
43
|
+
<account_code>d00d-1313708721</account_code>
|
|
44
|
+
<username></username>
|
|
45
|
+
<email></email>
|
|
46
|
+
<first_name></first_name>
|
|
47
|
+
<last_name></last_name>
|
|
48
|
+
<company_name></company_name>
|
|
49
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
50
|
+
<closed type="boolean">false</closed>
|
|
51
|
+
<hosted_login_token>c4aba8dc864d490b8e1a704fb9903646</hosted_login_token>
|
|
52
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
53
|
+
<state>active</state>
|
|
54
|
+
</account>
|
|
55
|
+
|
|
56
|
+
http_version: "1.1"
|
|
@@ -1,39 +1,60 @@
|
|
|
1
|
-
---
|
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
-
request: !ruby/struct:VCR::Request
|
|
1
|
+
---
|
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
+
request: !ruby/struct:VCR::Request
|
|
4
4
|
method: :post
|
|
5
|
-
uri: http://api
|
|
6
|
-
body:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
6
|
+
body: |
|
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
|
+
<account>
|
|
9
|
+
<account-code>account-create-1313708721</account-code>
|
|
10
|
+
<first-name>Verena</first-name>
|
|
11
|
+
<last-name>Test</last-name>
|
|
12
|
+
<email>verena@test.com</email>
|
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
14
|
+
<billing-info>
|
|
15
|
+
<credit-card>
|
|
16
|
+
</credit-card>
|
|
17
|
+
</billing-info>
|
|
18
|
+
<accept-language nil="true"></accept-language>
|
|
19
|
+
</account>
|
|
20
|
+
|
|
21
|
+
headers:
|
|
22
|
+
user-agent:
|
|
23
|
+
- Recurly Ruby Client v0.4.13
|
|
24
|
+
content-type:
|
|
14
25
|
- application/xml
|
|
15
|
-
response: !ruby/struct:VCR::Response
|
|
16
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
26
|
+
response: !ruby/struct:VCR::Response
|
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
17
28
|
code: 201
|
|
18
29
|
message: Created
|
|
19
|
-
headers:
|
|
20
|
-
location:
|
|
21
|
-
- http://
|
|
22
|
-
content-type:
|
|
30
|
+
headers:
|
|
31
|
+
location:
|
|
32
|
+
- http://api.lvh.me:3000/accounts/account-create-1313708721
|
|
33
|
+
content-type:
|
|
23
34
|
- application/xml; charset=utf-8
|
|
24
|
-
cache-control:
|
|
35
|
+
cache-control:
|
|
25
36
|
- no-cache
|
|
26
|
-
x-ua-compatible:
|
|
37
|
+
x-ua-compatible:
|
|
27
38
|
- IE=Edge
|
|
28
|
-
set-cookie:
|
|
29
|
-
- _recurly_session=
|
|
30
|
-
|
|
31
|
-
server:
|
|
39
|
+
set-cookie:
|
|
40
|
+
- _recurly_session=67995abdf7eccd756ac771c92c93ad16; domain=.lvh.me; path=/; HttpOnly
|
|
41
|
+
server:
|
|
32
42
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
33
|
-
body:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
body: |
|
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
45
|
+
<account>
|
|
46
|
+
<id>account-create-1313708721</id>
|
|
47
|
+
<account_code>account-create-1313708721</account_code>
|
|
48
|
+
<username></username>
|
|
49
|
+
<email>verena@test.com</email>
|
|
50
|
+
<first_name>Verena</first_name>
|
|
51
|
+
<last_name>Test</last_name>
|
|
52
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
53
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
54
|
+
<closed type="boolean">false</closed>
|
|
55
|
+
<hosted_login_token>056da8b68c7247449414f1b2bc634168</hosted_login_token>
|
|
56
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
57
|
+
<state>active</state>
|
|
58
|
+
</account>
|
|
59
|
+
|
|
60
|
+
http_version: "1.1"
|
|
@@ -1,107 +1,137 @@
|
|
|
1
|
-
---
|
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
-
request: !ruby/struct:VCR::Request
|
|
1
|
+
---
|
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
+
request: !ruby/struct:VCR::Request
|
|
4
4
|
method: :post
|
|
5
|
-
uri: http://api
|
|
6
|
-
body:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
6
|
+
body: |
|
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
|
+
<account>
|
|
9
|
+
<account-code>account-get-1313708721</account-code>
|
|
10
|
+
<first-name>Verena</first-name>
|
|
11
|
+
<last-name>Test</last-name>
|
|
12
|
+
<email>verena@test.com</email>
|
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
14
|
+
<billing-info>
|
|
15
|
+
<credit-card>
|
|
16
|
+
</credit-card>
|
|
17
|
+
</billing-info>
|
|
18
|
+
<accept-language nil="true"></accept-language>
|
|
19
|
+
</account>
|
|
20
|
+
|
|
21
|
+
headers:
|
|
22
|
+
user-agent:
|
|
23
|
+
- Recurly Ruby Client v0.4.13
|
|
24
|
+
content-type:
|
|
14
25
|
- application/xml
|
|
15
|
-
response: !ruby/struct:VCR::Response
|
|
16
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
26
|
+
response: !ruby/struct:VCR::Response
|
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
17
28
|
code: 201
|
|
18
29
|
message: Created
|
|
19
|
-
headers:
|
|
20
|
-
location:
|
|
21
|
-
- http://
|
|
22
|
-
content-type:
|
|
30
|
+
headers:
|
|
31
|
+
location:
|
|
32
|
+
- http://api.lvh.me:3000/accounts/account-get-1313708721
|
|
33
|
+
content-type:
|
|
23
34
|
- application/xml; charset=utf-8
|
|
24
|
-
cache-control:
|
|
35
|
+
cache-control:
|
|
25
36
|
- no-cache
|
|
26
|
-
x-ua-compatible:
|
|
37
|
+
x-ua-compatible:
|
|
27
38
|
- IE=Edge
|
|
28
|
-
set-cookie:
|
|
29
|
-
- _recurly_session=
|
|
30
|
-
|
|
31
|
-
server:
|
|
39
|
+
set-cookie:
|
|
40
|
+
- _recurly_session=db545fe55c56b120ab7d5c976ef1135f; domain=.lvh.me; path=/; HttpOnly
|
|
41
|
+
server:
|
|
32
42
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
33
|
-
body:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
body: |
|
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
45
|
+
<account>
|
|
46
|
+
<id>account-get-1313708721</id>
|
|
47
|
+
<account_code>account-get-1313708721</account_code>
|
|
48
|
+
<username></username>
|
|
49
|
+
<email>verena@test.com</email>
|
|
50
|
+
<first_name>Verena</first_name>
|
|
51
|
+
<last_name>Test</last_name>
|
|
52
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
53
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
54
|
+
<closed type="boolean">false</closed>
|
|
55
|
+
<hosted_login_token>572e1b9670a9498a83e7f1447a9f187e</hosted_login_token>
|
|
56
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
57
|
+
<state>active</state>
|
|
58
|
+
</account>
|
|
59
|
+
|
|
60
|
+
http_version: "1.1"
|
|
61
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
62
|
+
request: !ruby/struct:VCR::Request
|
|
42
63
|
method: :get
|
|
43
|
-
uri: http://api
|
|
44
|
-
body:
|
|
45
|
-
headers:
|
|
46
|
-
user-agent:
|
|
47
|
-
- Recurly Ruby Client v0.4.
|
|
48
|
-
accept:
|
|
64
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-get-1313708721.xml
|
|
65
|
+
body:
|
|
66
|
+
headers:
|
|
67
|
+
user-agent:
|
|
68
|
+
- Recurly Ruby Client v0.4.13
|
|
69
|
+
accept:
|
|
49
70
|
- application/xml
|
|
50
|
-
accept-encoding:
|
|
71
|
+
accept-encoding:
|
|
51
72
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
52
|
-
response: !ruby/struct:VCR::Response
|
|
53
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
73
|
+
response: !ruby/struct:VCR::Response
|
|
74
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
54
75
|
code: 200
|
|
55
76
|
message: OK
|
|
56
|
-
headers:
|
|
57
|
-
content-type:
|
|
77
|
+
headers:
|
|
78
|
+
content-type:
|
|
58
79
|
- application/xml; charset=utf-8
|
|
59
|
-
etag:
|
|
60
|
-
-
|
|
61
|
-
cache-control:
|
|
80
|
+
etag:
|
|
81
|
+
- "\"b891fe3135ba5d95bfd26fe446e306fb\""
|
|
82
|
+
cache-control:
|
|
62
83
|
- max-age=0, private, must-revalidate
|
|
63
|
-
x-ua-compatible:
|
|
84
|
+
x-ua-compatible:
|
|
64
85
|
- IE=Edge
|
|
65
|
-
|
|
66
|
-
- _recurly_session=41325195fb2b11f70e856e595fd85490; domain=.lvh.me; path=/;
|
|
67
|
-
HttpOnly
|
|
68
|
-
server:
|
|
86
|
+
server:
|
|
69
87
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
70
|
-
body:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
88
|
+
body: |
|
|
89
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
90
|
+
<account>
|
|
91
|
+
<id>account-get-1313708721</id>
|
|
92
|
+
<account_code>account-get-1313708721</account_code>
|
|
93
|
+
<username></username>
|
|
94
|
+
<email>verena@test.com</email>
|
|
95
|
+
<first_name>Verena</first_name>
|
|
96
|
+
<last_name>Test</last_name>
|
|
97
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
98
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
99
|
+
<closed type="boolean">false</closed>
|
|
100
|
+
<hosted_login_token>572e1b9670a9498a83e7f1447a9f187e</hosted_login_token>
|
|
101
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
102
|
+
<state>active</state>
|
|
103
|
+
</account>
|
|
104
|
+
|
|
105
|
+
http_version: "1.1"
|
|
106
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
107
|
+
request: !ruby/struct:VCR::Request
|
|
79
108
|
method: :get
|
|
80
|
-
uri: http://api
|
|
81
|
-
body:
|
|
82
|
-
headers:
|
|
83
|
-
user-agent:
|
|
84
|
-
- Recurly Ruby Client v0.4.
|
|
85
|
-
accept:
|
|
109
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-that-doesnt-exist.xml
|
|
110
|
+
body:
|
|
111
|
+
headers:
|
|
112
|
+
user-agent:
|
|
113
|
+
- Recurly Ruby Client v0.4.13
|
|
114
|
+
accept:
|
|
86
115
|
- application/xml
|
|
87
|
-
accept-encoding:
|
|
116
|
+
accept-encoding:
|
|
88
117
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
89
|
-
response: !ruby/struct:VCR::Response
|
|
90
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
118
|
+
response: !ruby/struct:VCR::Response
|
|
119
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
91
120
|
code: 404
|
|
92
121
|
message: Not Found
|
|
93
|
-
headers:
|
|
94
|
-
content-type:
|
|
122
|
+
headers:
|
|
123
|
+
content-type:
|
|
95
124
|
- application/xml; charset=utf-8
|
|
96
|
-
cache-control:
|
|
125
|
+
cache-control:
|
|
97
126
|
- no-cache
|
|
98
|
-
x-ua-compatible:
|
|
127
|
+
x-ua-compatible:
|
|
99
128
|
- IE=Edge
|
|
100
|
-
|
|
101
|
-
- _recurly_session=61f77585c7af4881109a8a369f2eb2ee; domain=.lvh.me; path=/;
|
|
102
|
-
HttpOnly
|
|
103
|
-
server:
|
|
129
|
+
server:
|
|
104
130
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
105
|
-
body:
|
|
106
|
-
|
|
107
|
-
|
|
131
|
+
body: |
|
|
132
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
133
|
+
<errors>
|
|
134
|
+
<error>Account not found</error>
|
|
135
|
+
</errors>
|
|
136
|
+
|
|
137
|
+
http_version: "1.1"
|
|
@@ -1,878 +1,1307 @@
|
|
|
1
|
-
---
|
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
-
request: !ruby/struct:VCR::Request
|
|
1
|
+
---
|
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
3
|
+
request: !ruby/struct:VCR::Request
|
|
4
4
|
method: :post
|
|
5
|
-
uri: http://api
|
|
6
|
-
body:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
6
|
+
body: |
|
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
|
+
<account>
|
|
9
|
+
<account-code>account-list-num-0-1313708721</account-code>
|
|
10
|
+
<first-name>Verena</first-name>
|
|
11
|
+
<last-name>Test</last-name>
|
|
12
|
+
<email>verena@test.com</email>
|
|
13
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
14
|
+
<billing-info>
|
|
15
|
+
<credit-card>
|
|
16
|
+
</credit-card>
|
|
17
|
+
</billing-info>
|
|
18
|
+
<accept-language nil="true"></accept-language>
|
|
19
|
+
</account>
|
|
20
|
+
|
|
21
|
+
headers:
|
|
22
|
+
user-agent:
|
|
23
|
+
- Recurly Ruby Client v0.4.13
|
|
24
|
+
content-type:
|
|
14
25
|
- application/xml
|
|
15
|
-
response: !ruby/struct:VCR::Response
|
|
16
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
26
|
+
response: !ruby/struct:VCR::Response
|
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
17
28
|
code: 201
|
|
18
29
|
message: Created
|
|
19
|
-
headers:
|
|
20
|
-
location:
|
|
21
|
-
- http://
|
|
22
|
-
content-type:
|
|
30
|
+
headers:
|
|
31
|
+
location:
|
|
32
|
+
- http://api.lvh.me:3000/accounts/account-list-num-0-1313708721
|
|
33
|
+
content-type:
|
|
23
34
|
- application/xml; charset=utf-8
|
|
24
|
-
cache-control:
|
|
35
|
+
cache-control:
|
|
25
36
|
- no-cache
|
|
26
|
-
x-ua-compatible:
|
|
37
|
+
x-ua-compatible:
|
|
27
38
|
- IE=Edge
|
|
28
|
-
set-cookie:
|
|
29
|
-
- _recurly_session=
|
|
30
|
-
|
|
31
|
-
server:
|
|
39
|
+
set-cookie:
|
|
40
|
+
- _recurly_session=902225e219f1b2ab572b4eddc046a953; domain=.lvh.me; path=/; HttpOnly
|
|
41
|
+
server:
|
|
32
42
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
33
|
-
body:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
body: |
|
|
44
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
45
|
+
<account>
|
|
46
|
+
<id>account-list-num-0-1313708721</id>
|
|
47
|
+
<account_code>account-list-num-0-1313708721</account_code>
|
|
48
|
+
<username></username>
|
|
49
|
+
<email>verena@test.com</email>
|
|
50
|
+
<first_name>Verena</first_name>
|
|
51
|
+
<last_name>Test</last_name>
|
|
52
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
53
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
54
|
+
<closed type="boolean">false</closed>
|
|
55
|
+
<hosted_login_token>2a302fcfe682451381919f3797df211f</hosted_login_token>
|
|
56
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
57
|
+
<state>active</state>
|
|
58
|
+
</account>
|
|
59
|
+
|
|
60
|
+
http_version: "1.1"
|
|
61
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
62
|
+
request: !ruby/struct:VCR::Request
|
|
42
63
|
method: :post
|
|
43
|
-
uri: http://api
|
|
44
|
-
body:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
64
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
65
|
+
body: |
|
|
66
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
67
|
+
<account>
|
|
68
|
+
<account-code>account-list-num-1-1313708721</account-code>
|
|
69
|
+
<first-name>Verena</first-name>
|
|
70
|
+
<last-name>Test</last-name>
|
|
71
|
+
<email>verena@test.com</email>
|
|
72
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
73
|
+
<billing-info>
|
|
74
|
+
<credit-card>
|
|
75
|
+
</credit-card>
|
|
76
|
+
</billing-info>
|
|
77
|
+
<accept-language nil="true"></accept-language>
|
|
78
|
+
</account>
|
|
79
|
+
|
|
80
|
+
headers:
|
|
81
|
+
user-agent:
|
|
82
|
+
- Recurly Ruby Client v0.4.13
|
|
83
|
+
content-type:
|
|
52
84
|
- application/xml
|
|
53
|
-
response: !ruby/struct:VCR::Response
|
|
54
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
85
|
+
response: !ruby/struct:VCR::Response
|
|
86
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
55
87
|
code: 201
|
|
56
88
|
message: Created
|
|
57
|
-
headers:
|
|
58
|
-
location:
|
|
59
|
-
- http://
|
|
60
|
-
content-type:
|
|
89
|
+
headers:
|
|
90
|
+
location:
|
|
91
|
+
- http://api.lvh.me:3000/accounts/account-list-num-1-1313708721
|
|
92
|
+
content-type:
|
|
61
93
|
- application/xml; charset=utf-8
|
|
62
|
-
cache-control:
|
|
94
|
+
cache-control:
|
|
63
95
|
- no-cache
|
|
64
|
-
x-ua-compatible:
|
|
96
|
+
x-ua-compatible:
|
|
65
97
|
- IE=Edge
|
|
66
|
-
set-cookie:
|
|
67
|
-
- _recurly_session=
|
|
68
|
-
|
|
69
|
-
server:
|
|
98
|
+
set-cookie:
|
|
99
|
+
- _recurly_session=ee0874d96af2d2e57dcbe1c25b291b53; domain=.lvh.me; path=/; HttpOnly
|
|
100
|
+
server:
|
|
70
101
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
71
|
-
body:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
102
|
+
body: |
|
|
103
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
104
|
+
<account>
|
|
105
|
+
<id>account-list-num-1-1313708721</id>
|
|
106
|
+
<account_code>account-list-num-1-1313708721</account_code>
|
|
107
|
+
<username></username>
|
|
108
|
+
<email>verena@test.com</email>
|
|
109
|
+
<first_name>Verena</first_name>
|
|
110
|
+
<last_name>Test</last_name>
|
|
111
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
112
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
113
|
+
<closed type="boolean">false</closed>
|
|
114
|
+
<hosted_login_token>d7c4f1f50bec43209243565f5a7f18e9</hosted_login_token>
|
|
115
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
116
|
+
<state>active</state>
|
|
117
|
+
</account>
|
|
118
|
+
|
|
119
|
+
http_version: "1.1"
|
|
120
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
121
|
+
request: !ruby/struct:VCR::Request
|
|
80
122
|
method: :post
|
|
81
|
-
uri: http://api
|
|
82
|
-
body:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
123
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
124
|
+
body: |
|
|
125
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
126
|
+
<account>
|
|
127
|
+
<account-code>account-list-num-2-1313708721</account-code>
|
|
128
|
+
<first-name>Verena</first-name>
|
|
129
|
+
<last-name>Test</last-name>
|
|
130
|
+
<email>verena@test.com</email>
|
|
131
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
132
|
+
<billing-info>
|
|
133
|
+
<credit-card>
|
|
134
|
+
</credit-card>
|
|
135
|
+
</billing-info>
|
|
136
|
+
<accept-language nil="true"></accept-language>
|
|
137
|
+
</account>
|
|
138
|
+
|
|
139
|
+
headers:
|
|
140
|
+
user-agent:
|
|
141
|
+
- Recurly Ruby Client v0.4.13
|
|
142
|
+
content-type:
|
|
90
143
|
- application/xml
|
|
91
|
-
response: !ruby/struct:VCR::Response
|
|
92
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
144
|
+
response: !ruby/struct:VCR::Response
|
|
145
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
93
146
|
code: 201
|
|
94
147
|
message: Created
|
|
95
|
-
headers:
|
|
96
|
-
location:
|
|
97
|
-
- http://
|
|
98
|
-
content-type:
|
|
148
|
+
headers:
|
|
149
|
+
location:
|
|
150
|
+
- http://api.lvh.me:3000/accounts/account-list-num-2-1313708721
|
|
151
|
+
content-type:
|
|
99
152
|
- application/xml; charset=utf-8
|
|
100
|
-
cache-control:
|
|
153
|
+
cache-control:
|
|
101
154
|
- no-cache
|
|
102
|
-
x-ua-compatible:
|
|
155
|
+
x-ua-compatible:
|
|
103
156
|
- IE=Edge
|
|
104
|
-
set-cookie:
|
|
105
|
-
- _recurly_session=
|
|
106
|
-
|
|
107
|
-
server:
|
|
157
|
+
set-cookie:
|
|
158
|
+
- _recurly_session=39b0cb906d17946245f915ab2946ba6d; domain=.lvh.me; path=/; HttpOnly
|
|
159
|
+
server:
|
|
108
160
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
109
|
-
body:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
161
|
+
body: |
|
|
162
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
163
|
+
<account>
|
|
164
|
+
<id>account-list-num-2-1313708721</id>
|
|
165
|
+
<account_code>account-list-num-2-1313708721</account_code>
|
|
166
|
+
<username></username>
|
|
167
|
+
<email>verena@test.com</email>
|
|
168
|
+
<first_name>Verena</first_name>
|
|
169
|
+
<last_name>Test</last_name>
|
|
170
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
171
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
172
|
+
<closed type="boolean">false</closed>
|
|
173
|
+
<hosted_login_token>4ec147f2ba6b4cffb98b8ace3573e081</hosted_login_token>
|
|
174
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
175
|
+
<state>active</state>
|
|
176
|
+
</account>
|
|
177
|
+
|
|
178
|
+
http_version: "1.1"
|
|
179
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
180
|
+
request: !ruby/struct:VCR::Request
|
|
118
181
|
method: :post
|
|
119
|
-
uri: http://api
|
|
120
|
-
body:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
182
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
183
|
+
body: |
|
|
184
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
185
|
+
<account>
|
|
186
|
+
<account-code>account-list-num-3-1313708721</account-code>
|
|
187
|
+
<first-name>Verena</first-name>
|
|
188
|
+
<last-name>Test</last-name>
|
|
189
|
+
<email>verena@test.com</email>
|
|
190
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
191
|
+
<billing-info>
|
|
192
|
+
<credit-card>
|
|
193
|
+
</credit-card>
|
|
194
|
+
</billing-info>
|
|
195
|
+
<accept-language nil="true"></accept-language>
|
|
196
|
+
</account>
|
|
197
|
+
|
|
198
|
+
headers:
|
|
199
|
+
user-agent:
|
|
200
|
+
- Recurly Ruby Client v0.4.13
|
|
201
|
+
content-type:
|
|
128
202
|
- application/xml
|
|
129
|
-
response: !ruby/struct:VCR::Response
|
|
130
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
203
|
+
response: !ruby/struct:VCR::Response
|
|
204
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
131
205
|
code: 201
|
|
132
206
|
message: Created
|
|
133
|
-
headers:
|
|
134
|
-
location:
|
|
135
|
-
- http://
|
|
136
|
-
content-type:
|
|
207
|
+
headers:
|
|
208
|
+
location:
|
|
209
|
+
- http://api.lvh.me:3000/accounts/account-list-num-3-1313708721
|
|
210
|
+
content-type:
|
|
137
211
|
- application/xml; charset=utf-8
|
|
138
|
-
cache-control:
|
|
212
|
+
cache-control:
|
|
139
213
|
- no-cache
|
|
140
|
-
x-ua-compatible:
|
|
214
|
+
x-ua-compatible:
|
|
141
215
|
- IE=Edge
|
|
142
|
-
set-cookie:
|
|
143
|
-
- _recurly_session=
|
|
144
|
-
|
|
145
|
-
server:
|
|
216
|
+
set-cookie:
|
|
217
|
+
- _recurly_session=65be0bad6322b1696cd509a888609561; domain=.lvh.me; path=/; HttpOnly
|
|
218
|
+
server:
|
|
146
219
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
147
|
-
body:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
220
|
+
body: |
|
|
221
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
222
|
+
<account>
|
|
223
|
+
<id>account-list-num-3-1313708721</id>
|
|
224
|
+
<account_code>account-list-num-3-1313708721</account_code>
|
|
225
|
+
<username></username>
|
|
226
|
+
<email>verena@test.com</email>
|
|
227
|
+
<first_name>Verena</first_name>
|
|
228
|
+
<last_name>Test</last_name>
|
|
229
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
230
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
231
|
+
<closed type="boolean">false</closed>
|
|
232
|
+
<hosted_login_token>4ce63e6677c342ffa7ec6440d764c1f0</hosted_login_token>
|
|
233
|
+
<created_at type="datetime">2011-09-22T22:01:29Z</created_at>
|
|
234
|
+
<state>active</state>
|
|
235
|
+
</account>
|
|
236
|
+
|
|
237
|
+
http_version: "1.1"
|
|
238
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
239
|
+
request: !ruby/struct:VCR::Request
|
|
156
240
|
method: :post
|
|
157
|
-
uri: http://api
|
|
158
|
-
body:
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
241
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
242
|
+
body: |
|
|
243
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
244
|
+
<account>
|
|
245
|
+
<account-code>account-list-num-4-1313708721</account-code>
|
|
246
|
+
<first-name>Verena</first-name>
|
|
247
|
+
<last-name>Test</last-name>
|
|
248
|
+
<email>verena@test.com</email>
|
|
249
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
250
|
+
<billing-info>
|
|
251
|
+
<credit-card>
|
|
252
|
+
</credit-card>
|
|
253
|
+
</billing-info>
|
|
254
|
+
<accept-language nil="true"></accept-language>
|
|
255
|
+
</account>
|
|
256
|
+
|
|
257
|
+
headers:
|
|
258
|
+
user-agent:
|
|
259
|
+
- Recurly Ruby Client v0.4.13
|
|
260
|
+
content-type:
|
|
166
261
|
- application/xml
|
|
167
|
-
response: !ruby/struct:VCR::Response
|
|
168
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
262
|
+
response: !ruby/struct:VCR::Response
|
|
263
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
169
264
|
code: 201
|
|
170
265
|
message: Created
|
|
171
|
-
headers:
|
|
172
|
-
location:
|
|
173
|
-
- http://
|
|
174
|
-
content-type:
|
|
266
|
+
headers:
|
|
267
|
+
location:
|
|
268
|
+
- http://api.lvh.me:3000/accounts/account-list-num-4-1313708721
|
|
269
|
+
content-type:
|
|
175
270
|
- application/xml; charset=utf-8
|
|
176
|
-
cache-control:
|
|
271
|
+
cache-control:
|
|
177
272
|
- no-cache
|
|
178
|
-
x-ua-compatible:
|
|
273
|
+
x-ua-compatible:
|
|
179
274
|
- IE=Edge
|
|
180
|
-
set-cookie:
|
|
181
|
-
- _recurly_session=
|
|
182
|
-
|
|
183
|
-
server:
|
|
275
|
+
set-cookie:
|
|
276
|
+
- _recurly_session=3aa6475f3a7796047581831578814ea4; domain=.lvh.me; path=/; HttpOnly
|
|
277
|
+
server:
|
|
184
278
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
185
|
-
body:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
279
|
+
body: |
|
|
280
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
281
|
+
<account>
|
|
282
|
+
<id>account-list-num-4-1313708721</id>
|
|
283
|
+
<account_code>account-list-num-4-1313708721</account_code>
|
|
284
|
+
<username></username>
|
|
285
|
+
<email>verena@test.com</email>
|
|
286
|
+
<first_name>Verena</first_name>
|
|
287
|
+
<last_name>Test</last_name>
|
|
288
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
289
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
290
|
+
<closed type="boolean">false</closed>
|
|
291
|
+
<hosted_login_token>63f070c035b44b45b9943da39931bcf0</hosted_login_token>
|
|
292
|
+
<created_at type="datetime">2011-09-22T22:01:30Z</created_at>
|
|
293
|
+
<state>active</state>
|
|
294
|
+
</account>
|
|
295
|
+
|
|
296
|
+
http_version: "1.1"
|
|
297
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
298
|
+
request: !ruby/struct:VCR::Request
|
|
194
299
|
method: :post
|
|
195
|
-
uri: http://api
|
|
196
|
-
body:
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
300
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
301
|
+
body: |
|
|
302
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
303
|
+
<account>
|
|
304
|
+
<account-code>account-list-num-5-1313708721</account-code>
|
|
305
|
+
<first-name>Verena</first-name>
|
|
306
|
+
<last-name>Test</last-name>
|
|
307
|
+
<email>verena@test.com</email>
|
|
308
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
309
|
+
<billing-info>
|
|
310
|
+
<credit-card>
|
|
311
|
+
</credit-card>
|
|
312
|
+
</billing-info>
|
|
313
|
+
<accept-language nil="true"></accept-language>
|
|
314
|
+
</account>
|
|
315
|
+
|
|
316
|
+
headers:
|
|
317
|
+
user-agent:
|
|
318
|
+
- Recurly Ruby Client v0.4.13
|
|
319
|
+
content-type:
|
|
204
320
|
- application/xml
|
|
205
|
-
response: !ruby/struct:VCR::Response
|
|
206
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
321
|
+
response: !ruby/struct:VCR::Response
|
|
322
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
207
323
|
code: 201
|
|
208
324
|
message: Created
|
|
209
|
-
headers:
|
|
210
|
-
location:
|
|
211
|
-
- http://
|
|
212
|
-
content-type:
|
|
325
|
+
headers:
|
|
326
|
+
location:
|
|
327
|
+
- http://api.lvh.me:3000/accounts/account-list-num-5-1313708721
|
|
328
|
+
content-type:
|
|
213
329
|
- application/xml; charset=utf-8
|
|
214
|
-
cache-control:
|
|
330
|
+
cache-control:
|
|
215
331
|
- no-cache
|
|
216
|
-
x-ua-compatible:
|
|
332
|
+
x-ua-compatible:
|
|
217
333
|
- IE=Edge
|
|
218
|
-
set-cookie:
|
|
219
|
-
- _recurly_session=
|
|
220
|
-
|
|
221
|
-
server:
|
|
334
|
+
set-cookie:
|
|
335
|
+
- _recurly_session=dde5995979e942c8577acbe79b481189; domain=.lvh.me; path=/; HttpOnly
|
|
336
|
+
server:
|
|
222
337
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
223
|
-
body:
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
338
|
+
body: |
|
|
339
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
340
|
+
<account>
|
|
341
|
+
<id>account-list-num-5-1313708721</id>
|
|
342
|
+
<account_code>account-list-num-5-1313708721</account_code>
|
|
343
|
+
<username></username>
|
|
344
|
+
<email>verena@test.com</email>
|
|
345
|
+
<first_name>Verena</first_name>
|
|
346
|
+
<last_name>Test</last_name>
|
|
347
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
348
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
349
|
+
<closed type="boolean">false</closed>
|
|
350
|
+
<hosted_login_token>4b2ea07a6d614dfa8f36ef83f28e8872</hosted_login_token>
|
|
351
|
+
<created_at type="datetime">2011-09-22T22:01:30Z</created_at>
|
|
352
|
+
<state>active</state>
|
|
353
|
+
</account>
|
|
354
|
+
|
|
355
|
+
http_version: "1.1"
|
|
356
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
357
|
+
request: !ruby/struct:VCR::Request
|
|
232
358
|
method: :post
|
|
233
|
-
uri: http://api
|
|
234
|
-
body:
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
359
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
360
|
+
body: |
|
|
361
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
362
|
+
<account>
|
|
363
|
+
<account-code>account-list-num-6-1313708721</account-code>
|
|
364
|
+
<first-name>Verena</first-name>
|
|
365
|
+
<last-name>Test</last-name>
|
|
366
|
+
<email>verena@test.com</email>
|
|
367
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
368
|
+
<billing-info>
|
|
369
|
+
<credit-card>
|
|
370
|
+
</credit-card>
|
|
371
|
+
</billing-info>
|
|
372
|
+
<accept-language nil="true"></accept-language>
|
|
373
|
+
</account>
|
|
374
|
+
|
|
375
|
+
headers:
|
|
376
|
+
user-agent:
|
|
377
|
+
- Recurly Ruby Client v0.4.13
|
|
378
|
+
content-type:
|
|
242
379
|
- application/xml
|
|
243
|
-
response: !ruby/struct:VCR::Response
|
|
244
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
380
|
+
response: !ruby/struct:VCR::Response
|
|
381
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
245
382
|
code: 201
|
|
246
383
|
message: Created
|
|
247
|
-
headers:
|
|
248
|
-
location:
|
|
249
|
-
- http://
|
|
250
|
-
content-type:
|
|
384
|
+
headers:
|
|
385
|
+
location:
|
|
386
|
+
- http://api.lvh.me:3000/accounts/account-list-num-6-1313708721
|
|
387
|
+
content-type:
|
|
251
388
|
- application/xml; charset=utf-8
|
|
252
|
-
cache-control:
|
|
389
|
+
cache-control:
|
|
253
390
|
- no-cache
|
|
254
|
-
x-ua-compatible:
|
|
391
|
+
x-ua-compatible:
|
|
255
392
|
- IE=Edge
|
|
256
|
-
set-cookie:
|
|
257
|
-
- _recurly_session=
|
|
258
|
-
|
|
259
|
-
server:
|
|
393
|
+
set-cookie:
|
|
394
|
+
- _recurly_session=f21e70cb25fb5d7668479956e650786f; domain=.lvh.me; path=/; HttpOnly
|
|
395
|
+
server:
|
|
260
396
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
261
|
-
body:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
397
|
+
body: |
|
|
398
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
399
|
+
<account>
|
|
400
|
+
<id>account-list-num-6-1313708721</id>
|
|
401
|
+
<account_code>account-list-num-6-1313708721</account_code>
|
|
402
|
+
<username></username>
|
|
403
|
+
<email>verena@test.com</email>
|
|
404
|
+
<first_name>Verena</first_name>
|
|
405
|
+
<last_name>Test</last_name>
|
|
406
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
407
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
408
|
+
<closed type="boolean">false</closed>
|
|
409
|
+
<hosted_login_token>80d601f7f42744cf863832440355ed31</hosted_login_token>
|
|
410
|
+
<created_at type="datetime">2011-09-22T22:01:30Z</created_at>
|
|
411
|
+
<state>active</state>
|
|
412
|
+
</account>
|
|
413
|
+
|
|
414
|
+
http_version: "1.1"
|
|
415
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
416
|
+
request: !ruby/struct:VCR::Request
|
|
270
417
|
method: :post
|
|
271
|
-
uri: http://api
|
|
272
|
-
body:
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
418
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
419
|
+
body: |
|
|
420
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
421
|
+
<account>
|
|
422
|
+
<account-code>account-list-num-7-1313708721</account-code>
|
|
423
|
+
<first-name>Verena</first-name>
|
|
424
|
+
<last-name>Test</last-name>
|
|
425
|
+
<email>verena@test.com</email>
|
|
426
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
427
|
+
<billing-info>
|
|
428
|
+
<credit-card>
|
|
429
|
+
</credit-card>
|
|
430
|
+
</billing-info>
|
|
431
|
+
<accept-language nil="true"></accept-language>
|
|
432
|
+
</account>
|
|
433
|
+
|
|
434
|
+
headers:
|
|
435
|
+
user-agent:
|
|
436
|
+
- Recurly Ruby Client v0.4.13
|
|
437
|
+
content-type:
|
|
280
438
|
- application/xml
|
|
281
|
-
response: !ruby/struct:VCR::Response
|
|
282
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
439
|
+
response: !ruby/struct:VCR::Response
|
|
440
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
283
441
|
code: 201
|
|
284
442
|
message: Created
|
|
285
|
-
headers:
|
|
286
|
-
location:
|
|
287
|
-
- http://
|
|
288
|
-
content-type:
|
|
443
|
+
headers:
|
|
444
|
+
location:
|
|
445
|
+
- http://api.lvh.me:3000/accounts/account-list-num-7-1313708721
|
|
446
|
+
content-type:
|
|
289
447
|
- application/xml; charset=utf-8
|
|
290
|
-
cache-control:
|
|
448
|
+
cache-control:
|
|
291
449
|
- no-cache
|
|
292
|
-
x-ua-compatible:
|
|
450
|
+
x-ua-compatible:
|
|
293
451
|
- IE=Edge
|
|
294
|
-
set-cookie:
|
|
295
|
-
- _recurly_session=
|
|
296
|
-
|
|
297
|
-
server:
|
|
452
|
+
set-cookie:
|
|
453
|
+
- _recurly_session=74dbf542460325375c737441e02bf4d9; domain=.lvh.me; path=/; HttpOnly
|
|
454
|
+
server:
|
|
298
455
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
299
|
-
body:
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
456
|
+
body: |
|
|
457
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
458
|
+
<account>
|
|
459
|
+
<id>account-list-num-7-1313708721</id>
|
|
460
|
+
<account_code>account-list-num-7-1313708721</account_code>
|
|
461
|
+
<username></username>
|
|
462
|
+
<email>verena@test.com</email>
|
|
463
|
+
<first_name>Verena</first_name>
|
|
464
|
+
<last_name>Test</last_name>
|
|
465
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
466
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
467
|
+
<closed type="boolean">false</closed>
|
|
468
|
+
<hosted_login_token>e0013127eb1d4472a3886920c1bf0e78</hosted_login_token>
|
|
469
|
+
<created_at type="datetime">2011-09-22T22:01:30Z</created_at>
|
|
470
|
+
<state>active</state>
|
|
471
|
+
</account>
|
|
472
|
+
|
|
473
|
+
http_version: "1.1"
|
|
474
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
475
|
+
request: !ruby/struct:VCR::Request
|
|
308
476
|
method: :get
|
|
309
|
-
uri: http://api
|
|
310
|
-
body:
|
|
311
|
-
headers:
|
|
312
|
-
user-agent:
|
|
313
|
-
- Recurly Ruby Client v0.4.
|
|
314
|
-
accept:
|
|
477
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
|
|
478
|
+
body:
|
|
479
|
+
headers:
|
|
480
|
+
user-agent:
|
|
481
|
+
- Recurly Ruby Client v0.4.13
|
|
482
|
+
accept:
|
|
315
483
|
- application/xml
|
|
316
|
-
accept-encoding:
|
|
484
|
+
accept-encoding:
|
|
317
485
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
318
|
-
response: !ruby/struct:VCR::Response
|
|
319
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
486
|
+
response: !ruby/struct:VCR::Response
|
|
487
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
320
488
|
code: 200
|
|
321
489
|
message: OK
|
|
322
|
-
headers:
|
|
323
|
-
content-type:
|
|
490
|
+
headers:
|
|
491
|
+
content-type:
|
|
324
492
|
- application/xml; charset=utf-8
|
|
325
|
-
etag:
|
|
326
|
-
-
|
|
327
|
-
cache-control:
|
|
493
|
+
etag:
|
|
494
|
+
- "\"7487d065869e9c487e0a588e1edea5dc\""
|
|
495
|
+
cache-control:
|
|
328
496
|
- max-age=0, private, must-revalidate
|
|
329
|
-
x-ua-compatible:
|
|
497
|
+
x-ua-compatible:
|
|
330
498
|
- IE=Edge
|
|
331
|
-
|
|
332
|
-
- _recurly_session=28ab5126b8656056a11b2212d2d76a4d; domain=.lvh.me; path=/;
|
|
333
|
-
HttpOnly
|
|
334
|
-
server:
|
|
499
|
+
server:
|
|
335
500
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
336
|
-
body:
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
501
|
+
body: |
|
|
502
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
503
|
+
<plan>
|
|
504
|
+
<plan_code>paid</plan_code>
|
|
505
|
+
<name>paid</name>
|
|
506
|
+
<description></description>
|
|
507
|
+
<success_url></success_url>
|
|
508
|
+
<cancel_url></cancel_url>
|
|
509
|
+
<created_at type="datetime">2011-09-22T21:54:04Z</created_at>
|
|
510
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
511
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
|
512
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
|
513
|
+
<plan_interval_unit>months</plan_interval_unit>
|
|
514
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
|
515
|
+
<trial_interval_unit>days</trial_interval_unit>
|
|
516
|
+
</plan>
|
|
517
|
+
|
|
518
|
+
http_version: "1.1"
|
|
519
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
520
|
+
request: !ruby/struct:VCR::Request
|
|
352
521
|
method: :post
|
|
353
|
-
uri: http://api
|
|
354
|
-
body:
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
522
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-0-1313708721/subscription.xml
|
|
523
|
+
body: |
|
|
524
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
525
|
+
<subscription>
|
|
526
|
+
<plan-code>paid</plan-code>
|
|
527
|
+
<quantity type="integer">1</quantity>
|
|
528
|
+
<account>
|
|
529
|
+
<account-code>account-list-num-0-1313708721</account-code>
|
|
530
|
+
<first-name>Verena</first-name>
|
|
531
|
+
<last-name>Test</last-name>
|
|
532
|
+
<email>verena@test.com</email>
|
|
533
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
534
|
+
<billing-info>
|
|
535
|
+
<first-name>Verena</first-name>
|
|
536
|
+
<last-name>Test</last-name>
|
|
537
|
+
<address1>123 Test St</address1>
|
|
538
|
+
<city>San Francisco</city>
|
|
539
|
+
<state>CA</state>
|
|
540
|
+
<zip>94115</zip>
|
|
541
|
+
<country>US</country>
|
|
542
|
+
<credit-card>
|
|
543
|
+
<number>4111111111111111</number>
|
|
544
|
+
<year type="integer">2012</year>
|
|
545
|
+
<month type="integer">9</month>
|
|
546
|
+
<verification-value>123</verification-value>
|
|
547
|
+
</credit-card>
|
|
548
|
+
</billing-info>
|
|
549
|
+
<accept-language nil="true"></accept-language>
|
|
550
|
+
<id>account-list-num-0-1313708721</id>
|
|
551
|
+
<username nil="true"></username>
|
|
552
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
|
553
|
+
<closed type="boolean">false</closed>
|
|
554
|
+
<hosted-login-token>2a302fcfe682451381919f3797df211f</hosted-login-token>
|
|
555
|
+
<created-at type="datetime">2011-09-22T22:01:29Z</created-at>
|
|
556
|
+
<state>active</state>
|
|
557
|
+
</account>
|
|
558
|
+
<addons type="array"/>
|
|
559
|
+
</subscription>
|
|
560
|
+
|
|
561
|
+
headers:
|
|
562
|
+
user-agent:
|
|
563
|
+
- Recurly Ruby Client v0.4.13
|
|
564
|
+
content-type:
|
|
373
565
|
- application/xml
|
|
374
|
-
response: !ruby/struct:VCR::Response
|
|
375
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
566
|
+
response: !ruby/struct:VCR::Response
|
|
567
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
376
568
|
code: 201
|
|
377
569
|
message: Created
|
|
378
|
-
headers:
|
|
379
|
-
content-type:
|
|
570
|
+
headers:
|
|
571
|
+
content-type:
|
|
380
572
|
- application/xml; charset=utf-8
|
|
381
|
-
cache-control:
|
|
573
|
+
cache-control:
|
|
382
574
|
- no-cache
|
|
383
|
-
x-ua-compatible:
|
|
575
|
+
x-ua-compatible:
|
|
384
576
|
- IE=Edge
|
|
385
|
-
set-cookie:
|
|
386
|
-
- _recurly_session=
|
|
387
|
-
|
|
388
|
-
server:
|
|
577
|
+
set-cookie:
|
|
578
|
+
- _recurly_session=8d18b19ee4160632152a43841c6f0ab8; domain=.lvh.me; path=/; HttpOnly
|
|
579
|
+
server:
|
|
389
580
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
390
|
-
body:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
-
|
|
404
|
-
|
|
581
|
+
body: |
|
|
582
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
583
|
+
<subscription>
|
|
584
|
+
<id>account-list-num-0-1313708721</id>
|
|
585
|
+
<account_code>account-list-num-0-1313708721</account_code>
|
|
586
|
+
<plan>
|
|
587
|
+
<plan_code>paid</plan_code>
|
|
588
|
+
<name>paid</name>
|
|
589
|
+
</plan>
|
|
590
|
+
<state>active</state>
|
|
591
|
+
<quantity type="integer">1</quantity>
|
|
592
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
593
|
+
<total_amount_in_cents type="integer">1400</total_amount_in_cents>
|
|
594
|
+
<activated_at type="datetime">2011-09-22T22:01:30Z</activated_at>
|
|
595
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
|
596
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
|
597
|
+
<current_period_started_at type="datetime">2011-09-22T22:01:30Z</current_period_started_at>
|
|
598
|
+
<current_period_ends_at type="datetime">2011-10-22T22:01:30Z</current_period_ends_at>
|
|
599
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
|
600
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
|
601
|
+
<add_ons type="array">
|
|
602
|
+
</add_ons>
|
|
603
|
+
</subscription>
|
|
604
|
+
|
|
605
|
+
http_version: "1.1"
|
|
606
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
607
|
+
request: !ruby/struct:VCR::Request
|
|
405
608
|
method: :get
|
|
406
|
-
uri: http://api
|
|
407
|
-
body:
|
|
408
|
-
headers:
|
|
409
|
-
user-agent:
|
|
410
|
-
- Recurly Ruby Client v0.4.
|
|
411
|
-
accept:
|
|
609
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
|
|
610
|
+
body:
|
|
611
|
+
headers:
|
|
612
|
+
user-agent:
|
|
613
|
+
- Recurly Ruby Client v0.4.13
|
|
614
|
+
accept:
|
|
412
615
|
- application/xml
|
|
413
|
-
accept-encoding:
|
|
616
|
+
accept-encoding:
|
|
414
617
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
415
|
-
response: !ruby/struct:VCR::Response
|
|
416
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
618
|
+
response: !ruby/struct:VCR::Response
|
|
619
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
417
620
|
code: 200
|
|
418
621
|
message: OK
|
|
419
|
-
headers:
|
|
420
|
-
content-type:
|
|
622
|
+
headers:
|
|
623
|
+
content-type:
|
|
421
624
|
- application/xml; charset=utf-8
|
|
422
|
-
etag:
|
|
423
|
-
-
|
|
424
|
-
cache-control:
|
|
625
|
+
etag:
|
|
626
|
+
- "\"7487d065869e9c487e0a588e1edea5dc\""
|
|
627
|
+
cache-control:
|
|
425
628
|
- max-age=0, private, must-revalidate
|
|
426
|
-
x-ua-compatible:
|
|
629
|
+
x-ua-compatible:
|
|
427
630
|
- IE=Edge
|
|
428
|
-
|
|
429
|
-
- _recurly_session=a308fffd346708adcf3277d4d2f39827; domain=.lvh.me; path=/;
|
|
430
|
-
HttpOnly
|
|
431
|
-
server:
|
|
631
|
+
server:
|
|
432
632
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
433
|
-
body:
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
633
|
+
body: |
|
|
634
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
635
|
+
<plan>
|
|
636
|
+
<plan_code>paid</plan_code>
|
|
637
|
+
<name>paid</name>
|
|
638
|
+
<description></description>
|
|
639
|
+
<success_url></success_url>
|
|
640
|
+
<cancel_url></cancel_url>
|
|
641
|
+
<created_at type="datetime">2011-09-22T21:54:04Z</created_at>
|
|
642
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
643
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
|
644
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
|
645
|
+
<plan_interval_unit>months</plan_interval_unit>
|
|
646
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
|
647
|
+
<trial_interval_unit>days</trial_interval_unit>
|
|
648
|
+
</plan>
|
|
649
|
+
|
|
650
|
+
http_version: "1.1"
|
|
651
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
652
|
+
request: !ruby/struct:VCR::Request
|
|
449
653
|
method: :post
|
|
450
|
-
uri: http://api
|
|
451
|
-
body:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
654
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-1-1313708721/subscription.xml
|
|
655
|
+
body: |
|
|
656
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
657
|
+
<subscription>
|
|
658
|
+
<plan-code>paid</plan-code>
|
|
659
|
+
<quantity type="integer">1</quantity>
|
|
660
|
+
<account>
|
|
661
|
+
<account-code>account-list-num-1-1313708721</account-code>
|
|
662
|
+
<first-name>Verena</first-name>
|
|
663
|
+
<last-name>Test</last-name>
|
|
664
|
+
<email>verena@test.com</email>
|
|
665
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
666
|
+
<billing-info>
|
|
667
|
+
<first-name>Verena</first-name>
|
|
668
|
+
<last-name>Test</last-name>
|
|
669
|
+
<address1>123 Test St</address1>
|
|
670
|
+
<city>San Francisco</city>
|
|
671
|
+
<state>CA</state>
|
|
672
|
+
<zip>94115</zip>
|
|
673
|
+
<country>US</country>
|
|
674
|
+
<credit-card>
|
|
675
|
+
<number>4111111111111111</number>
|
|
676
|
+
<year type="integer">2012</year>
|
|
677
|
+
<month type="integer">9</month>
|
|
678
|
+
<verification-value>123</verification-value>
|
|
679
|
+
</credit-card>
|
|
680
|
+
</billing-info>
|
|
681
|
+
<accept-language nil="true"></accept-language>
|
|
682
|
+
<id>account-list-num-1-1313708721</id>
|
|
683
|
+
<username nil="true"></username>
|
|
684
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
|
685
|
+
<closed type="boolean">false</closed>
|
|
686
|
+
<hosted-login-token>d7c4f1f50bec43209243565f5a7f18e9</hosted-login-token>
|
|
687
|
+
<created-at type="datetime">2011-09-22T22:01:29Z</created-at>
|
|
688
|
+
<state>active</state>
|
|
689
|
+
</account>
|
|
690
|
+
<addons type="array"/>
|
|
691
|
+
</subscription>
|
|
692
|
+
|
|
693
|
+
headers:
|
|
694
|
+
user-agent:
|
|
695
|
+
- Recurly Ruby Client v0.4.13
|
|
696
|
+
content-type:
|
|
470
697
|
- application/xml
|
|
471
|
-
response: !ruby/struct:VCR::Response
|
|
472
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
698
|
+
response: !ruby/struct:VCR::Response
|
|
699
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
473
700
|
code: 201
|
|
474
701
|
message: Created
|
|
475
|
-
headers:
|
|
476
|
-
content-type:
|
|
702
|
+
headers:
|
|
703
|
+
content-type:
|
|
477
704
|
- application/xml; charset=utf-8
|
|
478
|
-
cache-control:
|
|
705
|
+
cache-control:
|
|
479
706
|
- no-cache
|
|
480
|
-
x-ua-compatible:
|
|
707
|
+
x-ua-compatible:
|
|
481
708
|
- IE=Edge
|
|
482
|
-
set-cookie:
|
|
483
|
-
- _recurly_session=
|
|
484
|
-
|
|
485
|
-
server:
|
|
709
|
+
set-cookie:
|
|
710
|
+
- _recurly_session=4402fd472429e7f1856e68c5ef2e70fd; domain=.lvh.me; path=/; HttpOnly
|
|
711
|
+
server:
|
|
486
712
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
487
|
-
body:
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
-
|
|
501
|
-
|
|
713
|
+
body: |
|
|
714
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
715
|
+
<subscription>
|
|
716
|
+
<id>account-list-num-1-1313708721</id>
|
|
717
|
+
<account_code>account-list-num-1-1313708721</account_code>
|
|
718
|
+
<plan>
|
|
719
|
+
<plan_code>paid</plan_code>
|
|
720
|
+
<name>paid</name>
|
|
721
|
+
</plan>
|
|
722
|
+
<state>active</state>
|
|
723
|
+
<quantity type="integer">1</quantity>
|
|
724
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
725
|
+
<total_amount_in_cents type="integer">1400</total_amount_in_cents>
|
|
726
|
+
<activated_at type="datetime">2011-09-22T22:01:31Z</activated_at>
|
|
727
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
|
728
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
|
729
|
+
<current_period_started_at type="datetime">2011-09-22T22:01:31Z</current_period_started_at>
|
|
730
|
+
<current_period_ends_at type="datetime">2011-10-22T22:01:31Z</current_period_ends_at>
|
|
731
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
|
732
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
|
733
|
+
<add_ons type="array">
|
|
734
|
+
</add_ons>
|
|
735
|
+
</subscription>
|
|
736
|
+
|
|
737
|
+
http_version: "1.1"
|
|
738
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
739
|
+
request: !ruby/struct:VCR::Request
|
|
502
740
|
method: :get
|
|
503
|
-
uri: http://api
|
|
504
|
-
body:
|
|
505
|
-
headers:
|
|
506
|
-
user-agent:
|
|
507
|
-
- Recurly Ruby Client v0.4.
|
|
508
|
-
accept:
|
|
741
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
|
|
742
|
+
body:
|
|
743
|
+
headers:
|
|
744
|
+
user-agent:
|
|
745
|
+
- Recurly Ruby Client v0.4.13
|
|
746
|
+
accept:
|
|
509
747
|
- application/xml
|
|
510
|
-
accept-encoding:
|
|
748
|
+
accept-encoding:
|
|
511
749
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
512
|
-
response: !ruby/struct:VCR::Response
|
|
513
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
750
|
+
response: !ruby/struct:VCR::Response
|
|
751
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
514
752
|
code: 200
|
|
515
753
|
message: OK
|
|
516
|
-
headers:
|
|
517
|
-
content-type:
|
|
754
|
+
headers:
|
|
755
|
+
content-type:
|
|
518
756
|
- application/xml; charset=utf-8
|
|
519
|
-
etag:
|
|
520
|
-
-
|
|
521
|
-
cache-control:
|
|
757
|
+
etag:
|
|
758
|
+
- "\"7487d065869e9c487e0a588e1edea5dc\""
|
|
759
|
+
cache-control:
|
|
522
760
|
- max-age=0, private, must-revalidate
|
|
523
|
-
x-ua-compatible:
|
|
761
|
+
x-ua-compatible:
|
|
524
762
|
- IE=Edge
|
|
525
|
-
|
|
526
|
-
- _recurly_session=9be129dfbc714ae10b77bb15f0a40464; domain=.lvh.me; path=/;
|
|
527
|
-
HttpOnly
|
|
528
|
-
server:
|
|
763
|
+
server:
|
|
529
764
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
530
|
-
body:
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
765
|
+
body: |
|
|
766
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
767
|
+
<plan>
|
|
768
|
+
<plan_code>paid</plan_code>
|
|
769
|
+
<name>paid</name>
|
|
770
|
+
<description></description>
|
|
771
|
+
<success_url></success_url>
|
|
772
|
+
<cancel_url></cancel_url>
|
|
773
|
+
<created_at type="datetime">2011-09-22T21:54:04Z</created_at>
|
|
774
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
775
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
|
776
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
|
777
|
+
<plan_interval_unit>months</plan_interval_unit>
|
|
778
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
|
779
|
+
<trial_interval_unit>days</trial_interval_unit>
|
|
780
|
+
</plan>
|
|
781
|
+
|
|
782
|
+
http_version: "1.1"
|
|
783
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
784
|
+
request: !ruby/struct:VCR::Request
|
|
546
785
|
method: :post
|
|
547
|
-
uri: http://api
|
|
548
|
-
body:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
786
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-2-1313708721/subscription.xml
|
|
787
|
+
body: |
|
|
788
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
789
|
+
<subscription>
|
|
790
|
+
<plan-code>paid</plan-code>
|
|
791
|
+
<quantity type="integer">1</quantity>
|
|
792
|
+
<account>
|
|
793
|
+
<account-code>account-list-num-2-1313708721</account-code>
|
|
794
|
+
<first-name>Verena</first-name>
|
|
795
|
+
<last-name>Test</last-name>
|
|
796
|
+
<email>verena@test.com</email>
|
|
797
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
798
|
+
<billing-info>
|
|
799
|
+
<first-name>Verena</first-name>
|
|
800
|
+
<last-name>Test</last-name>
|
|
801
|
+
<address1>123 Test St</address1>
|
|
802
|
+
<city>San Francisco</city>
|
|
803
|
+
<state>CA</state>
|
|
804
|
+
<zip>94115</zip>
|
|
805
|
+
<country>US</country>
|
|
806
|
+
<credit-card>
|
|
807
|
+
<number>4111111111111111</number>
|
|
808
|
+
<year type="integer">2012</year>
|
|
809
|
+
<month type="integer">9</month>
|
|
810
|
+
<verification-value>123</verification-value>
|
|
811
|
+
</credit-card>
|
|
812
|
+
</billing-info>
|
|
813
|
+
<accept-language nil="true"></accept-language>
|
|
814
|
+
<id>account-list-num-2-1313708721</id>
|
|
815
|
+
<username nil="true"></username>
|
|
816
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
|
817
|
+
<closed type="boolean">false</closed>
|
|
818
|
+
<hosted-login-token>4ec147f2ba6b4cffb98b8ace3573e081</hosted-login-token>
|
|
819
|
+
<created-at type="datetime">2011-09-22T22:01:29Z</created-at>
|
|
820
|
+
<state>active</state>
|
|
821
|
+
</account>
|
|
822
|
+
<addons type="array"/>
|
|
823
|
+
</subscription>
|
|
824
|
+
|
|
825
|
+
headers:
|
|
826
|
+
user-agent:
|
|
827
|
+
- Recurly Ruby Client v0.4.13
|
|
828
|
+
content-type:
|
|
567
829
|
- application/xml
|
|
568
|
-
response: !ruby/struct:VCR::Response
|
|
569
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
830
|
+
response: !ruby/struct:VCR::Response
|
|
831
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
570
832
|
code: 201
|
|
571
833
|
message: Created
|
|
572
|
-
headers:
|
|
573
|
-
content-type:
|
|
834
|
+
headers:
|
|
835
|
+
content-type:
|
|
574
836
|
- application/xml; charset=utf-8
|
|
575
|
-
cache-control:
|
|
837
|
+
cache-control:
|
|
576
838
|
- no-cache
|
|
577
|
-
x-ua-compatible:
|
|
839
|
+
x-ua-compatible:
|
|
578
840
|
- IE=Edge
|
|
579
|
-
set-cookie:
|
|
580
|
-
- _recurly_session=
|
|
581
|
-
|
|
582
|
-
server:
|
|
841
|
+
set-cookie:
|
|
842
|
+
- _recurly_session=bba44a1cf8a2a06490e3339f5a57fbf8; domain=.lvh.me; path=/; HttpOnly
|
|
843
|
+
server:
|
|
583
844
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
584
|
-
body:
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
-
|
|
598
|
-
|
|
845
|
+
body: |
|
|
846
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
847
|
+
<subscription>
|
|
848
|
+
<id>account-list-num-2-1313708721</id>
|
|
849
|
+
<account_code>account-list-num-2-1313708721</account_code>
|
|
850
|
+
<plan>
|
|
851
|
+
<plan_code>paid</plan_code>
|
|
852
|
+
<name>paid</name>
|
|
853
|
+
</plan>
|
|
854
|
+
<state>active</state>
|
|
855
|
+
<quantity type="integer">1</quantity>
|
|
856
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
857
|
+
<total_amount_in_cents type="integer">1400</total_amount_in_cents>
|
|
858
|
+
<activated_at type="datetime">2011-09-22T22:01:33Z</activated_at>
|
|
859
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
|
860
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
|
861
|
+
<current_period_started_at type="datetime">2011-09-22T22:01:33Z</current_period_started_at>
|
|
862
|
+
<current_period_ends_at type="datetime">2011-10-22T22:01:33Z</current_period_ends_at>
|
|
863
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
|
864
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
|
865
|
+
<add_ons type="array">
|
|
866
|
+
</add_ons>
|
|
867
|
+
</subscription>
|
|
868
|
+
|
|
869
|
+
http_version: "1.1"
|
|
870
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
871
|
+
request: !ruby/struct:VCR::Request
|
|
599
872
|
method: :get
|
|
600
|
-
uri: http://api
|
|
601
|
-
body:
|
|
602
|
-
headers:
|
|
603
|
-
user-agent:
|
|
604
|
-
- Recurly Ruby Client v0.4.
|
|
605
|
-
accept:
|
|
873
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/plans/paid.xml
|
|
874
|
+
body:
|
|
875
|
+
headers:
|
|
876
|
+
user-agent:
|
|
877
|
+
- Recurly Ruby Client v0.4.13
|
|
878
|
+
accept:
|
|
606
879
|
- application/xml
|
|
607
|
-
accept-encoding:
|
|
880
|
+
accept-encoding:
|
|
608
881
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
609
|
-
response: !ruby/struct:VCR::Response
|
|
610
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
882
|
+
response: !ruby/struct:VCR::Response
|
|
883
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
611
884
|
code: 200
|
|
612
885
|
message: OK
|
|
613
|
-
headers:
|
|
614
|
-
content-type:
|
|
886
|
+
headers:
|
|
887
|
+
content-type:
|
|
615
888
|
- application/xml; charset=utf-8
|
|
616
|
-
etag:
|
|
617
|
-
-
|
|
618
|
-
cache-control:
|
|
889
|
+
etag:
|
|
890
|
+
- "\"7487d065869e9c487e0a588e1edea5dc\""
|
|
891
|
+
cache-control:
|
|
619
892
|
- max-age=0, private, must-revalidate
|
|
620
|
-
x-ua-compatible:
|
|
893
|
+
x-ua-compatible:
|
|
621
894
|
- IE=Edge
|
|
622
|
-
|
|
623
|
-
- _recurly_session=434a49c82e5cb1d35848b9269a55fd3c; domain=.lvh.me; path=/;
|
|
624
|
-
HttpOnly
|
|
625
|
-
server:
|
|
895
|
+
server:
|
|
626
896
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
627
|
-
body:
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
897
|
+
body: |
|
|
898
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
899
|
+
<plan>
|
|
900
|
+
<plan_code>paid</plan_code>
|
|
901
|
+
<name>paid</name>
|
|
902
|
+
<description></description>
|
|
903
|
+
<success_url></success_url>
|
|
904
|
+
<cancel_url></cancel_url>
|
|
905
|
+
<created_at type="datetime">2011-09-22T21:54:04Z</created_at>
|
|
906
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
907
|
+
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
|
908
|
+
<plan_interval_length type="integer">1</plan_interval_length>
|
|
909
|
+
<plan_interval_unit>months</plan_interval_unit>
|
|
910
|
+
<trial_interval_length type="integer">0</trial_interval_length>
|
|
911
|
+
<trial_interval_unit>days</trial_interval_unit>
|
|
912
|
+
</plan>
|
|
913
|
+
|
|
914
|
+
http_version: "1.1"
|
|
915
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
916
|
+
request: !ruby/struct:VCR::Request
|
|
643
917
|
method: :post
|
|
644
|
-
uri: http://api
|
|
645
|
-
body:
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
918
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-list-num-3-1313708721/subscription.xml
|
|
919
|
+
body: |
|
|
920
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
921
|
+
<subscription>
|
|
922
|
+
<plan-code>paid</plan-code>
|
|
923
|
+
<quantity type="integer">1</quantity>
|
|
924
|
+
<account>
|
|
925
|
+
<account-code>account-list-num-3-1313708721</account-code>
|
|
926
|
+
<first-name>Verena</first-name>
|
|
927
|
+
<last-name>Test</last-name>
|
|
928
|
+
<email>verena@test.com</email>
|
|
929
|
+
<company-name>Recurly Ruby Gem</company-name>
|
|
930
|
+
<billing-info>
|
|
931
|
+
<first-name>Verena</first-name>
|
|
932
|
+
<last-name>Test</last-name>
|
|
933
|
+
<address1>123 Test St</address1>
|
|
934
|
+
<city>San Francisco</city>
|
|
935
|
+
<state>CA</state>
|
|
936
|
+
<zip>94115</zip>
|
|
937
|
+
<country>US</country>
|
|
938
|
+
<credit-card>
|
|
939
|
+
<number>4111111111111111</number>
|
|
940
|
+
<year type="integer">2012</year>
|
|
941
|
+
<month type="integer">9</month>
|
|
942
|
+
<verification-value>123</verification-value>
|
|
943
|
+
</credit-card>
|
|
944
|
+
</billing-info>
|
|
945
|
+
<accept-language nil="true"></accept-language>
|
|
946
|
+
<id>account-list-num-3-1313708721</id>
|
|
947
|
+
<username nil="true"></username>
|
|
948
|
+
<balance-in-cents type="integer">0</balance-in-cents>
|
|
949
|
+
<closed type="boolean">false</closed>
|
|
950
|
+
<hosted-login-token>4ce63e6677c342ffa7ec6440d764c1f0</hosted-login-token>
|
|
951
|
+
<created-at type="datetime">2011-09-22T22:01:29Z</created-at>
|
|
952
|
+
<state>active</state>
|
|
953
|
+
</account>
|
|
954
|
+
<addons type="array"/>
|
|
955
|
+
</subscription>
|
|
956
|
+
|
|
957
|
+
headers:
|
|
958
|
+
user-agent:
|
|
959
|
+
- Recurly Ruby Client v0.4.13
|
|
960
|
+
content-type:
|
|
664
961
|
- application/xml
|
|
665
|
-
response: !ruby/struct:VCR::Response
|
|
666
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
962
|
+
response: !ruby/struct:VCR::Response
|
|
963
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
667
964
|
code: 201
|
|
668
965
|
message: Created
|
|
669
|
-
headers:
|
|
670
|
-
content-type:
|
|
966
|
+
headers:
|
|
967
|
+
content-type:
|
|
671
968
|
- application/xml; charset=utf-8
|
|
672
|
-
cache-control:
|
|
969
|
+
cache-control:
|
|
673
970
|
- no-cache
|
|
674
|
-
x-ua-compatible:
|
|
971
|
+
x-ua-compatible:
|
|
675
972
|
- IE=Edge
|
|
676
|
-
set-cookie:
|
|
677
|
-
- _recurly_session=
|
|
678
|
-
|
|
679
|
-
server:
|
|
973
|
+
set-cookie:
|
|
974
|
+
- _recurly_session=00475ea8ce2d66a745c13d3e676dba3e; domain=.lvh.me; path=/; HttpOnly
|
|
975
|
+
server:
|
|
680
976
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
681
|
-
body:
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
-
|
|
695
|
-
|
|
977
|
+
body: |
|
|
978
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
979
|
+
<subscription>
|
|
980
|
+
<id>account-list-num-3-1313708721</id>
|
|
981
|
+
<account_code>account-list-num-3-1313708721</account_code>
|
|
982
|
+
<plan>
|
|
983
|
+
<plan_code>paid</plan_code>
|
|
984
|
+
<name>paid</name>
|
|
985
|
+
</plan>
|
|
986
|
+
<state>active</state>
|
|
987
|
+
<quantity type="integer">1</quantity>
|
|
988
|
+
<unit_amount_in_cents type="integer">1400</unit_amount_in_cents>
|
|
989
|
+
<total_amount_in_cents type="integer">1400</total_amount_in_cents>
|
|
990
|
+
<activated_at type="datetime">2011-09-22T22:01:34Z</activated_at>
|
|
991
|
+
<canceled_at nil="true" type="datetime"></canceled_at>
|
|
992
|
+
<expires_at nil="true" type="datetime"></expires_at>
|
|
993
|
+
<current_period_started_at type="datetime">2011-09-22T22:01:34Z</current_period_started_at>
|
|
994
|
+
<current_period_ends_at type="datetime">2011-10-22T22:01:34Z</current_period_ends_at>
|
|
995
|
+
<trial_started_at nil="true" type="datetime"></trial_started_at>
|
|
996
|
+
<trial_ends_at nil="true" type="datetime"></trial_ends_at>
|
|
997
|
+
<add_ons type="array">
|
|
998
|
+
</add_ons>
|
|
999
|
+
</subscription>
|
|
1000
|
+
|
|
1001
|
+
http_version: "1.1"
|
|
1002
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
1003
|
+
request: !ruby/struct:VCR::Request
|
|
696
1004
|
method: :get
|
|
697
|
-
uri: http://api
|
|
698
|
-
body:
|
|
699
|
-
headers:
|
|
700
|
-
user-agent:
|
|
701
|
-
- Recurly Ruby Client v0.4.
|
|
702
|
-
accept:
|
|
1005
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
|
1006
|
+
body:
|
|
1007
|
+
headers:
|
|
1008
|
+
user-agent:
|
|
1009
|
+
- Recurly Ruby Client v0.4.13
|
|
1010
|
+
accept:
|
|
703
1011
|
- application/xml
|
|
704
|
-
accept-encoding:
|
|
1012
|
+
accept-encoding:
|
|
705
1013
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
706
|
-
response: !ruby/struct:VCR::Response
|
|
707
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
1014
|
+
response: !ruby/struct:VCR::Response
|
|
1015
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
708
1016
|
code: 200
|
|
709
1017
|
message: OK
|
|
710
|
-
headers:
|
|
711
|
-
content-type:
|
|
1018
|
+
headers:
|
|
1019
|
+
content-type:
|
|
712
1020
|
- application/xml; charset=utf-8
|
|
713
|
-
etag:
|
|
714
|
-
-
|
|
715
|
-
cache-control:
|
|
1021
|
+
etag:
|
|
1022
|
+
- "\"5936b2c577dee7cfed54da4040a5097e\""
|
|
1023
|
+
cache-control:
|
|
716
1024
|
- max-age=0, private, must-revalidate
|
|
717
|
-
x-ua-compatible:
|
|
1025
|
+
x-ua-compatible:
|
|
718
1026
|
- IE=Edge
|
|
719
|
-
|
|
720
|
-
- _recurly_session=a55116bc21d975a6b2b94beb972ee48c; domain=.lvh.me; path=/;
|
|
721
|
-
HttpOnly
|
|
722
|
-
server:
|
|
1027
|
+
server:
|
|
723
1028
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
724
|
-
body:
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
1029
|
+
body: |
|
|
1030
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
1031
|
+
<accounts type="collection">
|
|
1032
|
+
<current_page type="integer">1</current_page>
|
|
1033
|
+
<per_page type="integer">20</per_page>
|
|
1034
|
+
<total_entries type="integer">11</total_entries>
|
|
1035
|
+
<account>
|
|
1036
|
+
<account_code>account-create-1313708721</account_code>
|
|
1037
|
+
<username></username>
|
|
1038
|
+
<email>verena@test.com</email>
|
|
1039
|
+
<first_name>Verena</first_name>
|
|
1040
|
+
<last_name>Test</last_name>
|
|
1041
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1042
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1043
|
+
</account>
|
|
1044
|
+
<account>
|
|
1045
|
+
<account_code>account-get-1313708721</account_code>
|
|
1046
|
+
<username></username>
|
|
1047
|
+
<email>verena@test.com</email>
|
|
1048
|
+
<first_name>Verena</first_name>
|
|
1049
|
+
<last_name>Test</last_name>
|
|
1050
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1051
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1052
|
+
</account>
|
|
1053
|
+
<account>
|
|
1054
|
+
<account_code>account-list-num-0-1313708721</account_code>
|
|
1055
|
+
<username></username>
|
|
1056
|
+
<email>verena@test.com</email>
|
|
1057
|
+
<first_name>Verena</first_name>
|
|
1058
|
+
<last_name>Test</last_name>
|
|
1059
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1060
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1061
|
+
</account>
|
|
1062
|
+
<account>
|
|
1063
|
+
<account_code>account-list-num-1-1313708721</account_code>
|
|
1064
|
+
<username></username>
|
|
1065
|
+
<email>verena@test.com</email>
|
|
1066
|
+
<first_name>Verena</first_name>
|
|
1067
|
+
<last_name>Test</last_name>
|
|
1068
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1069
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1070
|
+
</account>
|
|
1071
|
+
<account>
|
|
1072
|
+
<account_code>account-list-num-2-1313708721</account_code>
|
|
1073
|
+
<username></username>
|
|
1074
|
+
<email>verena@test.com</email>
|
|
1075
|
+
<first_name>Verena</first_name>
|
|
1076
|
+
<last_name>Test</last_name>
|
|
1077
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1078
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1079
|
+
</account>
|
|
1080
|
+
<account>
|
|
1081
|
+
<account_code>account-list-num-3-1313708721</account_code>
|
|
1082
|
+
<username></username>
|
|
1083
|
+
<email>verena@test.com</email>
|
|
1084
|
+
<first_name>Verena</first_name>
|
|
1085
|
+
<last_name>Test</last_name>
|
|
1086
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1087
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1088
|
+
</account>
|
|
1089
|
+
<account>
|
|
1090
|
+
<account_code>account-list-num-4-1313708721</account_code>
|
|
1091
|
+
<username></username>
|
|
1092
|
+
<email>verena@test.com</email>
|
|
1093
|
+
<first_name>Verena</first_name>
|
|
1094
|
+
<last_name>Test</last_name>
|
|
1095
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1096
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1097
|
+
</account>
|
|
1098
|
+
<account>
|
|
1099
|
+
<account_code>account-list-num-5-1313708721</account_code>
|
|
1100
|
+
<username></username>
|
|
1101
|
+
<email>verena@test.com</email>
|
|
1102
|
+
<first_name>Verena</first_name>
|
|
1103
|
+
<last_name>Test</last_name>
|
|
1104
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1105
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1106
|
+
</account>
|
|
1107
|
+
<account>
|
|
1108
|
+
<account_code>account-list-num-6-1313708721</account_code>
|
|
1109
|
+
<username></username>
|
|
1110
|
+
<email>verena@test.com</email>
|
|
1111
|
+
<first_name>Verena</first_name>
|
|
1112
|
+
<last_name>Test</last_name>
|
|
1113
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1114
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1115
|
+
</account>
|
|
1116
|
+
<account>
|
|
1117
|
+
<account_code>account-list-num-7-1313708721</account_code>
|
|
1118
|
+
<username></username>
|
|
1119
|
+
<email>verena@test.com</email>
|
|
1120
|
+
<first_name>Verena</first_name>
|
|
1121
|
+
<last_name>Test</last_name>
|
|
1122
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1123
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1124
|
+
</account>
|
|
1125
|
+
<account>
|
|
1126
|
+
<account_code>d00d-1313708721</account_code>
|
|
1127
|
+
<username></username>
|
|
1128
|
+
<email></email>
|
|
1129
|
+
<first_name></first_name>
|
|
1130
|
+
<last_name></last_name>
|
|
1131
|
+
<company_name></company_name>
|
|
1132
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1133
|
+
</account>
|
|
1134
|
+
</accounts>
|
|
1135
|
+
|
|
1136
|
+
http_version: "1.1"
|
|
1137
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
1138
|
+
request: !ruby/struct:VCR::Request
|
|
772
1139
|
method: :get
|
|
773
|
-
uri: http://api
|
|
774
|
-
body:
|
|
775
|
-
headers:
|
|
776
|
-
user-agent:
|
|
777
|
-
- Recurly Ruby Client v0.4.
|
|
778
|
-
accept:
|
|
1140
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml?show=active_subscribers
|
|
1141
|
+
body:
|
|
1142
|
+
headers:
|
|
1143
|
+
user-agent:
|
|
1144
|
+
- Recurly Ruby Client v0.4.13
|
|
1145
|
+
accept:
|
|
779
1146
|
- application/xml
|
|
780
|
-
accept-encoding:
|
|
1147
|
+
accept-encoding:
|
|
781
1148
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
782
|
-
response: !ruby/struct:VCR::Response
|
|
783
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
1149
|
+
response: !ruby/struct:VCR::Response
|
|
1150
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
784
1151
|
code: 200
|
|
785
1152
|
message: OK
|
|
786
|
-
headers:
|
|
787
|
-
content-type:
|
|
1153
|
+
headers:
|
|
1154
|
+
content-type:
|
|
788
1155
|
- application/xml; charset=utf-8
|
|
789
|
-
etag:
|
|
790
|
-
-
|
|
791
|
-
cache-control:
|
|
1156
|
+
etag:
|
|
1157
|
+
- "\"cd71abe0bebbfcf74311c85546fde64d\""
|
|
1158
|
+
cache-control:
|
|
792
1159
|
- max-age=0, private, must-revalidate
|
|
793
|
-
x-ua-compatible:
|
|
1160
|
+
x-ua-compatible:
|
|
794
1161
|
- IE=Edge
|
|
795
|
-
|
|
796
|
-
- _recurly_session=165fe3f70aa25f738080c19e4a4e8f5c; domain=.lvh.me; path=/;
|
|
797
|
-
HttpOnly
|
|
798
|
-
server:
|
|
1162
|
+
server:
|
|
799
1163
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
800
|
-
body:
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
1164
|
+
body: |
|
|
1165
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
1166
|
+
<accounts type="collection">
|
|
1167
|
+
<current_page type="integer">1</current_page>
|
|
1168
|
+
<per_page type="integer">20</per_page>
|
|
1169
|
+
<total_entries type="integer">4</total_entries>
|
|
1170
|
+
<account>
|
|
1171
|
+
<account_code>account-list-num-0-1313708721</account_code>
|
|
1172
|
+
<username></username>
|
|
1173
|
+
<email>verena@test.com</email>
|
|
1174
|
+
<first_name>Verena</first_name>
|
|
1175
|
+
<last_name>Test</last_name>
|
|
1176
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1177
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1178
|
+
</account>
|
|
1179
|
+
<account>
|
|
1180
|
+
<account_code>account-list-num-1-1313708721</account_code>
|
|
1181
|
+
<username></username>
|
|
1182
|
+
<email>verena@test.com</email>
|
|
1183
|
+
<first_name>Verena</first_name>
|
|
1184
|
+
<last_name>Test</last_name>
|
|
1185
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1186
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1187
|
+
</account>
|
|
1188
|
+
<account>
|
|
1189
|
+
<account_code>account-list-num-2-1313708721</account_code>
|
|
1190
|
+
<username></username>
|
|
1191
|
+
<email>verena@test.com</email>
|
|
1192
|
+
<first_name>Verena</first_name>
|
|
1193
|
+
<last_name>Test</last_name>
|
|
1194
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1195
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1196
|
+
</account>
|
|
1197
|
+
<account>
|
|
1198
|
+
<account_code>account-list-num-3-1313708721</account_code>
|
|
1199
|
+
<username></username>
|
|
1200
|
+
<email>verena@test.com</email>
|
|
1201
|
+
<first_name>Verena</first_name>
|
|
1202
|
+
<last_name>Test</last_name>
|
|
1203
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1204
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1205
|
+
</account>
|
|
1206
|
+
</accounts>
|
|
1207
|
+
|
|
1208
|
+
http_version: "1.1"
|
|
1209
|
+
- !ruby/struct:VCR::HTTPInteraction
|
|
1210
|
+
request: !ruby/struct:VCR::Request
|
|
821
1211
|
method: :get
|
|
822
|
-
uri: http://api
|
|
823
|
-
body:
|
|
824
|
-
headers:
|
|
825
|
-
user-agent:
|
|
826
|
-
- Recurly Ruby Client v0.4.
|
|
827
|
-
accept:
|
|
1212
|
+
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml?show=non_subscribers
|
|
1213
|
+
body:
|
|
1214
|
+
headers:
|
|
1215
|
+
user-agent:
|
|
1216
|
+
- Recurly Ruby Client v0.4.13
|
|
1217
|
+
accept:
|
|
828
1218
|
- application/xml
|
|
829
|
-
accept-encoding:
|
|
1219
|
+
accept-encoding:
|
|
830
1220
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
831
|
-
response: !ruby/struct:VCR::Response
|
|
832
|
-
status: !ruby/struct:VCR::ResponseStatus
|
|
1221
|
+
response: !ruby/struct:VCR::Response
|
|
1222
|
+
status: !ruby/struct:VCR::ResponseStatus
|
|
833
1223
|
code: 200
|
|
834
1224
|
message: OK
|
|
835
|
-
headers:
|
|
836
|
-
content-type:
|
|
1225
|
+
headers:
|
|
1226
|
+
content-type:
|
|
837
1227
|
- application/xml; charset=utf-8
|
|
838
|
-
etag:
|
|
839
|
-
-
|
|
840
|
-
cache-control:
|
|
1228
|
+
etag:
|
|
1229
|
+
- "\"c9a3579b86e3ce686c3b34b8fe87f87d\""
|
|
1230
|
+
cache-control:
|
|
841
1231
|
- max-age=0, private, must-revalidate
|
|
842
|
-
x-ua-compatible:
|
|
1232
|
+
x-ua-compatible:
|
|
843
1233
|
- IE=Edge
|
|
844
|
-
|
|
845
|
-
- _recurly_session=ea4d76ad357a50b53501fe2a8f59e6e9; domain=.lvh.me; path=/;
|
|
846
|
-
HttpOnly
|
|
847
|
-
server:
|
|
1234
|
+
server:
|
|
848
1235
|
- thin 1.2.11 codename Bat-Shit Crazy
|
|
849
|
-
body:
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1236
|
+
body: |
|
|
1237
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
1238
|
+
<accounts type="collection">
|
|
1239
|
+
<current_page type="integer">1</current_page>
|
|
1240
|
+
<per_page type="integer">20</per_page>
|
|
1241
|
+
<total_entries type="integer">7</total_entries>
|
|
1242
|
+
<account>
|
|
1243
|
+
<account_code>account-create-1313708721</account_code>
|
|
1244
|
+
<username></username>
|
|
1245
|
+
<email>verena@test.com</email>
|
|
1246
|
+
<first_name>Verena</first_name>
|
|
1247
|
+
<last_name>Test</last_name>
|
|
1248
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1249
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1250
|
+
</account>
|
|
1251
|
+
<account>
|
|
1252
|
+
<account_code>account-get-1313708721</account_code>
|
|
1253
|
+
<username></username>
|
|
1254
|
+
<email>verena@test.com</email>
|
|
1255
|
+
<first_name>Verena</first_name>
|
|
1256
|
+
<last_name>Test</last_name>
|
|
1257
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1258
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1259
|
+
</account>
|
|
1260
|
+
<account>
|
|
1261
|
+
<account_code>account-list-num-4-1313708721</account_code>
|
|
1262
|
+
<username></username>
|
|
1263
|
+
<email>verena@test.com</email>
|
|
1264
|
+
<first_name>Verena</first_name>
|
|
1265
|
+
<last_name>Test</last_name>
|
|
1266
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1267
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1268
|
+
</account>
|
|
1269
|
+
<account>
|
|
1270
|
+
<account_code>account-list-num-5-1313708721</account_code>
|
|
1271
|
+
<username></username>
|
|
1272
|
+
<email>verena@test.com</email>
|
|
1273
|
+
<first_name>Verena</first_name>
|
|
1274
|
+
<last_name>Test</last_name>
|
|
1275
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1276
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1277
|
+
</account>
|
|
1278
|
+
<account>
|
|
1279
|
+
<account_code>account-list-num-6-1313708721</account_code>
|
|
1280
|
+
<username></username>
|
|
1281
|
+
<email>verena@test.com</email>
|
|
1282
|
+
<first_name>Verena</first_name>
|
|
1283
|
+
<last_name>Test</last_name>
|
|
1284
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1285
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1286
|
+
</account>
|
|
1287
|
+
<account>
|
|
1288
|
+
<account_code>account-list-num-7-1313708721</account_code>
|
|
1289
|
+
<username></username>
|
|
1290
|
+
<email>verena@test.com</email>
|
|
1291
|
+
<first_name>Verena</first_name>
|
|
1292
|
+
<last_name>Test</last_name>
|
|
1293
|
+
<company_name>Recurly Ruby Gem</company_name>
|
|
1294
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1295
|
+
</account>
|
|
1296
|
+
<account>
|
|
1297
|
+
<account_code>d00d-1313708721</account_code>
|
|
1298
|
+
<username></username>
|
|
1299
|
+
<email></email>
|
|
1300
|
+
<first_name></first_name>
|
|
1301
|
+
<last_name></last_name>
|
|
1302
|
+
<company_name></company_name>
|
|
1303
|
+
<balance_in_cents type="integer">0</balance_in_cents>
|
|
1304
|
+
</account>
|
|
1305
|
+
</accounts>
|
|
1306
|
+
|
|
1307
|
+
http_version: "1.1"
|