recurly 0.2.4 → 0.2.5
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/charge.rb +5 -6
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +1 -0
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +100 -100
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +16 -16
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
- data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
- data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
- data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
- data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
- data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
- data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
- data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +51 -51
- data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
- 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 +9 -9
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
- data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
- data/spec/vcr/subscription/change1/1287455769.yml +38 -38
- data/spec/vcr/subscription/change2/1287455769.yml +38 -38
- data/spec/vcr/subscription/create/1287455769.yml +17 -17
- data/spec/vcr/subscription/find/1287455769.yml +24 -24
- data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
- 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 +36 -36
- data/spec/vcr/transaction/all/1287186411.yml +45 -45
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +61 -61
- metadata +23 -43
- data/spec/vcr/credit/create/1286681343.yml +0 -171
- data/spec/vcr/credit/create/1287460732.yml +0 -171
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
- data/spec/vcr/credit/list/1286681343.yml +0 -299
- data/spec/vcr/credit/list/1287461340.yml +0 -299
- data/spec/vcr/credit/lookup/1286681343.yml +0 -171
- data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -1,221 +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
|
-
<account-code>delete-uninvoiced-1287461340</account-code>
|
10
|
-
<company-name>Recurly Ruby Gem</company-name>
|
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/delete-uninvoiced-1287461340
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "610"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 04:09:17 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "589"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=7abf468ba98a9014901a3a27318d6fc97febc7582eafb50d2e64ba51c873f54daf263d9b1361ef1037f15d43c933a379f2df42a35db3044bff3e4868cec08bc1%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=3208ea0a1eb7bca55d68740388e5139a; 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>delete-uninvoiced-1287461340</id>
|
54
|
-
<account_code>delete-uninvoiced-1287461340</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>316eb231724241c9bfe2431c688b8e76</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T04:09:17Z</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/delete-uninvoiced-1287461340/credits.xml
|
72
|
-
body: |
|
73
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
74
|
-
<credit>
|
75
|
-
<amount type="float">13.15</amount>
|
76
|
-
<description>free moniez 4 u</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
|
-
- "46"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 04:09:17 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "458"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=34277acdd440dec82566ed62296dedd1; 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>c1c4f0966ef74945a72410cdd02dc59f</id>
|
113
|
-
<account_code>delete-uninvoiced-1287461340</account_code>
|
114
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-19T04:09:17Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-19T04:09:17Z</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/delete-uninvoiced-1287461340/credits/c1c4f0966ef74945a72410cdd02dc59f.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
|
-
- "\"a9a8c9065a60e6c7c55e3fdf3a7c5ec6\""
|
143
|
-
connection:
|
144
|
-
- close
|
145
|
-
content-type:
|
146
|
-
- application/xml; charset=utf-8
|
147
|
-
x-runtime:
|
148
|
-
- "15"
|
149
|
-
date:
|
150
|
-
- Tue, 19 Oct 2010 04:09:18 GMT
|
151
|
-
server:
|
152
|
-
- nginx/0.7.65
|
153
|
-
content-length:
|
154
|
-
- "458"
|
155
|
-
set-cookie:
|
156
|
-
- _recurly_session=aa51c0dbb90c664c6080903cbcc82a80; 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>c1c4f0966ef74945a72410cdd02dc59f</id>
|
163
|
-
<account_code>delete-uninvoiced-1287461340</account_code>
|
164
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-19T04:09:17Z</start_date>
|
166
|
-
<end_date nil="true" type="datetime"></end_date>
|
167
|
-
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-19T04:09:17Z</created_at>
|
169
|
-
</credit>
|
170
|
-
|
171
|
-
http_version: "1.1"
|
172
|
-
- !ruby/struct:VCR::HTTPInteraction
|
173
|
-
request: !ruby/struct:VCR::Request
|
174
|
-
method: :get
|
175
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461340/credits/c1c4f0966ef74945a72410cdd02dc59f.xml
|
176
|
-
body:
|
177
|
-
headers:
|
178
|
-
accept:
|
179
|
-
- application/xml
|
180
|
-
connection:
|
181
|
-
- close
|
182
|
-
authorization:
|
183
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
184
|
-
response: !ruby/struct:VCR::Response
|
185
|
-
status: !ruby/struct:VCR::ResponseStatus
|
186
|
-
code: 200
|
187
|
-
message: OK
|
188
|
-
headers:
|
189
|
-
x-ua-compatible:
|
190
|
-
- IE=Edge
|
191
|
-
etag:
|
192
|
-
- "\"a9a8c9065a60e6c7c55e3fdf3a7c5ec6\""
|
193
|
-
connection:
|
194
|
-
- close
|
195
|
-
content-type:
|
196
|
-
- application/xml; charset=utf-8
|
197
|
-
x-runtime:
|
198
|
-
- "22"
|
199
|
-
date:
|
200
|
-
- Tue, 19 Oct 2010 04:09:18 GMT
|
201
|
-
server:
|
202
|
-
- nginx/0.7.65
|
203
|
-
content-length:
|
204
|
-
- "458"
|
205
|
-
set-cookie:
|
206
|
-
- _recurly_session=67f0f434d76d6068a6e4ee65e3e76d77; domain=.recurly.com; path=/; Secure; HttpOnly
|
207
|
-
cache-control:
|
208
|
-
- private, max-age=0, must-revalidate
|
209
|
-
body: |
|
210
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
211
|
-
<credit type="credit">
|
212
|
-
<id>c1c4f0966ef74945a72410cdd02dc59f</id>
|
213
|
-
<account_code>delete-uninvoiced-1287461340</account_code>
|
214
|
-
<amount_in_cents type="integer">-1315</amount_in_cents>
|
215
|
-
<start_date type="datetime">2010-10-19T04:09:17Z</start_date>
|
216
|
-
<end_date nil="true" type="datetime"></end_date>
|
217
|
-
<description>free moniez 4 u</description>
|
218
|
-
<created_at type="datetime">2010-10-19T04:09:17Z</created_at>
|
219
|
-
</credit>
|
220
|
-
|
221
|
-
http_version: "1.1"
|
@@ -1,299 +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>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
|
-
- "585"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 03:19:40 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "577"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=a2d043afd2e140747631e37d49b81bfd196034f87886e22d897ff03839da0ee3c16eb9d0a0ae21f9387c31a633d4d944deda7518d505fa24b07b12aeb85761e1%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=c7287fdcc4287beb22cd18cc9b4565ad; 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>871f4ad62ffd42e5bb11e641c028620b</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T03:19:39Z</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
|
-
- "211"
|
99
|
-
date:
|
100
|
-
- Tue, 19 Oct 2010 03:19:40 GMT
|
101
|
-
server:
|
102
|
-
- nginx/0.7.65
|
103
|
-
content-length:
|
104
|
-
- "439"
|
105
|
-
set-cookie:
|
106
|
-
- _recurly_session=183f9d490bb9ae6529f8261709b0ac25; 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>14b63c6353354f979456380bd2432e48</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-19T03:19:40Z</start_date>
|
116
|
-
<end_date nil="true" type="datetime"></end_date>
|
117
|
-
<description>one</description>
|
118
|
-
<created_at type="datetime">2010-10-19T03:19:40Z</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
|
-
- "65"
|
153
|
-
date:
|
154
|
-
- Tue, 19 Oct 2010 03:19:41 GMT
|
155
|
-
server:
|
156
|
-
- nginx/0.7.65
|
157
|
-
content-length:
|
158
|
-
- "439"
|
159
|
-
set-cookie:
|
160
|
-
- _recurly_session=88a391c9ceee97782cdb06a89830005e; 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>1258d569dfd94b3aa88b456c40cadfbd</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-19T03:19:41Z</start_date>
|
170
|
-
<end_date nil="true" type="datetime"></end_date>
|
171
|
-
<description>two</description>
|
172
|
-
<created_at type="datetime">2010-10-19T03:19:41Z</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
|
-
- "46"
|
207
|
-
date:
|
208
|
-
- Tue, 19 Oct 2010 03:19:42 GMT
|
209
|
-
server:
|
210
|
-
- nginx/0.7.65
|
211
|
-
content-length:
|
212
|
-
- "441"
|
213
|
-
set-cookie:
|
214
|
-
- _recurly_session=ddfd4d7f7e9c8cea5e1150e5646ac2e9; 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>691c857802f54baa806e836bef4b68f0</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-19T03:19:42Z</start_date>
|
224
|
-
<end_date nil="true" type="datetime"></end_date>
|
225
|
-
<description>three</description>
|
226
|
-
<created_at type="datetime">2010-10-19T03:19:42Z</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
|
-
- "\"d9ae445cce0291a66a79004263bb5cdd\""
|
251
|
-
connection:
|
252
|
-
- close
|
253
|
-
content-type:
|
254
|
-
- application/xml; charset=utf-8
|
255
|
-
x-runtime:
|
256
|
-
- "19"
|
257
|
-
date:
|
258
|
-
- Tue, 19 Oct 2010 03:19:42 GMT
|
259
|
-
server:
|
260
|
-
- nginx/0.7.65
|
261
|
-
content-length:
|
262
|
-
- "1329"
|
263
|
-
set-cookie:
|
264
|
-
- _recurly_session=84bafcd782e39cd95954bd0281f26313; 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>691c857802f54baa806e836bef4b68f0</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-19T03:19:42Z</start_date>
|
275
|
-
<end_date nil="true" type="datetime"></end_date>
|
276
|
-
<description>three</description>
|
277
|
-
<created_at type="datetime">2010-10-19T03:19:42Z</created_at>
|
278
|
-
</credit>
|
279
|
-
<credit type="credit">
|
280
|
-
<id>1258d569dfd94b3aa88b456c40cadfbd</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-19T03:19:41Z</start_date>
|
284
|
-
<end_date nil="true" type="datetime"></end_date>
|
285
|
-
<description>two</description>
|
286
|
-
<created_at type="datetime">2010-10-19T03:19:41Z</created_at>
|
287
|
-
</credit>
|
288
|
-
<credit type="credit">
|
289
|
-
<id>14b63c6353354f979456380bd2432e48</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-19T03:19:40Z</start_date>
|
293
|
-
<end_date nil="true" type="datetime"></end_date>
|
294
|
-
<description>one</description>
|
295
|
-
<created_at type="datetime">2010-10-19T03:19:40Z</created_at>
|
296
|
-
</credit>
|
297
|
-
</credits>
|
298
|
-
|
299
|
-
http_version: "1.1"
|