recurly 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/README.md +3 -2
- data/lib/recurly/invoice.rb +1 -1
- data/lib/recurly/subscription.rb +1 -1
- data/lib/recurly/transaction.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/subscription_spec.rb +29 -8
- data/spec/vcr/account/close/1286666929.yml +159 -0
- data/spec/vcr/account/create-blank/1286666929.yml +49 -0
- data/spec/vcr/account/create-duplicate/1286666929.yml +95 -0
- data/spec/vcr/account/create-min/1286666929.yml +63 -0
- data/spec/vcr/account/create/1286666929.yml +67 -0
- data/spec/vcr/account/find/1286666929.yml +122 -0
- data/spec/vcr/account/list/1286666929.yml +1565 -0
- data/spec/vcr/account/update/1286666929.yml +250 -0
- data/spec/vcr/billing/create/1286682213.yml +210 -0
- data/spec/vcr/billing/destroy/1286682213.yml +309 -0
- data/spec/vcr/billing/find/1286682213.yml +273 -0
- data/spec/vcr/billing/update/1286682213.yml +292 -0
- data/spec/vcr/charge/create/1286681273.yml +253 -0
- data/spec/vcr/charge/list-all/1286681273.yml +302 -0
- data/spec/vcr/charge/list-invoiced/1286681273.yml +445 -0
- data/spec/vcr/charge/list-pending/1286681273.yml +302 -0
- data/spec/vcr/charge/lookup/1286681273.yml +171 -0
- data/spec/vcr/credit/create/1286681343.yml +171 -0
- data/spec/vcr/credit/list/1286681343.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +171 -0
- data/spec/vcr/invoice/create/1286679184.yml +337 -0
- data/spec/vcr/invoice/list/1286679184.yml +458 -0
- data/spec/vcr/invoice/lookup/1286679184.yml +341 -0
- data/spec/vcr/plan/all.yml +306 -0
- data/spec/vcr/plan/delete/1286677585.yml +217 -0
- data/spec/vcr/plan/find.yml +196 -0
- data/spec/vcr/plan/update.yml +197 -0
- data/spec/vcr/subscription/cancel/1287036910.yml +401 -0
- data/spec/vcr/subscription/cancel/1287037325.yml +401 -0
- data/spec/vcr/subscription/cancel/1287037363.yml +401 -0
- data/spec/vcr/subscription/change1/1287036910.yml +409 -0
- data/spec/vcr/subscription/change1/1287037152.yml +409 -0
- data/spec/vcr/subscription/change1/1287037325.yml +409 -0
- data/spec/vcr/subscription/change1/1287037363.yml +409 -0
- data/spec/vcr/subscription/change2/1287036910.yml +409 -0
- data/spec/vcr/subscription/change2/1287037152.yml +283 -0
- data/spec/vcr/subscription/change2/1287037325.yml +283 -0
- data/spec/vcr/subscription/change2/1287037363.yml +409 -0
- data/spec/vcr/subscription/create/1287036910.yml +224 -0
- data/spec/vcr/subscription/create/1287037152.yml +224 -0
- data/spec/vcr/subscription/create/1287037325.yml +224 -0
- data/spec/vcr/subscription/create/1287037363.yml +224 -0
- data/spec/vcr/subscription/find/1287036910.yml +283 -0
- data/spec/vcr/subscription/find/1287037152.yml +283 -0
- data/spec/vcr/subscription/find/1287037325.yml +283 -0
- data/spec/vcr/subscription/find/1287037363.yml +283 -0
- data/spec/vcr/subscription/refund/1287036910.yml +382 -0
- data/spec/vcr/subscription/refund/1287037325.yml +382 -0
- data/spec/vcr/subscription/refund/1287037363.yml +382 -0
- data/spec/vcr/transaction/all/1286674805.yml +387 -0
- data/spec/vcr/transaction/create-no-account/1286674805.yml +91 -0
- data/spec/vcr/transaction/create-with-account/1286674805.yml +220 -0
- data/spec/vcr/transaction/list-empty/1286674805.yml +212 -0
- data/spec/vcr/transaction/list-filled/1286674805.yml +476 -0
- data/spec/vcr/transaction/lookup/1286674805.yml +548 -0
- data/spec/vcr/transaction/refund/1286674805.yml +220 -0
- data/spec/vcr/transaction/void/1286674805.yml +668 -0
- metadata +118 -4
@@ -0,0 +1,171 @@
|
|
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>credit-create-1286681343</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
|
+
connection:
|
20
|
+
- close
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
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/credit-create-1286681343
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "569"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:16:26 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "581"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=48866e1acaec7717eed35c862dcf4252de8b2996edc27e743d037923bd720518d73aad2b76931640eb2a38d4361316cc0eab7a66d85b8bc2d109e2ca8ff5588c%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=fd2fb6b6fa934335ca915b0c5f68b558; 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>credit-create-1286681343</id>
|
54
|
+
<account_code>credit-create-1286681343</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>829b3a0fa29c449f97ce62bba8504ec5</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:16:26Z</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: :post
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<credit>
|
75
|
+
<amount type="float">10.05</amount>
|
76
|
+
<description>free moniez</description>
|
77
|
+
</credit>
|
78
|
+
|
79
|
+
headers:
|
80
|
+
accept:
|
81
|
+
- "*/*"
|
82
|
+
connection:
|
83
|
+
- close
|
84
|
+
content-type:
|
85
|
+
- application/xml
|
86
|
+
authorization:
|
87
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
+
response: !ruby/struct:VCR::Response
|
89
|
+
status: !ruby/struct:VCR::ResponseStatus
|
90
|
+
code: 201
|
91
|
+
message: Created
|
92
|
+
headers:
|
93
|
+
connection:
|
94
|
+
- close
|
95
|
+
content-type:
|
96
|
+
- application/xml; charset=utf-8
|
97
|
+
x-runtime:
|
98
|
+
- "63"
|
99
|
+
date:
|
100
|
+
- Thu, 14 Oct 2010 06:16:26 GMT
|
101
|
+
server:
|
102
|
+
- nginx/0.7.65
|
103
|
+
content-length:
|
104
|
+
- "450"
|
105
|
+
set-cookie:
|
106
|
+
- _recurly_session=dd0eadb3b14059523e8fb9e0ae65867b; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
+
cache-control:
|
108
|
+
- no-cache
|
109
|
+
body: |
|
110
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
+
<credit type="credit">
|
112
|
+
<id>5aa82325d82044dd9d452ce9514b3952</id>
|
113
|
+
<account_code>credit-create-1286681343</account_code>
|
114
|
+
<amount_in_cents type="integer">-1005</amount_in_cents>
|
115
|
+
<start_date type="datetime">2010-10-14T06:16:26Z</start_date>
|
116
|
+
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<description>free moniez</description>
|
118
|
+
<created_at type="datetime">2010-10-14T06:16:26Z</created_at>
|
119
|
+
</credit>
|
120
|
+
|
121
|
+
http_version: "1.1"
|
122
|
+
- !ruby/struct:VCR::HTTPInteraction
|
123
|
+
request: !ruby/struct:VCR::Request
|
124
|
+
method: :get
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits/5aa82325d82044dd9d452ce9514b3952.xml
|
126
|
+
body:
|
127
|
+
headers:
|
128
|
+
accept:
|
129
|
+
- application/xml
|
130
|
+
connection:
|
131
|
+
- close
|
132
|
+
authorization:
|
133
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
134
|
+
response: !ruby/struct:VCR::Response
|
135
|
+
status: !ruby/struct:VCR::ResponseStatus
|
136
|
+
code: 200
|
137
|
+
message: OK
|
138
|
+
headers:
|
139
|
+
x-ua-compatible:
|
140
|
+
- IE=Edge
|
141
|
+
etag:
|
142
|
+
- "\"05f05b28e7e8b008a21710dd8bdfd580\""
|
143
|
+
connection:
|
144
|
+
- close
|
145
|
+
content-type:
|
146
|
+
- application/xml; charset=utf-8
|
147
|
+
x-runtime:
|
148
|
+
- "175"
|
149
|
+
date:
|
150
|
+
- Thu, 14 Oct 2010 06:16:27 GMT
|
151
|
+
server:
|
152
|
+
- nginx/0.7.65
|
153
|
+
content-length:
|
154
|
+
- "450"
|
155
|
+
set-cookie:
|
156
|
+
- _recurly_session=f017b4b09bc117c2aa881080f660d25a; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
|
+
cache-control:
|
158
|
+
- private, max-age=0, must-revalidate
|
159
|
+
body: |
|
160
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
161
|
+
<credit type="credit">
|
162
|
+
<id>5aa82325d82044dd9d452ce9514b3952</id>
|
163
|
+
<account_code>credit-create-1286681343</account_code>
|
164
|
+
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
+
<start_date type="datetime">2010-10-14T06:16:26Z</start_date>
|
166
|
+
<end_date nil="true" type="datetime"></end_date>
|
167
|
+
<description>free moniez</description>
|
168
|
+
<created_at type="datetime">2010-10-14T06:16:26Z</created_at>
|
169
|
+
</credit>
|
170
|
+
|
171
|
+
http_version: "1.1"
|
@@ -0,0 +1,299 @@
|
|
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>credit-list-1286681343</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
|
+
connection:
|
20
|
+
- close
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
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/credit-list-1286681343
|
32
|
+
connection:
|
33
|
+
- close
|
34
|
+
content-type:
|
35
|
+
- application/xml; charset=utf-8
|
36
|
+
x-runtime:
|
37
|
+
- "569"
|
38
|
+
date:
|
39
|
+
- Thu, 14 Oct 2010 06:16:29 GMT
|
40
|
+
server:
|
41
|
+
- nginx/0.7.65
|
42
|
+
content-length:
|
43
|
+
- "577"
|
44
|
+
set-cookie:
|
45
|
+
- account_credentials=0eba25ce0adec1b04a5d7aad72f2b31608143cbea2938d3c5c41ef094b95aac4acfb43a251387c384d2546d589bbe1c10ba01b68487c6a5b5ded68daec5715ab%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
+
- ""
|
47
|
+
- _recurly_session=cb9d0f88e325059b263a38ba6546a1af; 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>credit-list-1286681343</id>
|
54
|
+
<account_code>credit-list-1286681343</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>a03a5394b63e4155bb74d83e18781486</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-14T06:16:29Z</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: :post
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-list-1286681343/credits.xml
|
72
|
+
body: |
|
73
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
+
<credit>
|
75
|
+
<amount type="integer">1</amount>
|
76
|
+
<description>one</description>
|
77
|
+
</credit>
|
78
|
+
|
79
|
+
headers:
|
80
|
+
accept:
|
81
|
+
- "*/*"
|
82
|
+
connection:
|
83
|
+
- close
|
84
|
+
content-type:
|
85
|
+
- application/xml
|
86
|
+
authorization:
|
87
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
88
|
+
response: !ruby/struct:VCR::Response
|
89
|
+
status: !ruby/struct:VCR::ResponseStatus
|
90
|
+
code: 201
|
91
|
+
message: Created
|
92
|
+
headers:
|
93
|
+
connection:
|
94
|
+
- close
|
95
|
+
content-type:
|
96
|
+
- application/xml; charset=utf-8
|
97
|
+
x-runtime:
|
98
|
+
- "200"
|
99
|
+
date:
|
100
|
+
- Thu, 14 Oct 2010 06:16:30 GMT
|
101
|
+
server:
|
102
|
+
- nginx/0.7.65
|
103
|
+
content-length:
|
104
|
+
- "439"
|
105
|
+
set-cookie:
|
106
|
+
- _recurly_session=771fa9c56e86ef13e3268d20c8528c17; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
|
+
cache-control:
|
108
|
+
- no-cache
|
109
|
+
body: |
|
110
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
111
|
+
<credit type="credit">
|
112
|
+
<id>69d556c388594e828b970b10907b56ea</id>
|
113
|
+
<account_code>credit-list-1286681343</account_code>
|
114
|
+
<amount_in_cents type="integer">-100</amount_in_cents>
|
115
|
+
<start_date type="datetime">2010-10-14T06:16:29Z</start_date>
|
116
|
+
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<description>one</description>
|
118
|
+
<created_at type="datetime">2010-10-14T06:16:29Z</created_at>
|
119
|
+
</credit>
|
120
|
+
|
121
|
+
http_version: "1.1"
|
122
|
+
- !ruby/struct:VCR::HTTPInteraction
|
123
|
+
request: !ruby/struct:VCR::Request
|
124
|
+
method: :post
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-list-1286681343/credits.xml
|
126
|
+
body: |
|
127
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
128
|
+
<credit>
|
129
|
+
<amount type="integer">2</amount>
|
130
|
+
<description>two</description>
|
131
|
+
</credit>
|
132
|
+
|
133
|
+
headers:
|
134
|
+
accept:
|
135
|
+
- "*/*"
|
136
|
+
connection:
|
137
|
+
- close
|
138
|
+
content-type:
|
139
|
+
- application/xml
|
140
|
+
authorization:
|
141
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
142
|
+
response: !ruby/struct:VCR::Response
|
143
|
+
status: !ruby/struct:VCR::ResponseStatus
|
144
|
+
code: 201
|
145
|
+
message: Created
|
146
|
+
headers:
|
147
|
+
connection:
|
148
|
+
- close
|
149
|
+
content-type:
|
150
|
+
- application/xml; charset=utf-8
|
151
|
+
x-runtime:
|
152
|
+
- "42"
|
153
|
+
date:
|
154
|
+
- Thu, 14 Oct 2010 06:16:30 GMT
|
155
|
+
server:
|
156
|
+
- nginx/0.7.65
|
157
|
+
content-length:
|
158
|
+
- "439"
|
159
|
+
set-cookie:
|
160
|
+
- _recurly_session=2ab7e76c7742898e851a42a00d02e6b3; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
|
+
cache-control:
|
162
|
+
- no-cache
|
163
|
+
body: |
|
164
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
165
|
+
<credit type="credit">
|
166
|
+
<id>8267f1f02c87421cbab9307ef6e85287</id>
|
167
|
+
<account_code>credit-list-1286681343</account_code>
|
168
|
+
<amount_in_cents type="integer">-200</amount_in_cents>
|
169
|
+
<start_date type="datetime">2010-10-14T06:16:30Z</start_date>
|
170
|
+
<end_date nil="true" type="datetime"></end_date>
|
171
|
+
<description>two</description>
|
172
|
+
<created_at type="datetime">2010-10-14T06:16:30Z</created_at>
|
173
|
+
</credit>
|
174
|
+
|
175
|
+
http_version: "1.1"
|
176
|
+
- !ruby/struct:VCR::HTTPInteraction
|
177
|
+
request: !ruby/struct:VCR::Request
|
178
|
+
method: :post
|
179
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-list-1286681343/credits.xml
|
180
|
+
body: |
|
181
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
182
|
+
<credit>
|
183
|
+
<amount type="integer">3</amount>
|
184
|
+
<description>three</description>
|
185
|
+
</credit>
|
186
|
+
|
187
|
+
headers:
|
188
|
+
accept:
|
189
|
+
- "*/*"
|
190
|
+
connection:
|
191
|
+
- close
|
192
|
+
content-type:
|
193
|
+
- application/xml
|
194
|
+
authorization:
|
195
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
196
|
+
response: !ruby/struct:VCR::Response
|
197
|
+
status: !ruby/struct:VCR::ResponseStatus
|
198
|
+
code: 201
|
199
|
+
message: Created
|
200
|
+
headers:
|
201
|
+
connection:
|
202
|
+
- close
|
203
|
+
content-type:
|
204
|
+
- application/xml; charset=utf-8
|
205
|
+
x-runtime:
|
206
|
+
- "43"
|
207
|
+
date:
|
208
|
+
- Thu, 14 Oct 2010 06:16:31 GMT
|
209
|
+
server:
|
210
|
+
- nginx/0.7.65
|
211
|
+
content-length:
|
212
|
+
- "441"
|
213
|
+
set-cookie:
|
214
|
+
- _recurly_session=26580e8575a8c94c0b42110f3cf7a658; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
|
+
cache-control:
|
216
|
+
- no-cache
|
217
|
+
body: |
|
218
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
219
|
+
<credit type="credit">
|
220
|
+
<id>e1965137a2c04d4e9834a7f13df48f4c</id>
|
221
|
+
<account_code>credit-list-1286681343</account_code>
|
222
|
+
<amount_in_cents type="integer">-300</amount_in_cents>
|
223
|
+
<start_date type="datetime">2010-10-14T06:16:31Z</start_date>
|
224
|
+
<end_date nil="true" type="datetime"></end_date>
|
225
|
+
<description>three</description>
|
226
|
+
<created_at type="datetime">2010-10-14T06:16:31Z</created_at>
|
227
|
+
</credit>
|
228
|
+
|
229
|
+
http_version: "1.1"
|
230
|
+
- !ruby/struct:VCR::HTTPInteraction
|
231
|
+
request: !ruby/struct:VCR::Request
|
232
|
+
method: :get
|
233
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-list-1286681343/credits.xml
|
234
|
+
body:
|
235
|
+
headers:
|
236
|
+
accept:
|
237
|
+
- application/xml
|
238
|
+
connection:
|
239
|
+
- close
|
240
|
+
authorization:
|
241
|
+
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
242
|
+
response: !ruby/struct:VCR::Response
|
243
|
+
status: !ruby/struct:VCR::ResponseStatus
|
244
|
+
code: 200
|
245
|
+
message: OK
|
246
|
+
headers:
|
247
|
+
x-ua-compatible:
|
248
|
+
- IE=Edge
|
249
|
+
etag:
|
250
|
+
- "\"37c9887e5618765c079e6d2ccef9e8d9\""
|
251
|
+
connection:
|
252
|
+
- close
|
253
|
+
content-type:
|
254
|
+
- application/xml; charset=utf-8
|
255
|
+
x-runtime:
|
256
|
+
- "29"
|
257
|
+
date:
|
258
|
+
- Thu, 14 Oct 2010 06:16:32 GMT
|
259
|
+
server:
|
260
|
+
- nginx/0.7.65
|
261
|
+
content-length:
|
262
|
+
- "1329"
|
263
|
+
set-cookie:
|
264
|
+
- _recurly_session=7db5c6d04e77f319bb4e94dbce934c31; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
|
+
cache-control:
|
266
|
+
- private, max-age=0, must-revalidate
|
267
|
+
body: |
|
268
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
269
|
+
<credits type="array">
|
270
|
+
<credit type="credit">
|
271
|
+
<id>e1965137a2c04d4e9834a7f13df48f4c</id>
|
272
|
+
<account_code>credit-list-1286681343</account_code>
|
273
|
+
<amount_in_cents type="integer">-300</amount_in_cents>
|
274
|
+
<start_date type="datetime">2010-10-14T06:16:31Z</start_date>
|
275
|
+
<end_date nil="true" type="datetime"></end_date>
|
276
|
+
<description>three</description>
|
277
|
+
<created_at type="datetime">2010-10-14T06:16:31Z</created_at>
|
278
|
+
</credit>
|
279
|
+
<credit type="credit">
|
280
|
+
<id>8267f1f02c87421cbab9307ef6e85287</id>
|
281
|
+
<account_code>credit-list-1286681343</account_code>
|
282
|
+
<amount_in_cents type="integer">-200</amount_in_cents>
|
283
|
+
<start_date type="datetime">2010-10-14T06:16:30Z</start_date>
|
284
|
+
<end_date nil="true" type="datetime"></end_date>
|
285
|
+
<description>two</description>
|
286
|
+
<created_at type="datetime">2010-10-14T06:16:30Z</created_at>
|
287
|
+
</credit>
|
288
|
+
<credit type="credit">
|
289
|
+
<id>69d556c388594e828b970b10907b56ea</id>
|
290
|
+
<account_code>credit-list-1286681343</account_code>
|
291
|
+
<amount_in_cents type="integer">-100</amount_in_cents>
|
292
|
+
<start_date type="datetime">2010-10-14T06:16:29Z</start_date>
|
293
|
+
<end_date nil="true" type="datetime"></end_date>
|
294
|
+
<description>one</description>
|
295
|
+
<created_at type="datetime">2010-10-14T06:16:29Z</created_at>
|
296
|
+
</credit>
|
297
|
+
</credits>
|
298
|
+
|
299
|
+
http_version: "1.1"
|