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
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "277"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:22 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=299eb88c0713f8795f86ef34725493da9500efbfb0550777c0e55ce9e2e25f20f689cb4033157946abc5f789b4d9942801d589bead5320b10e828e4a1794cb65%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=919a23b59594dc9b62c4b0f84259dc98; domain=.recurly.com; path=/; secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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-
|
62
|
+
<hosted_login_token>3e7ecec876644339b6b9a42f7248659d</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:22Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,28 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "47"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:24 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "524"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=57554597616963a144156f5e2d13e49f; 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>
|
112
|
+
<id>db9face9f8444351a4e1b6e3776fe04c</id>
|
113
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-
|
115
|
+
<start_date type="datetime">2010-11-16T07:03:24Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
117
118
|
<description>charge description</description>
|
118
|
-
<created_at type="datetime">2010-
|
119
|
+
<created_at type="datetime">2010-11-16T07:03:24Z</created_at>
|
119
120
|
</charge>
|
120
121
|
|
121
122
|
http_version: "1.1"
|
@@ -149,27 +150,28 @@
|
|
149
150
|
content-type:
|
150
151
|
- application/xml; charset=utf-8
|
151
152
|
x-runtime:
|
152
|
-
- "
|
153
|
+
- "95"
|
153
154
|
date:
|
154
|
-
- Tue,
|
155
|
+
- Tue, 16 Nov 2010 07:03:23 GMT
|
155
156
|
server:
|
156
157
|
- nginx/0.7.65
|
157
158
|
content-length:
|
158
|
-
- "
|
159
|
+
- "524"
|
159
160
|
set-cookie:
|
160
|
-
- _recurly_session=
|
161
|
+
- _recurly_session=e4fbecbab2ee57fc68be03c3c650704b; domain=.recurly.com; path=/; secure; HttpOnly
|
161
162
|
cache-control:
|
162
163
|
- no-cache
|
163
164
|
body: |
|
164
165
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
166
|
<charge type="charge">
|
166
|
-
<id>
|
167
|
+
<id>9ae89e16e55541cfb905b0756a117ccf</id>
|
167
168
|
<account_code>charge-list-pending-1287465632</account_code>
|
168
169
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-
|
170
|
+
<start_date type="datetime">2010-11-16T07:03:23Z</start_date>
|
170
171
|
<end_date nil="true" type="datetime"></end_date>
|
172
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
171
173
|
<description>charge description</description>
|
172
|
-
<created_at type="datetime">2010-
|
174
|
+
<created_at type="datetime">2010-11-16T07:03:23Z</created_at>
|
173
175
|
</charge>
|
174
176
|
|
175
177
|
http_version: "1.1"
|
@@ -203,27 +205,28 @@
|
|
203
205
|
content-type:
|
204
206
|
- application/xml; charset=utf-8
|
205
207
|
x-runtime:
|
206
|
-
- "
|
208
|
+
- "44"
|
207
209
|
date:
|
208
|
-
- Tue,
|
210
|
+
- Tue, 16 Nov 2010 07:03:25 GMT
|
209
211
|
server:
|
210
212
|
- nginx/0.7.65
|
211
213
|
content-length:
|
212
|
-
- "
|
214
|
+
- "524"
|
213
215
|
set-cookie:
|
214
|
-
- _recurly_session=
|
216
|
+
- _recurly_session=71a8b223e68f36e969cac556ee21eec5; domain=.recurly.com; path=/; secure; HttpOnly
|
215
217
|
cache-control:
|
216
218
|
- no-cache
|
217
219
|
body: |
|
218
220
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
221
|
<charge type="charge">
|
220
|
-
<id>
|
222
|
+
<id>7583de1868e94a31870cf858ff81222a</id>
|
221
223
|
<account_code>charge-list-pending-1287465632</account_code>
|
222
224
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-
|
225
|
+
<start_date type="datetime">2010-11-16T07:03:25Z</start_date>
|
224
226
|
<end_date nil="true" type="datetime"></end_date>
|
227
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
225
228
|
<description>charge description</description>
|
226
|
-
<created_at type="datetime">2010-
|
229
|
+
<created_at type="datetime">2010-11-16T07:03:25Z</created_at>
|
227
230
|
</charge>
|
228
231
|
|
229
232
|
http_version: "1.1"
|
@@ -247,55 +250,55 @@
|
|
247
250
|
x-ua-compatible:
|
248
251
|
- IE=Edge
|
249
252
|
etag:
|
250
|
-
- "\"
|
253
|
+
- "\"97c0b7cc7ea3f2122c972820758e9e28\""
|
251
254
|
connection:
|
252
255
|
- close
|
253
256
|
content-type:
|
254
257
|
- application/xml; charset=utf-8
|
255
258
|
x-runtime:
|
256
|
-
- "
|
259
|
+
- "14"
|
257
260
|
date:
|
258
|
-
- Tue,
|
261
|
+
- Tue, 16 Nov 2010 07:03:24 GMT
|
259
262
|
server:
|
260
263
|
- nginx/0.7.65
|
261
264
|
content-length:
|
262
265
|
- "1588"
|
263
266
|
set-cookie:
|
264
|
-
- _recurly_session=
|
267
|
+
- _recurly_session=2ea0ce4613b34569f4c525ee94653a06; domain=.recurly.com; path=/; secure; HttpOnly
|
265
268
|
cache-control:
|
266
269
|
- private, max-age=0, must-revalidate
|
267
270
|
body: |
|
268
271
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
272
|
<charges type="array">
|
270
273
|
<charge type="charge">
|
271
|
-
<id>
|
274
|
+
<id>7583de1868e94a31870cf858ff81222a</id>
|
272
275
|
<account_code>charge-list-pending-1287465632</account_code>
|
273
276
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
274
|
-
<start_date type="datetime">2010-
|
277
|
+
<start_date type="datetime">2010-11-16T07:03:25Z</start_date>
|
275
278
|
<end_date nil="true" type="datetime"></end_date>
|
276
279
|
<invoice_number nil="true" type="integer"></invoice_number>
|
277
280
|
<description>charge description</description>
|
278
|
-
<created_at type="datetime">2010-
|
281
|
+
<created_at type="datetime">2010-11-16T07:03:25Z</created_at>
|
279
282
|
</charge>
|
280
283
|
<charge type="charge">
|
281
|
-
<id>
|
284
|
+
<id>9ae89e16e55541cfb905b0756a117ccf</id>
|
282
285
|
<account_code>charge-list-pending-1287465632</account_code>
|
283
286
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
284
|
-
<start_date type="datetime">2010-
|
287
|
+
<start_date type="datetime">2010-11-16T07:03:23Z</start_date>
|
285
288
|
<end_date nil="true" type="datetime"></end_date>
|
286
289
|
<invoice_number nil="true" type="integer"></invoice_number>
|
287
290
|
<description>charge description</description>
|
288
|
-
<created_at type="datetime">2010-
|
291
|
+
<created_at type="datetime">2010-11-16T07:03:23Z</created_at>
|
289
292
|
</charge>
|
290
293
|
<charge type="charge">
|
291
|
-
<id>
|
294
|
+
<id>db9face9f8444351a4e1b6e3776fe04c</id>
|
292
295
|
<account_code>charge-list-pending-1287465632</account_code>
|
293
296
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
294
|
-
<start_date type="datetime">2010-
|
297
|
+
<start_date type="datetime">2010-11-16T07:03:24Z</start_date>
|
295
298
|
<end_date nil="true" type="datetime"></end_date>
|
296
299
|
<invoice_number nil="true" type="integer"></invoice_number>
|
297
300
|
<description>charge description</description>
|
298
|
-
<created_at type="datetime">2010-
|
301
|
+
<created_at type="datetime">2010-11-16T07:03:24Z</created_at>
|
299
302
|
</charge>
|
300
303
|
</charges>
|
301
304
|
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "271"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:32 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=e3c8f79d4c87bde3458fdcb0eb94c147820d69e6fbe9a260c495f1c4420740828f4b422b47a1a2bbc4fbf05106e910f78588a5b27205633f874ae21286955d58%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=a34cd7bcf3b2bbad8309ab05b7ba8308; domain=.recurly.com; path=/; secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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-
|
62
|
+
<hosted_login_token>b8db416f90c9493cad98e17c5ab309ff</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:32Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,35 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "46"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:35 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "517"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=4c6b6e5d86d8080ff2238b9c00d6d2ae; 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>
|
112
|
+
<id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
|
113
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-
|
115
|
+
<start_date type="datetime">2010-11-16T07:03:35Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
117
118
|
<description>inconvenience fee</description>
|
118
|
-
<created_at type="datetime">2010-
|
119
|
+
<created_at type="datetime">2010-11-16T07:03:35Z</created_at>
|
119
120
|
</charge>
|
120
121
|
|
121
122
|
http_version: "1.1"
|
122
123
|
- !ruby/struct:VCR::HTTPInteraction
|
123
124
|
request: !ruby/struct:VCR::Request
|
124
125
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/
|
126
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-lookup-1287465632/charges/1fac7de40f2f48bcb44de2c4c518ee0b.xml
|
126
127
|
body:
|
127
128
|
headers:
|
128
129
|
accept:
|
@@ -139,33 +140,34 @@
|
|
139
140
|
x-ua-compatible:
|
140
141
|
- IE=Edge
|
141
142
|
etag:
|
142
|
-
- "\"
|
143
|
+
- "\"ee0b957ba90a1da1b57abfbdf2001140\""
|
143
144
|
connection:
|
144
145
|
- close
|
145
146
|
content-type:
|
146
147
|
- application/xml; charset=utf-8
|
147
148
|
x-runtime:
|
148
|
-
- "
|
149
|
+
- "14"
|
149
150
|
date:
|
150
|
-
- Tue,
|
151
|
+
- Tue, 16 Nov 2010 07:03:34 GMT
|
151
152
|
server:
|
152
153
|
- nginx/0.7.65
|
153
154
|
content-length:
|
154
|
-
- "
|
155
|
+
- "517"
|
155
156
|
set-cookie:
|
156
|
-
- _recurly_session=
|
157
|
+
- _recurly_session=24010a63b58d5eb1e0a28b126345ef80; domain=.recurly.com; path=/; secure; HttpOnly
|
157
158
|
cache-control:
|
158
159
|
- private, max-age=0, must-revalidate
|
159
160
|
body: |
|
160
161
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
162
|
<charge type="charge">
|
162
|
-
<id>
|
163
|
+
<id>1fac7de40f2f48bcb44de2c4c518ee0b</id>
|
163
164
|
<account_code>charge-lookup-1287465632</account_code>
|
164
165
|
<amount_in_cents type="integer">1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-
|
166
|
+
<start_date type="datetime">2010-11-16T07:03:35Z</start_date>
|
166
167
|
<end_date nil="true" type="datetime"></end_date>
|
168
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
167
169
|
<description>inconvenience fee</description>
|
168
|
-
<created_at type="datetime">2010-
|
170
|
+
<created_at type="datetime">2010-11-16T07:03:35Z</created_at>
|
169
171
|
</charge>
|
170
172
|
|
171
173
|
http_version: "1.1"
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "273"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:40 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=7822bed51c38d79a813fdbaf88ac6790d1e1915b5a7a9c389b032c663bb29694117173667b2b22d79121d9b2ab1c5430a21a90c56019f47a6e8566bd534be279%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=b8faa40ca59780d9a82cd26976b07355; domain=.recurly.com; path=/; secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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-
|
62
|
+
<hosted_login_token>813eda4625b145b48e56c363cafd89b0</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:40Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,35 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "110"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:39 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "512"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=3991f1be36c22846b8fd73740673d41d; 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>
|
112
|
+
<id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
|
113
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-
|
115
|
+
<start_date type="datetime">2010-11-16T07:03:39Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
117
118
|
<description>free moniez</description>
|
118
|
-
<created_at type="datetime">2010-
|
119
|
+
<created_at type="datetime">2010-11-16T07:03:39Z</created_at>
|
119
120
|
</credit>
|
120
121
|
|
121
122
|
http_version: "1.1"
|
122
123
|
- !ruby/struct:VCR::HTTPInteraction
|
123
124
|
request: !ruby/struct:VCR::Request
|
124
125
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/
|
126
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1287461400/credits/8c0f22c463f642b28aa8ddcd7dc22e91.xml
|
126
127
|
body:
|
127
128
|
headers:
|
128
129
|
accept:
|
@@ -139,33 +140,34 @@
|
|
139
140
|
x-ua-compatible:
|
140
141
|
- IE=Edge
|
141
142
|
etag:
|
142
|
-
- "\"
|
143
|
+
- "\"66ca506e7677221fa12e8e14396c4942\""
|
143
144
|
connection:
|
144
145
|
- close
|
145
146
|
content-type:
|
146
147
|
- application/xml; charset=utf-8
|
147
148
|
x-runtime:
|
148
|
-
- "
|
149
|
+
- "14"
|
149
150
|
date:
|
150
|
-
- Tue,
|
151
|
+
- Tue, 16 Nov 2010 07:03:41 GMT
|
151
152
|
server:
|
152
153
|
- nginx/0.7.65
|
153
154
|
content-length:
|
154
|
-
- "
|
155
|
+
- "512"
|
155
156
|
set-cookie:
|
156
|
-
- _recurly_session=
|
157
|
+
- _recurly_session=0d39a2a4a1b15408fc7dcbc4317fe1d0; domain=.recurly.com; path=/; secure; HttpOnly
|
157
158
|
cache-control:
|
158
159
|
- private, max-age=0, must-revalidate
|
159
160
|
body: |
|
160
161
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
162
|
<credit type="credit">
|
162
|
-
<id>
|
163
|
+
<id>8c0f22c463f642b28aa8ddcd7dc22e91</id>
|
163
164
|
<account_code>credit-create-1287461400</account_code>
|
164
165
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-
|
166
|
+
<start_date type="datetime">2010-11-16T07:03:39Z</start_date>
|
166
167
|
<end_date nil="true" type="datetime"></end_date>
|
168
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
167
169
|
<description>free moniez</description>
|
168
|
-
<created_at type="datetime">2010-
|
170
|
+
<created_at type="datetime">2010-11-16T07:03:39Z</created_at>
|
169
171
|
</credit>
|
170
172
|
|
171
173
|
http_version: "1.1"
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "270"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:46 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "589"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=356ce5d7d051e1254227b051ae661d88c4a04728b3569e0e9b33236e504e769a284d7a544d13bd97d98b9a7fd1f3faee3da4a45dbd0bb5d68f3bb5f7d9c96ba2%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=6d2f78ee759dc625d0e032164f0c75f8; domain=.recurly.com; path=/; secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -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-
|
62
|
+
<hosted_login_token>88e556cdd57d478b9ebb9b1f6bd061bc</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:46Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,35 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "46"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:48 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "520"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=7c473287263b0fbe5848d14b9e028891; 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>
|
112
|
+
<id>1a391000d7d94945a8f5051849cac652</id>
|
113
113
|
<account_code>delete-uninvoiced-1287461400</account_code>
|
114
114
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-
|
115
|
+
<start_date type="datetime">2010-11-16T07:03:48Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
117
118
|
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-
|
119
|
+
<created_at type="datetime">2010-11-16T07:03:48Z</created_at>
|
119
120
|
</credit>
|
120
121
|
|
121
122
|
http_version: "1.1"
|
122
123
|
- !ruby/struct:VCR::HTTPInteraction
|
123
124
|
request: !ruby/struct:VCR::Request
|
124
125
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/
|
126
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
|
126
127
|
body:
|
127
128
|
headers:
|
128
129
|
accept:
|
@@ -139,40 +140,41 @@
|
|
139
140
|
x-ua-compatible:
|
140
141
|
- IE=Edge
|
141
142
|
etag:
|
142
|
-
- "\"
|
143
|
+
- "\"e9efa3db1852205daedc66f4b6497d3a\""
|
143
144
|
connection:
|
144
145
|
- close
|
145
146
|
content-type:
|
146
147
|
- application/xml; charset=utf-8
|
147
148
|
x-runtime:
|
148
|
-
- "
|
149
|
+
- "14"
|
149
150
|
date:
|
150
|
-
- Tue,
|
151
|
+
- Tue, 16 Nov 2010 07:03:47 GMT
|
151
152
|
server:
|
152
153
|
- nginx/0.7.65
|
153
154
|
content-length:
|
154
|
-
- "
|
155
|
+
- "520"
|
155
156
|
set-cookie:
|
156
|
-
- _recurly_session=
|
157
|
+
- _recurly_session=45c884b821a63c6cda04597ef5ed3ecc; domain=.recurly.com; path=/; secure; HttpOnly
|
157
158
|
cache-control:
|
158
159
|
- private, max-age=0, must-revalidate
|
159
160
|
body: |
|
160
161
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
162
|
<credit type="credit">
|
162
|
-
<id>
|
163
|
+
<id>1a391000d7d94945a8f5051849cac652</id>
|
163
164
|
<account_code>delete-uninvoiced-1287461400</account_code>
|
164
165
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-
|
166
|
+
<start_date type="datetime">2010-11-16T07:03:48Z</start_date>
|
166
167
|
<end_date nil="true" type="datetime"></end_date>
|
168
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
167
169
|
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-
|
170
|
+
<created_at type="datetime">2010-11-16T07:03:48Z</created_at>
|
169
171
|
</credit>
|
170
172
|
|
171
173
|
http_version: "1.1"
|
172
174
|
- !ruby/struct:VCR::HTTPInteraction
|
173
175
|
request: !ruby/struct:VCR::Request
|
174
176
|
method: :delete
|
175
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/
|
177
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
|
176
178
|
body:
|
177
179
|
headers:
|
178
180
|
accept:
|
@@ -193,15 +195,15 @@
|
|
193
195
|
content-type:
|
194
196
|
- application/xml; charset=utf-8
|
195
197
|
x-runtime:
|
196
|
-
- "
|
198
|
+
- "42"
|
197
199
|
date:
|
198
|
-
- Tue,
|
200
|
+
- Tue, 16 Nov 2010 07:03:49 GMT
|
199
201
|
server:
|
200
202
|
- nginx/0.7.65
|
201
203
|
content-length:
|
202
204
|
- "1"
|
203
205
|
set-cookie:
|
204
|
-
- _recurly_session=
|
206
|
+
- _recurly_session=b1eb38a74c13a4e2046816d994582b3c; domain=.recurly.com; path=/; secure; HttpOnly
|
205
207
|
cache-control:
|
206
208
|
- no-cache
|
207
209
|
body: " "
|
@@ -209,7 +211,7 @@
|
|
209
211
|
- !ruby/struct:VCR::HTTPInteraction
|
210
212
|
request: !ruby/struct:VCR::Request
|
211
213
|
method: :get
|
212
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/
|
214
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/delete-uninvoiced-1287461400/credits/1a391000d7d94945a8f5051849cac652.xml
|
213
215
|
body:
|
214
216
|
headers:
|
215
217
|
accept:
|
@@ -228,13 +230,13 @@
|
|
228
230
|
content-type:
|
229
231
|
- application/xml; charset=utf-8
|
230
232
|
date:
|
231
|
-
- Tue,
|
233
|
+
- Tue, 16 Nov 2010 07:03:48 GMT
|
232
234
|
server:
|
233
235
|
- nginx/0.7.65
|
234
236
|
content-length:
|
235
237
|
- "92"
|
236
238
|
set-cookie:
|
237
|
-
- _recurly_session=
|
239
|
+
- _recurly_session=1eecfec84c08fe601a795af838791542; domain=.recurly.com; path=/; secure; HttpOnly
|
238
240
|
cache-control:
|
239
241
|
- no-cache
|
240
242
|
body: |
|