recurly 0.2.9 → 0.3.0
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/lib/recurly.rb +13 -5
- data/lib/recurly/rails3/railtie.rb +1 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381765.yml +15 -15
- data/spec/vcr/account/create-blank/1288381765.yml +3 -3
- data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
- data/spec/vcr/account/create-min/1288381765.yml +6 -6
- data/spec/vcr/account/create/1288381765.yml +6 -6
- data/spec/vcr/account/find/1288381765.yml +14 -14
- data/spec/vcr/account/list/1288381765.yml +251 -530
- data/spec/vcr/account/update/1288381765.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +20 -20
- data/spec/vcr/billing/destroy/1286682213.yml +29 -29
- data/spec/vcr/billing/find/1286682213.yml +25 -25
- data/spec/vcr/billing/update/1286682213.yml +27 -27
- data/spec/vcr/charge/create/1287465632.yml +31 -29
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
- data/spec/vcr/charge/list-all/1287465632.yml +43 -40
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
- data/spec/vcr/charge/lookup/1287465632.yml +24 -22
- data/spec/vcr/credit/create/1287461400.yml +24 -22
- data/spec/vcr/credit/delete/1287461400.yml +31 -29
- data/spec/vcr/credit/list/1287461400.yml +47 -41
- data/spec/vcr/credit/lookup/1287461400.yml +23 -21
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
- data/spec/vcr/invoice/create/1287167121.yml +42 -40
- data/spec/vcr/invoice/list/1287167121.yml +59 -57
- data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +12 -12
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
- data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
- data/spec/vcr/subscription/change1/1287455769.yml +39 -39
- data/spec/vcr/subscription/change2/1287455769.yml +39 -39
- data/spec/vcr/subscription/create/1287455769.yml +18 -18
- data/spec/vcr/subscription/find/1287455769.yml +25 -25
- data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
- data/spec/vcr/transaction/all/1289558212.yml +363 -54
- data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
- data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
- data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
- data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
- data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
- data/spec/vcr/transaction/refund/1289558212.yml +82 -90
- data/spec/vcr/transaction/void/1289558212.yml +377 -143
- metadata +4 -72
- data/spec/vcr/account/close/1287167046.yml +0 -159
- data/spec/vcr/account/close/1288381369.yml +0 -159
- data/spec/vcr/account/close/1288381447.yml +0 -159
- data/spec/vcr/account/create-blank/1287167046.yml +0 -49
- data/spec/vcr/account/create-blank/1288381369.yml +0 -49
- data/spec/vcr/account/create-blank/1288381447.yml +0 -49
- data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
- data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
- data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
- data/spec/vcr/account/create-min/1287167046.yml +0 -63
- data/spec/vcr/account/create-min/1288381369.yml +0 -63
- data/spec/vcr/account/create-min/1288381447.yml +0 -63
- data/spec/vcr/account/create/1287167046.yml +0 -67
- data/spec/vcr/account/create/1288381369.yml +0 -67
- data/spec/vcr/account/create/1288381447.yml +0 -67
- data/spec/vcr/account/find-all/1288381369.yml +0 -52
- data/spec/vcr/account/find-all/1288381447.yml +0 -1383
- data/spec/vcr/account/find/1287167046.yml +0 -160
- data/spec/vcr/account/find/1288381369.yml +0 -160
- data/spec/vcr/account/find/1288381447.yml +0 -160
- data/spec/vcr/account/list/1287167046.yml +0 -1538
- data/spec/vcr/account/list/1288381369.yml +0 -1835
- data/spec/vcr/account/list/1288381447.yml +0 -1835
- data/spec/vcr/account/update/1287167046.yml +0 -250
- data/spec/vcr/account/update/1288381369.yml +0 -250
- data/spec/vcr/account/update/1288381447.yml +0 -250
- data/spec/vcr/transaction/all/1287186411.yml +0 -387
- data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
- data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
- data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
- data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
- data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
- data/spec/vcr/transaction/refund/1287186411.yml +0 -282
- data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -1,160 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-get-1287167046</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
content-type:
|
20
|
-
- application/xml
|
21
|
-
connection:
|
22
|
-
- close
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-get-1287167046
|
32
|
-
content-type:
|
33
|
-
- application/xml; charset=utf-8
|
34
|
-
connection:
|
35
|
-
- close
|
36
|
-
server:
|
37
|
-
- nginx/0.7.65
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 05:20:51 GMT
|
40
|
-
x-runtime:
|
41
|
-
- "584"
|
42
|
-
content-length:
|
43
|
-
- "577"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=1943f8a86af5d07af4809182a4d452534596be5ff27913973efe863c58bb16e29b3f67de73c1e4394caf391356044168edf6d8dbdfbd79c635a35851a6cc8288%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=d39ed44a28598631d7a86ff72797a5c1; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>account-get-1287167046</id>
|
54
|
-
<account_code>account-get-1287167046</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>9abe15fe9647463dae31ed0a5a0e4e5e</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T05:20:51Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :get
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-1287167046.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
etag:
|
88
|
-
- "\"1da15f137b98b37d19088f6d5563546a\""
|
89
|
-
content-type:
|
90
|
-
- application/xml; charset=utf-8
|
91
|
-
connection:
|
92
|
-
- close
|
93
|
-
server:
|
94
|
-
- nginx/0.7.65
|
95
|
-
date:
|
96
|
-
- Tue, 19 Oct 2010 05:20:51 GMT
|
97
|
-
x-runtime:
|
98
|
-
- "74"
|
99
|
-
content-length:
|
100
|
-
- "577"
|
101
|
-
set-cookie:
|
102
|
-
- _recurly_session=341525822b23a30c42999594f096b94e; domain=.recurly.com; path=/; Secure; HttpOnly
|
103
|
-
cache-control:
|
104
|
-
- private, max-age=0, must-revalidate
|
105
|
-
body: |
|
106
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
107
|
-
<account>
|
108
|
-
<id>account-get-1287167046</id>
|
109
|
-
<account_code>account-get-1287167046</account_code>
|
110
|
-
<username></username>
|
111
|
-
<email>verena@test.com</email>
|
112
|
-
<first_name>Verena</first_name>
|
113
|
-
<last_name>Test</last_name>
|
114
|
-
<company_name>Recurly Ruby Gem</company_name>
|
115
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
116
|
-
<closed type="boolean">false</closed>
|
117
|
-
<hosted_login_token>9abe15fe9647463dae31ed0a5a0e4e5e</hosted_login_token>
|
118
|
-
<created_at type="datetime">2010-10-19T05:20:51Z</created_at>
|
119
|
-
<state>active</state>
|
120
|
-
</account>
|
121
|
-
|
122
|
-
http_version: "1.1"
|
123
|
-
- !ruby/struct:VCR::HTTPInteraction
|
124
|
-
request: !ruby/struct:VCR::Request
|
125
|
-
method: :get
|
126
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-that-doesnt-exist.xml
|
127
|
-
body:
|
128
|
-
headers:
|
129
|
-
accept:
|
130
|
-
- application/xml
|
131
|
-
connection:
|
132
|
-
- close
|
133
|
-
authorization:
|
134
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
135
|
-
response: !ruby/struct:VCR::Response
|
136
|
-
status: !ruby/struct:VCR::ResponseStatus
|
137
|
-
code: 404
|
138
|
-
message: Not Found
|
139
|
-
headers:
|
140
|
-
connection:
|
141
|
-
- close
|
142
|
-
content-type:
|
143
|
-
- application/xml; charset=utf-8
|
144
|
-
date:
|
145
|
-
- Tue, 19 Oct 2010 05:20:52 GMT
|
146
|
-
server:
|
147
|
-
- nginx/0.7.65
|
148
|
-
content-length:
|
149
|
-
- "93"
|
150
|
-
set-cookie:
|
151
|
-
- _recurly_session=8692dbbc79a50c221299df9b769a4c16; domain=.recurly.com; path=/; Secure; HttpOnly
|
152
|
-
cache-control:
|
153
|
-
- no-cache
|
154
|
-
body: |
|
155
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
156
|
-
<errors>
|
157
|
-
<error>Account not found</error>
|
158
|
-
</errors>
|
159
|
-
|
160
|
-
http_version: "1.1"
|
@@ -1,160 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-get-1288381369</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
content-type:
|
20
|
-
- application/xml
|
21
|
-
connection:
|
22
|
-
- close
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-get-1288381369
|
32
|
-
content-type:
|
33
|
-
- application/xml; charset=utf-8
|
34
|
-
connection:
|
35
|
-
- close
|
36
|
-
server:
|
37
|
-
- nginx/0.7.65
|
38
|
-
date:
|
39
|
-
- Fri, 29 Oct 2010 19:43:00 GMT
|
40
|
-
x-runtime:
|
41
|
-
- "672"
|
42
|
-
content-length:
|
43
|
-
- "577"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=01a5ec64e1635891ced399400cacef43fe3a1c6d8d71b3c1623e310fc2320cbf6aeb5d78df1d6272be4b8c4e05806e0194839064d3afd75049f985d28b3928b8%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=922814950c456ce59466f662b8b6b615; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>account-get-1288381369</id>
|
54
|
-
<account_code>account-get-1288381369</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>10dbd57c956c4455969ede8053ec73b9</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-29T19:43:00Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :get
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-1288381369.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
etag:
|
88
|
-
- "\"0a8abdd0c1ca77e1ba3502e99fe4c0f0\""
|
89
|
-
content-type:
|
90
|
-
- application/xml; charset=utf-8
|
91
|
-
connection:
|
92
|
-
- close
|
93
|
-
server:
|
94
|
-
- nginx/0.7.65
|
95
|
-
date:
|
96
|
-
- Fri, 29 Oct 2010 19:43:01 GMT
|
97
|
-
x-runtime:
|
98
|
-
- "50"
|
99
|
-
content-length:
|
100
|
-
- "577"
|
101
|
-
set-cookie:
|
102
|
-
- _recurly_session=61f7439541e57949e286af1327067b54; domain=.recurly.com; path=/; Secure; HttpOnly
|
103
|
-
cache-control:
|
104
|
-
- private, max-age=0, must-revalidate
|
105
|
-
body: |
|
106
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
107
|
-
<account>
|
108
|
-
<id>account-get-1288381369</id>
|
109
|
-
<account_code>account-get-1288381369</account_code>
|
110
|
-
<username></username>
|
111
|
-
<email>verena@test.com</email>
|
112
|
-
<first_name>Verena</first_name>
|
113
|
-
<last_name>Test</last_name>
|
114
|
-
<company_name>Recurly Ruby Gem</company_name>
|
115
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
116
|
-
<closed type="boolean">false</closed>
|
117
|
-
<hosted_login_token>10dbd57c956c4455969ede8053ec73b9</hosted_login_token>
|
118
|
-
<created_at type="datetime">2010-10-29T19:43:00Z</created_at>
|
119
|
-
<state>active</state>
|
120
|
-
</account>
|
121
|
-
|
122
|
-
http_version: "1.1"
|
123
|
-
- !ruby/struct:VCR::HTTPInteraction
|
124
|
-
request: !ruby/struct:VCR::Request
|
125
|
-
method: :get
|
126
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-that-doesnt-exist.xml
|
127
|
-
body:
|
128
|
-
headers:
|
129
|
-
accept:
|
130
|
-
- application/xml
|
131
|
-
connection:
|
132
|
-
- close
|
133
|
-
authorization:
|
134
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
135
|
-
response: !ruby/struct:VCR::Response
|
136
|
-
status: !ruby/struct:VCR::ResponseStatus
|
137
|
-
code: 404
|
138
|
-
message: Not Found
|
139
|
-
headers:
|
140
|
-
connection:
|
141
|
-
- close
|
142
|
-
content-type:
|
143
|
-
- application/xml; charset=utf-8
|
144
|
-
date:
|
145
|
-
- Fri, 29 Oct 2010 19:43:02 GMT
|
146
|
-
server:
|
147
|
-
- nginx/0.7.65
|
148
|
-
content-length:
|
149
|
-
- "93"
|
150
|
-
set-cookie:
|
151
|
-
- _recurly_session=715786bdd704dfd1e6919c8d3922eead; domain=.recurly.com; path=/; Secure; HttpOnly
|
152
|
-
cache-control:
|
153
|
-
- no-cache
|
154
|
-
body: |
|
155
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
156
|
-
<errors>
|
157
|
-
<error>Account not found</error>
|
158
|
-
</errors>
|
159
|
-
|
160
|
-
http_version: "1.1"
|
@@ -1,160 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-get-1288381447</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
content-type:
|
20
|
-
- application/xml
|
21
|
-
connection:
|
22
|
-
- close
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-get-1288381447
|
32
|
-
content-type:
|
33
|
-
- application/xml; charset=utf-8
|
34
|
-
connection:
|
35
|
-
- close
|
36
|
-
server:
|
37
|
-
- nginx/0.7.65
|
38
|
-
date:
|
39
|
-
- Fri, 29 Oct 2010 19:44:16 GMT
|
40
|
-
x-runtime:
|
41
|
-
- "671"
|
42
|
-
content-length:
|
43
|
-
- "577"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=a4a247b69aad3cba780cdd17489bc39f28e1f800c50a8fb3bf917128c238a73a8c78d32fff9b05a9d355e74b48944283bd443f060281f0b093156e9d4bf19c00%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=c7971928f829deaadd275da2065b054c; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>account-get-1288381447</id>
|
54
|
-
<account_code>account-get-1288381447</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>bf5ac196e17f4119bec767c5244a8711</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-29T19:44:16Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :get
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-get-1288381447.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
etag:
|
88
|
-
- "\"e72003151457eee8628c403389b32df8\""
|
89
|
-
content-type:
|
90
|
-
- application/xml; charset=utf-8
|
91
|
-
connection:
|
92
|
-
- close
|
93
|
-
server:
|
94
|
-
- nginx/0.7.65
|
95
|
-
date:
|
96
|
-
- Fri, 29 Oct 2010 19:44:17 GMT
|
97
|
-
x-runtime:
|
98
|
-
- "51"
|
99
|
-
content-length:
|
100
|
-
- "577"
|
101
|
-
set-cookie:
|
102
|
-
- _recurly_session=10b1b7a2cb5262ad37272971d8ea0e50; domain=.recurly.com; path=/; Secure; HttpOnly
|
103
|
-
cache-control:
|
104
|
-
- private, max-age=0, must-revalidate
|
105
|
-
body: |
|
106
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
107
|
-
<account>
|
108
|
-
<id>account-get-1288381447</id>
|
109
|
-
<account_code>account-get-1288381447</account_code>
|
110
|
-
<username></username>
|
111
|
-
<email>verena@test.com</email>
|
112
|
-
<first_name>Verena</first_name>
|
113
|
-
<last_name>Test</last_name>
|
114
|
-
<company_name>Recurly Ruby Gem</company_name>
|
115
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
116
|
-
<closed type="boolean">false</closed>
|
117
|
-
<hosted_login_token>bf5ac196e17f4119bec767c5244a8711</hosted_login_token>
|
118
|
-
<created_at type="datetime">2010-10-29T19:44:16Z</created_at>
|
119
|
-
<state>active</state>
|
120
|
-
</account>
|
121
|
-
|
122
|
-
http_version: "1.1"
|
123
|
-
- !ruby/struct:VCR::HTTPInteraction
|
124
|
-
request: !ruby/struct:VCR::Request
|
125
|
-
method: :get
|
126
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-that-doesnt-exist.xml
|
127
|
-
body:
|
128
|
-
headers:
|
129
|
-
accept:
|
130
|
-
- application/xml
|
131
|
-
connection:
|
132
|
-
- close
|
133
|
-
authorization:
|
134
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
135
|
-
response: !ruby/struct:VCR::Response
|
136
|
-
status: !ruby/struct:VCR::ResponseStatus
|
137
|
-
code: 404
|
138
|
-
message: Not Found
|
139
|
-
headers:
|
140
|
-
connection:
|
141
|
-
- close
|
142
|
-
content-type:
|
143
|
-
- application/xml; charset=utf-8
|
144
|
-
date:
|
145
|
-
- Fri, 29 Oct 2010 19:44:18 GMT
|
146
|
-
server:
|
147
|
-
- nginx/0.7.65
|
148
|
-
content-length:
|
149
|
-
- "93"
|
150
|
-
set-cookie:
|
151
|
-
- _recurly_session=7744745b8966d248b85dd1d8ef25a4e7; domain=.recurly.com; path=/; Secure; HttpOnly
|
152
|
-
cache-control:
|
153
|
-
- no-cache
|
154
|
-
body: |
|
155
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
156
|
-
<errors>
|
157
|
-
<error>Account not found</error>
|
158
|
-
</errors>
|
159
|
-
|
160
|
-
http_version: "1.1"
|