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
@@ -7,7 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>charge-list-pending-
|
10
|
+
<account-code>charge-list-pending-1287465632</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/charge-list-pending-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/charge-list-pending-1287465632
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "593"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:21:36 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "593"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=a3ae0ad4daae2a5b788470b1ed5e42a1cf11ceb870f2ab9ab042c8050e7a2078b238212b8454655c62258a814ca20f306f439f1026ab9f564dfb7ad557ab1cec%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=ab59794e22109d603ffb100efadc0e52; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>charge-list-pending-
|
54
|
-
<account_code>charge-list-pending-
|
53
|
+
<id>charge-list-pending-1287465632</id>
|
54
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>41dbeb1485494abc9068588405005e76</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:21:36Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<charge>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "68"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:21:36 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "462"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=e469fefd847742feeefc72818463e886; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
113
|
-
<account_code>charge-list-pending-
|
112
|
+
<id>40afa37c5a664d22946318bd6c9e4a4b</id>
|
113
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
114
114
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T05:21:36Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T05:21:36Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :post
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
|
126
126
|
body: |
|
127
127
|
<?xml version="1.0" encoding="UTF-8"?>
|
128
128
|
<charge>
|
@@ -149,34 +149,34 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "62"
|
153
153
|
date:
|
154
|
-
- Tue, 19 Oct 2010
|
154
|
+
- Tue, 19 Oct 2010 05:21:37 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "462"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=8110f8e17d7249a8c3837190bef13c62; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<charge type="charge">
|
166
|
-
<id>
|
167
|
-
<account_code>charge-list-pending-
|
166
|
+
<id>8c107d4730ab40ee825eb6b498d3163f</id>
|
167
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
168
168
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-19T05:21:37Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-19T05:21:37Z</created_at>
|
173
173
|
</charge>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
176
176
|
- !ruby/struct:VCR::HTTPInteraction
|
177
177
|
request: !ruby/struct:VCR::Request
|
178
178
|
method: :post
|
179
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-
|
179
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml
|
180
180
|
body: |
|
181
181
|
<?xml version="1.0" encoding="UTF-8"?>
|
182
182
|
<charge>
|
@@ -203,34 +203,34 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "64"
|
207
207
|
date:
|
208
|
-
- Tue, 19 Oct 2010
|
208
|
+
- Tue, 19 Oct 2010 05:21:38 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "462"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=64256b7f6db0b15f7db9df3f33704652; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<charge type="charge">
|
220
|
-
<id>
|
221
|
-
<account_code>charge-list-pending-
|
220
|
+
<id>b292c24b75bf455fbad14ac0d0c7ed21</id>
|
221
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
222
222
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-19T05:21:38Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-19T05:21:38Z</created_at>
|
227
227
|
</charge>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
230
230
|
- !ruby/struct:VCR::HTTPInteraction
|
231
231
|
request: !ruby/struct:VCR::Request
|
232
232
|
method: :get
|
233
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-
|
233
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-list-pending-1287465632/charges.xml?show=pending
|
234
234
|
body:
|
235
235
|
headers:
|
236
236
|
accept:
|
@@ -247,55 +247,55 @@
|
|
247
247
|
x-ua-compatible:
|
248
248
|
- IE=Edge
|
249
249
|
etag:
|
250
|
-
- "\"
|
250
|
+
- "\"fc7871a1e9ccdd603434a1b39dc07c70\""
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "27"
|
257
257
|
date:
|
258
|
-
- Tue, 19 Oct 2010
|
258
|
+
- Tue, 19 Oct 2010 05:21:38 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "1588"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=33bbd34c605d101e732ff367eb88ba25; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
265
|
cache-control:
|
266
266
|
- private, max-age=0, must-revalidate
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<charges type="array">
|
270
270
|
<charge type="charge">
|
271
|
-
<id>
|
272
|
-
<account_code>charge-list-pending-
|
271
|
+
<id>b292c24b75bf455fbad14ac0d0c7ed21</id>
|
272
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
273
273
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
-
<start_date type="datetime">2010-10-
|
274
|
+
<start_date type="datetime">2010-10-19T05:21:38Z</start_date>
|
275
275
|
<end_date nil="true" type="datetime"></end_date>
|
276
276
|
<invoice_number nil="true" type="integer"></invoice_number>
|
277
277
|
<description>charge description</description>
|
278
|
-
<created_at type="datetime">2010-10-
|
278
|
+
<created_at type="datetime">2010-10-19T05:21:38Z</created_at>
|
279
279
|
</charge>
|
280
280
|
<charge type="charge">
|
281
|
-
<id>
|
282
|
-
<account_code>charge-list-pending-
|
281
|
+
<id>8c107d4730ab40ee825eb6b498d3163f</id>
|
282
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
283
283
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
284
|
-
<start_date type="datetime">2010-10-
|
284
|
+
<start_date type="datetime">2010-10-19T05:21:37Z</start_date>
|
285
285
|
<end_date nil="true" type="datetime"></end_date>
|
286
286
|
<invoice_number nil="true" type="integer"></invoice_number>
|
287
287
|
<description>charge description</description>
|
288
|
-
<created_at type="datetime">2010-10-
|
288
|
+
<created_at type="datetime">2010-10-19T05:21:37Z</created_at>
|
289
289
|
</charge>
|
290
290
|
<charge type="charge">
|
291
|
-
<id>
|
292
|
-
<account_code>charge-list-pending-
|
291
|
+
<id>40afa37c5a664d22946318bd6c9e4a4b</id>
|
292
|
+
<account_code>charge-list-pending-1287465632</account_code>
|
293
293
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
294
|
-
<start_date type="datetime">2010-10-
|
294
|
+
<start_date type="datetime">2010-10-19T05:21:36Z</start_date>
|
295
295
|
<end_date nil="true" type="datetime"></end_date>
|
296
296
|
<invoice_number nil="true" type="integer"></invoice_number>
|
297
297
|
<description>charge description</description>
|
298
|
-
<created_at type="datetime">2010-10-
|
298
|
+
<created_at type="datetime">2010-10-19T05:21:36Z</created_at>
|
299
299
|
</charge>
|
300
300
|
</charges>
|
301
301
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>charge-lookup-
|
10
|
+
<account-code>charge-lookup-1287465632</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/charge-lookup-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/charge-lookup-1287465632
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "609"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:21:48 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "581"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=313fdd49b5c54402eea76bd2ebdc12c7679b98a740195432622b225fd23b8f29d2b8ea031239ff32f6d97a9faa1d116ad688d39469a1b6e1228c8bb9de887bde%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=a077bd36bc65222191691bfb33143848; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>charge-lookup-
|
54
|
-
<account_code>charge-lookup-
|
53
|
+
<id>charge-lookup-1287465632</id>
|
54
|
+
<account_code>charge-lookup-1287465632</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>36ac4adc906a42bd8420841845d53c15</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:21:48Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<charge>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "45"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:21:48 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "455"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=ba3baa9e508172dd29b42e6be8a81566; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<charge type="charge">
|
112
|
-
<id>
|
113
|
-
<account_code>charge-lookup-
|
112
|
+
<id>93ce4d48e40a4b519d3e1304cf34ab75</id>
|
113
|
+
<account_code>charge-lookup-1287465632</account_code>
|
114
114
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T05:21:48Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>inconvenience fee</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T05:21:48Z</created_at>
|
119
119
|
</charge>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/93ce4d48e40a4b519d3e1304cf34ab75.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,33 +139,33 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"8c9d8bb2426badb36f078ae0525d100e\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
146
146
|
- application/xml; charset=utf-8
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "33"
|
149
149
|
date:
|
150
|
-
- Tue, 19 Oct 2010
|
150
|
+
- Tue, 19 Oct 2010 05:21:49 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "455"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=afd2c0dd48434d9dc46b1ab7bf9cb32f; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<charge type="charge">
|
162
|
-
<id>
|
163
|
-
<account_code>charge-lookup-
|
162
|
+
<id>93ce4d48e40a4b519d3e1304cf34ab75</id>
|
163
|
+
<account_code>charge-lookup-1287465632</account_code>
|
164
164
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-19T05:21:48Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>inconvenience fee</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-19T05:21:48Z</created_at>
|
169
169
|
</charge>
|
170
170
|
|
171
171
|
http_version: "1.1"
|
@@ -6,8 +6,8 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>credit-create-1287461340</account-code>
|
10
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
+
<account-code>credit-create-1287461400</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/credit-create-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/credit-create-1287461400
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
@@ -36,22 +36,22 @@
|
|
36
36
|
x-runtime:
|
37
37
|
- "585"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:21:54 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "581"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=bb4fcc07692e86f072d4f13620514f380dea5ccf2211058f08e700f4375385ddb55888f971aaa9ff25d7d040c87d187ec9527062b1da6cb3f7de3f90672f05e4%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=75a15610519eeb78113e607c0afe1c45; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>credit-create-
|
54
|
-
<account_code>credit-create-
|
53
|
+
<id>credit-create-1287461400</id>
|
54
|
+
<account_code>credit-create-1287461400</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>280a19d886cd4772b5d19d3d566c8753</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:21:54Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<credit>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "194"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:21:55 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "450"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=f2a1ebe1a53260708d881463aa9a1802; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<credit type="credit">
|
112
|
-
<id>
|
113
|
-
<account_code>credit-create-
|
112
|
+
<id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
|
113
|
+
<account_code>credit-create-1287461400</account_code>
|
114
114
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T05:21:55Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>free moniez</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T05:21:55Z</created_at>
|
119
119
|
</credit>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/4f898ac5c20c42d8b5f4ba0071da4c28.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,7 +139,7 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"ad2f9a741d2a75fa38e5ad9d67a862e5\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
@@ -147,25 +147,25 @@
|
|
147
147
|
x-runtime:
|
148
148
|
- "23"
|
149
149
|
date:
|
150
|
-
- Tue, 19 Oct 2010
|
150
|
+
- Tue, 19 Oct 2010 05:21:55 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "450"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=1d51ce9c16027daed213d563993534c2; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<credit type="credit">
|
162
|
-
<id>
|
163
|
-
<account_code>credit-create-
|
162
|
+
<id>4f898ac5c20c42d8b5f4ba0071da4c28</id>
|
163
|
+
<account_code>credit-create-1287461400</account_code>
|
164
164
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-19T05:21:55Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>free moniez</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-19T05:21:55Z</created_at>
|
169
169
|
</credit>
|
170
170
|
|
171
171
|
http_version: "1.1"
|