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
@@ -36,15 +36,15 @@
|
|
36
36
|
server:
|
37
37
|
- nginx/0.7.65
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:37 GMT
|
40
40
|
x-runtime:
|
41
|
-
- "
|
41
|
+
- "272"
|
42
42
|
content-length:
|
43
43
|
- "601"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=9d203bb0e2a72123e0b52e844e29ce506dba43599f732e5b46d06c569ca04fb4703f5a45eabd2d9249d4a90faa52fbd2ed1bf6e96b069be597ca3537fc891372%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=d497433c8f8209ec9e892063445616f3; 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>38bca534d5b5464eae58f75ce17266f1</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:37Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -97,32 +97,33 @@
|
|
97
97
|
server:
|
98
98
|
- nginx/0.7.65
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:35 GMT
|
101
101
|
x-runtime:
|
102
|
-
- "
|
102
|
+
- "100"
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "527"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=627025052da9b5e68148a2100428e585; 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>283d8a1f88734cbcaecb9fc619c950e3</id>
|
113
113
|
<account_code>charge-delete-uinvoiced-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-delete-uinvoiced-1287465632/charges/
|
126
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
|
126
127
|
body:
|
127
128
|
headers:
|
128
129
|
accept:
|
@@ -139,7 +140,7 @@
|
|
139
140
|
x-ua-compatible:
|
140
141
|
- IE=Edge
|
141
142
|
etag:
|
142
|
-
- "\"
|
143
|
+
- "\"140c5b112d42862d589b47dca5744240\""
|
143
144
|
content-type:
|
144
145
|
- application/xml; charset=utf-8
|
145
146
|
connection:
|
@@ -147,32 +148,33 @@
|
|
147
148
|
server:
|
148
149
|
- nginx/0.7.65
|
149
150
|
date:
|
150
|
-
- Tue,
|
151
|
+
- Tue, 16 Nov 2010 07:03:38 GMT
|
151
152
|
x-runtime:
|
152
153
|
- "15"
|
153
154
|
content-length:
|
154
|
-
- "
|
155
|
+
- "527"
|
155
156
|
set-cookie:
|
156
|
-
- _recurly_session=
|
157
|
+
- _recurly_session=1d71fb3aeca9ab9426b4f6f2407ec3f5; 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>283d8a1f88734cbcaecb9fc619c950e3</id>
|
163
164
|
<account_code>charge-delete-uinvoiced-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"
|
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/charge-delete-uinvoiced-1287465632/charges/
|
177
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
|
176
178
|
body:
|
177
179
|
headers:
|
178
180
|
accept:
|
@@ -195,13 +197,13 @@
|
|
195
197
|
server:
|
196
198
|
- nginx/0.7.65
|
197
199
|
date:
|
198
|
-
- Tue,
|
200
|
+
- Tue, 16 Nov 2010 07:03:36 GMT
|
199
201
|
x-runtime:
|
200
|
-
- "
|
202
|
+
- "41"
|
201
203
|
content-length:
|
202
204
|
- "1"
|
203
205
|
set-cookie:
|
204
|
-
- _recurly_session=
|
206
|
+
- _recurly_session=da0e74e3009430b647821084de9433c3; 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/charge-delete-uinvoiced-1287465632/charges/
|
214
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/charge-delete-uinvoiced-1287465632/charges/283d8a1f88734cbcaecb9fc619c950e3.xml
|
213
215
|
body:
|
214
216
|
headers:
|
215
217
|
accept:
|
@@ -230,11 +232,11 @@
|
|
230
232
|
server:
|
231
233
|
- nginx/0.7.65
|
232
234
|
date:
|
233
|
-
- Tue,
|
235
|
+
- Tue, 16 Nov 2010 07:03:39 GMT
|
234
236
|
content-length:
|
235
237
|
- "92"
|
236
238
|
set-cookie:
|
237
|
-
- _recurly_session=
|
239
|
+
- _recurly_session=7e39a4b406e5c93fb597165c0831b56a; domain=.recurly.com; path=/; secure; HttpOnly
|
238
240
|
cache-control:
|
239
241
|
- no-cache
|
240
242
|
body: |
|
@@ -272,15 +274,15 @@
|
|
272
274
|
content-type:
|
273
275
|
- application/xml; charset=utf-8
|
274
276
|
x-runtime:
|
275
|
-
- "
|
277
|
+
- "12"
|
276
278
|
date:
|
277
|
-
- Tue,
|
279
|
+
- Tue, 16 Nov 2010 07:03:37 GMT
|
278
280
|
server:
|
279
281
|
- nginx/0.7.65
|
280
282
|
content-length:
|
281
283
|
- "98"
|
282
284
|
set-cookie:
|
283
|
-
- _recurly_session=
|
285
|
+
- _recurly_session=1a0c03601319a7bc0358bab9c4c24a1e; domain=.recurly.com; path=/; secure; HttpOnly
|
284
286
|
cache-control:
|
285
287
|
- no-cache
|
286
288
|
body: |
|
@@ -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:21 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "585"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=4868affde53da82a451fd2b14606460f7396f83f203f07b529d864ce83c564809e75e3d4261f0a0411110e351f23a4ca043063d46db47e45bc119d25119bc425%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=2d841d8f48c15477a648b7e78e133d5d; 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>acc01e20f7974db7beb282756a00646d</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:21Z</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
|
+
- "45"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:19 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=abd6932410976d492f118a7870aa283e; 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>f18ebf4917774743b518906723aef4f4</id>
|
113
113
|
<account_code>charge-list-all-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:19Z</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:19Z</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
|
+
- "44"
|
153
154
|
date:
|
154
|
-
- Tue,
|
155
|
+
- Tue, 16 Nov 2010 07:03:22 GMT
|
155
156
|
server:
|
156
157
|
- nginx/0.7.65
|
157
158
|
content-length:
|
158
|
-
- "
|
159
|
+
- "520"
|
159
160
|
set-cookie:
|
160
|
-
- _recurly_session=
|
161
|
+
- _recurly_session=73b62df0c0da27a09546450bbc94f8e5; 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>27e1731405ba4590a424eb5faeb9fa24</id>
|
167
168
|
<account_code>charge-list-all-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:22Z</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:22Z</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
|
+
- "43"
|
207
209
|
date:
|
208
|
-
- Tue,
|
210
|
+
- Tue, 16 Nov 2010 07:03:20 GMT
|
209
211
|
server:
|
210
212
|
- nginx/0.7.65
|
211
213
|
content-length:
|
212
|
-
- "
|
214
|
+
- "520"
|
213
215
|
set-cookie:
|
214
|
-
- _recurly_session=
|
216
|
+
- _recurly_session=bbaa01f3cf5d96a3837453ee44128f32; 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>e6117bd655924602881fb13b6168b2c8</id>
|
221
223
|
<account_code>charge-list-all-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:20Z</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:20Z</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
|
+
- "\"8935df06c14fdb73737e9649fc426dcf\""
|
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:23 GMT
|
259
262
|
server:
|
260
263
|
- nginx/0.7.65
|
261
264
|
content-length:
|
262
265
|
- "1576"
|
263
266
|
set-cookie:
|
264
|
-
- _recurly_session=
|
267
|
+
- _recurly_session=359d1a52031b8bb3039395dc9f007d5d; 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>e6117bd655924602881fb13b6168b2c8</id>
|
272
275
|
<account_code>charge-list-all-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:20Z</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:20Z</created_at>
|
279
282
|
</charge>
|
280
283
|
<charge type="charge">
|
281
|
-
<id>
|
284
|
+
<id>27e1731405ba4590a424eb5faeb9fa24</id>
|
282
285
|
<account_code>charge-list-all-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:22Z</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:22Z</created_at>
|
289
292
|
</charge>
|
290
293
|
<charge type="charge">
|
291
|
-
<id>
|
294
|
+
<id>f18ebf4917774743b518906723aef4f4</id>
|
292
295
|
<account_code>charge-list-all-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:19Z</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:19Z</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
|
+
- "279"
|
38
38
|
date:
|
39
|
-
- Tue,
|
39
|
+
- Tue, 16 Nov 2010 07:03:27 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "595"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=146e4e669f9473a357fcfdd6b21e2d32d0163f875db8b20da9b3a9412f1ec28572c8716c2cfa7e15107503751c1d0567657c99e45904bd1b44afbd5c44be0091%3A%3A; domain=.recurly.com; path=/
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=d1409dae613b9660e39a2fc18c5bc293; 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>5f413842c9eb4cf3ba20486f3c7df905</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-11-16T07:03:27Z</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
|
+
- "43"
|
99
99
|
date:
|
100
|
-
- Tue,
|
100
|
+
- Tue, 16 Nov 2010 07:03:26 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
|
-
- "
|
104
|
+
- "525"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=b76d3b4af9124dd8f783a26a6645ec3b; 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>75d43f60771d43e0a89b82481f1b3aed</id>
|
113
113
|
<account_code>charge-list-invoiced-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:26Z</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:26Z</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
|
+
- "45"
|
153
154
|
date:
|
154
|
-
- Tue,
|
155
|
+
- Tue, 16 Nov 2010 07:03:28 GMT
|
155
156
|
server:
|
156
157
|
- nginx/0.7.65
|
157
158
|
content-length:
|
158
|
-
- "
|
159
|
+
- "525"
|
159
160
|
set-cookie:
|
160
|
-
- _recurly_session=
|
161
|
+
- _recurly_session=17763cb399f1cf6c941a21c0654e96f7; 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>d2a076f03b544348bfdae885a76ef79c</id>
|
167
168
|
<account_code>charge-list-invoiced-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:28Z</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:28Z</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
|
+
- "43"
|
207
209
|
date:
|
208
|
-
- Tue,
|
210
|
+
- Tue, 16 Nov 2010 07:03:27 GMT
|
209
211
|
server:
|
210
212
|
- nginx/0.7.65
|
211
213
|
content-length:
|
212
|
-
- "
|
214
|
+
- "525"
|
213
215
|
set-cookie:
|
214
|
-
- _recurly_session=
|
216
|
+
- _recurly_session=7c52057e4712f5f18eef84fb57a207e3; 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>b92276331bc44fbe8e70c2495484a745</id>
|
221
223
|
<account_code>charge-list-invoiced-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:27Z</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:27Z</created_at>
|
227
230
|
</charge>
|
228
231
|
|
229
232
|
http_version: "1.1"
|
@@ -251,30 +254,30 @@
|
|
251
254
|
message: Created
|
252
255
|
headers:
|
253
256
|
location:
|
254
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
257
|
+
- https://recurlytest3-test.recurly.com/invoices/086f6b73b4174e01a8d422fa512e7cf5
|
255
258
|
connection:
|
256
259
|
- close
|
257
260
|
content-type:
|
258
261
|
- application/xml; charset=utf-8
|
259
262
|
x-runtime:
|
260
|
-
- "
|
263
|
+
- "76"
|
261
264
|
date:
|
262
|
-
- Tue,
|
265
|
+
- Tue, 16 Nov 2010 07:03:29 GMT
|
263
266
|
server:
|
264
267
|
- nginx/0.7.65
|
265
268
|
content-length:
|
266
269
|
- "1934"
|
267
270
|
set-cookie:
|
268
|
-
- _recurly_session=
|
271
|
+
- _recurly_session=764ce664d4a34b557b79b8640f9a27e4; domain=.recurly.com; path=/; secure; HttpOnly
|
269
272
|
cache-control:
|
270
273
|
- no-cache
|
271
274
|
body: |
|
272
275
|
<?xml version="1.0" encoding="UTF-8"?>
|
273
276
|
<invoice>
|
274
|
-
<id>
|
277
|
+
<id>086f6b73b4174e01a8d422fa512e7cf5</id>
|
275
278
|
<account_code>charge-list-invoiced-1287465632</account_code>
|
276
|
-
<date type="datetime">2010-
|
277
|
-
<invoice_number type="integer">
|
279
|
+
<date type="datetime">2010-11-16T07:03:29Z</date>
|
280
|
+
<invoice_number type="integer">2225</invoice_number>
|
278
281
|
<vat_number></vat_number>
|
279
282
|
<status>open</status>
|
280
283
|
<subtotal_in_cents type="integer">3000</subtotal_in_cents>
|
@@ -284,31 +287,31 @@
|
|
284
287
|
<total_due_in_cents type="integer">3000</total_due_in_cents>
|
285
288
|
<line_items type="array">
|
286
289
|
<line_item>
|
287
|
-
<id>
|
290
|
+
<id>75d43f60771d43e0a89b82481f1b3aed</id>
|
288
291
|
<type>charge</type>
|
289
292
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2010-
|
293
|
+
<start_date type="datetime">2010-11-16T07:03:26Z</start_date>
|
291
294
|
<end_date nil="true" type="datetime"></end_date>
|
292
295
|
<description>charge description</description>
|
293
|
-
<created_at type="datetime">2010-
|
296
|
+
<created_at type="datetime">2010-11-16T07:03:26Z</created_at>
|
294
297
|
</line_item>
|
295
298
|
<line_item>
|
296
|
-
<id>
|
299
|
+
<id>d2a076f03b544348bfdae885a76ef79c</id>
|
297
300
|
<type>charge</type>
|
298
301
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
299
|
-
<start_date type="datetime">2010-
|
302
|
+
<start_date type="datetime">2010-11-16T07:03:28Z</start_date>
|
300
303
|
<end_date nil="true" type="datetime"></end_date>
|
301
304
|
<description>charge description</description>
|
302
|
-
<created_at type="datetime">2010-
|
305
|
+
<created_at type="datetime">2010-11-16T07:03:28Z</created_at>
|
303
306
|
</line_item>
|
304
307
|
<line_item>
|
305
|
-
<id>
|
308
|
+
<id>b92276331bc44fbe8e70c2495484a745</id>
|
306
309
|
<type>charge</type>
|
307
310
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
308
|
-
<start_date type="datetime">2010-
|
311
|
+
<start_date type="datetime">2010-11-16T07:03:27Z</start_date>
|
309
312
|
<end_date nil="true" type="datetime"></end_date>
|
310
313
|
<description>charge description</description>
|
311
|
-
<created_at type="datetime">2010-
|
314
|
+
<created_at type="datetime">2010-11-16T07:03:27Z</created_at>
|
312
315
|
</line_item>
|
313
316
|
</line_items>
|
314
317
|
<payments type="array">
|
@@ -346,27 +349,28 @@
|
|
346
349
|
content-type:
|
347
350
|
- application/xml; charset=utf-8
|
348
351
|
x-runtime:
|
349
|
-
- "
|
352
|
+
- "107"
|
350
353
|
date:
|
351
|
-
- Tue,
|
354
|
+
- Tue, 16 Nov 2010 07:03:28 GMT
|
352
355
|
server:
|
353
356
|
- nginx/0.7.65
|
354
357
|
content-length:
|
355
|
-
- "
|
358
|
+
- "525"
|
356
359
|
set-cookie:
|
357
|
-
- _recurly_session=
|
360
|
+
- _recurly_session=8d47880d627a2a3f62e45283e5394473; domain=.recurly.com; path=/; secure; HttpOnly
|
358
361
|
cache-control:
|
359
362
|
- no-cache
|
360
363
|
body: |
|
361
364
|
<?xml version="1.0" encoding="UTF-8"?>
|
362
365
|
<charge type="charge">
|
363
|
-
<id>
|
366
|
+
<id>bfcc9e21d8374565b96e6db0c86feae4</id>
|
364
367
|
<account_code>charge-list-invoiced-1287465632</account_code>
|
365
368
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
366
|
-
<start_date type="datetime">2010-
|
369
|
+
<start_date type="datetime">2010-11-16T07:03:28Z</start_date>
|
367
370
|
<end_date nil="true" type="datetime"></end_date>
|
371
|
+
<invoice_number nil="true" type="integer"></invoice_number>
|
368
372
|
<description>charge description</description>
|
369
|
-
<created_at type="datetime">2010-
|
373
|
+
<created_at type="datetime">2010-11-16T07:03:28Z</created_at>
|
370
374
|
</charge>
|
371
375
|
|
372
376
|
http_version: "1.1"
|
@@ -390,55 +394,55 @@
|
|
390
394
|
x-ua-compatible:
|
391
395
|
- IE=Edge
|
392
396
|
etag:
|
393
|
-
- "\"
|
397
|
+
- "\"c88270ecbdf3691ade97557bf73f6f0e\""
|
394
398
|
connection:
|
395
399
|
- close
|
396
400
|
content-type:
|
397
401
|
- application/xml; charset=utf-8
|
398
402
|
x-runtime:
|
399
|
-
- "
|
403
|
+
- "76"
|
400
404
|
date:
|
401
|
-
- Tue,
|
405
|
+
- Tue, 16 Nov 2010 07:03:31 GMT
|
402
406
|
server:
|
403
407
|
- nginx/0.7.65
|
404
408
|
content-length:
|
405
409
|
- "1570"
|
406
410
|
set-cookie:
|
407
|
-
- _recurly_session=
|
411
|
+
- _recurly_session=b97ddf3e96e4e6ff274d37d08a6a8972; domain=.recurly.com; path=/; secure; HttpOnly
|
408
412
|
cache-control:
|
409
413
|
- private, max-age=0, must-revalidate
|
410
414
|
body: |
|
411
415
|
<?xml version="1.0" encoding="UTF-8"?>
|
412
416
|
<charges type="array">
|
413
417
|
<charge type="charge">
|
414
|
-
<id>
|
418
|
+
<id>b92276331bc44fbe8e70c2495484a745</id>
|
415
419
|
<account_code>charge-list-invoiced-1287465632</account_code>
|
416
420
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
417
|
-
<start_date type="datetime">2010-
|
421
|
+
<start_date type="datetime">2010-11-16T07:03:27Z</start_date>
|
418
422
|
<end_date nil="true" type="datetime"></end_date>
|
419
|
-
<
|
423
|
+
<invoice_number type="integer">2225</invoice_number>
|
420
424
|
<description>charge description</description>
|
421
|
-
<created_at type="datetime">2010-
|
425
|
+
<created_at type="datetime">2010-11-16T07:03:27Z</created_at>
|
422
426
|
</charge>
|
423
427
|
<charge type="charge">
|
424
|
-
<id>
|
428
|
+
<id>d2a076f03b544348bfdae885a76ef79c</id>
|
425
429
|
<account_code>charge-list-invoiced-1287465632</account_code>
|
426
430
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
427
|
-
<start_date type="datetime">2010-
|
431
|
+
<start_date type="datetime">2010-11-16T07:03:28Z</start_date>
|
428
432
|
<end_date nil="true" type="datetime"></end_date>
|
429
|
-
<
|
433
|
+
<invoice_number type="integer">2225</invoice_number>
|
430
434
|
<description>charge description</description>
|
431
|
-
<created_at type="datetime">2010-
|
435
|
+
<created_at type="datetime">2010-11-16T07:03:28Z</created_at>
|
432
436
|
</charge>
|
433
437
|
<charge type="charge">
|
434
|
-
<id>
|
438
|
+
<id>75d43f60771d43e0a89b82481f1b3aed</id>
|
435
439
|
<account_code>charge-list-invoiced-1287465632</account_code>
|
436
440
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
437
|
-
<start_date type="datetime">2010-
|
441
|
+
<start_date type="datetime">2010-11-16T07:03:26Z</start_date>
|
438
442
|
<end_date nil="true" type="datetime"></end_date>
|
439
|
-
<
|
443
|
+
<invoice_number type="integer">2225</invoice_number>
|
440
444
|
<description>charge description</description>
|
441
|
-
<created_at type="datetime">2010-
|
445
|
+
<created_at type="datetime">2010-11-16T07:03:26Z</created_at>
|
442
446
|
</charge>
|
443
447
|
</charges>
|
444
448
|
|