recurly 0.4.3 → 0.4.4
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/base.rb +9 -4
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/formats/xml_with_errors.rb +2 -2
- data/lib/recurly/rails3/recurly.rake +2 -2
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +3 -3
- data/spec/vcr/account/accept-language-account/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/close/{1297746103.yml → 1301979678.yml} +19 -19
- data/spec/vcr/account/create-blank/{1297746103.yml → 1301979678.yml} +2 -2
- data/spec/vcr/account/create-duplicate/{1297746103.yml → 1301979678.yml} +6 -6
- data/spec/vcr/account/create-min/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/create/{1297746103.yml → 1301979678.yml} +8 -8
- data/spec/vcr/account/find/{1297746103.yml → 1301979678.yml} +17 -17
- data/spec/vcr/account/list/{1297746103.yml → 1301979678.yml} +151 -151
- data/spec/vcr/account/update/{1297746103.yml → 1301979678.yml} +36 -36
- data/spec/vcr/billing/create/1298594128.yml +12 -12
- data/spec/vcr/billing/destroy/1298594128.yml +15 -15
- data/spec/vcr/billing/find/1298594128.yml +16 -16
- data/spec/vcr/billing/update/1298594128.yml +16 -16
- data/spec/vcr/charge/create/1297746103.yml +20 -20
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +23 -23
- data/spec/vcr/charge/list-all/1297746103.yml +31 -31
- data/spec/vcr/charge/list-invoiced/1297746103.yml +54 -54
- data/spec/vcr/charge/list-pending/1297746103.yml +31 -31
- data/spec/vcr/charge/lookup/1297746103.yml +16 -16
- data/spec/vcr/coupon/create/1299714521.yml +11 -11
- data/spec/vcr/coupon/destroy/1299714521.yml +10 -10
- data/spec/vcr/credit/create/1299714599.yml +16 -16
- data/spec/vcr/credit/delete/1299714599.yml +21 -21
- data/spec/vcr/credit/list/1299714599.yml +31 -31
- data/spec/vcr/credit/lookup/1299714599.yml +16 -16
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/create/1297746103.yml +30 -30
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +31 -31
- data/spec/vcr/plan/all.yml +6 -6
- data/spec/vcr/plan/find.yml +6 -6
- data/spec/vcr/plan/update.yml +6 -6
- data/spec/vcr/subscription/addons/add/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/addons/create/{1301884213.yml → 1301885121.yml} +31 -31
- data/spec/vcr/subscription/addons/remove/{1297746103.yml → 1301885121.yml} +49 -49
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/change1/1301881900.yml +31 -31
- data/spec/vcr/subscription/change2/1301881900.yml +31 -31
- data/spec/vcr/subscription/create/1301881900.yml +13 -13
- data/spec/vcr/subscription/find/1301881900.yml +19 -19
- data/spec/vcr/subscription/reactivate/1301881900.yml +36 -36
- data/spec/vcr/subscription/refund-full/1301881900.yml +27 -27
- data/spec/vcr/subscription/refund-none/1301881900.yml +28 -28
- data/spec/vcr/subscription/refund-partial/1301881900.yml +28 -28
- data/spec/vcr/transaction/all/1301883347.yml +43 -43
- data/spec/vcr/transaction/create-no-account/1301883347.yml +5 -5
- data/spec/vcr/transaction/create-with-account/1301883347.yml +13 -13
- data/spec/vcr/transaction/list-filled/1301883347.yml +45 -45
- data/spec/vcr/transaction/list-initial/1301883347.yml +13 -13
- data/spec/vcr/transaction/lookup/1301883347.yml +41 -41
- data/spec/vcr/transaction/refund/1301883347.yml +19 -19
- data/spec/vcr/transaction/void/1301883347.yml +26 -26
- data/spec/vcr/transparent/post-url/1301879142.yml +9 -9
- metadata +27 -33
- data/spec/vcr/subscription/addons/add/1301884213.yml +0 -480
- data/spec/vcr/subscription/addons/create/1297746103.yml +0 -321
- data/spec/vcr/subscription/addons/remove/1301884213.yml +0 -449
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/credit-list-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "443"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "577"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=0238787b84bcb25bc2b7d052f8a37229; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>22de4c581c654ceca3de26fbc8e0c866</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:15Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "255"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "501"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=54b089043b8a476fe69ddab87aa0d924; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,14 +112,14 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<credit type="credit">
|
115
|
-
<id>
|
115
|
+
<id>b109973da3914c139fc39be0fd49d6d1</id>
|
116
116
|
<account_code>credit-list-1299714599</account_code>
|
117
117
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:16:17Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>one</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:16:17Z</created_at>
|
123
123
|
</credit>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
@@ -153,13 +153,13 @@
|
|
153
153
|
cache-control:
|
154
154
|
- no-cache
|
155
155
|
x-runtime:
|
156
|
-
- "
|
156
|
+
- "251"
|
157
157
|
content-type:
|
158
158
|
- application/xml; charset=utf-8
|
159
159
|
content-length:
|
160
160
|
- "501"
|
161
161
|
set-cookie:
|
162
|
-
- _recurly_session=
|
162
|
+
- _recurly_session=c3bf94d05685ff10a295253986139097; domain=.recurly.local; path=/; HttpOnly
|
163
163
|
connection:
|
164
164
|
- close
|
165
165
|
server:
|
@@ -167,14 +167,14 @@
|
|
167
167
|
body: |
|
168
168
|
<?xml version="1.0" encoding="UTF-8"?>
|
169
169
|
<credit type="credit">
|
170
|
-
<id>
|
170
|
+
<id>eaf58760b3a749aeb5bb3b4bba94a95d</id>
|
171
171
|
<account_code>credit-list-1299714599</account_code>
|
172
172
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
173
|
-
<start_date type="datetime">2011-04-
|
173
|
+
<start_date type="datetime">2011-04-05T05:16:19Z</start_date>
|
174
174
|
<end_date nil="true" type="datetime"></end_date>
|
175
175
|
<invoice_number nil="true" type="integer"></invoice_number>
|
176
176
|
<description>two</description>
|
177
|
-
<created_at type="datetime">2011-04-
|
177
|
+
<created_at type="datetime">2011-04-05T05:16:19Z</created_at>
|
178
178
|
</credit>
|
179
179
|
|
180
180
|
http_version: "1.1"
|
@@ -208,13 +208,13 @@
|
|
208
208
|
cache-control:
|
209
209
|
- no-cache
|
210
210
|
x-runtime:
|
211
|
-
- "
|
211
|
+
- "257"
|
212
212
|
content-type:
|
213
213
|
- application/xml; charset=utf-8
|
214
214
|
content-length:
|
215
215
|
- "503"
|
216
216
|
set-cookie:
|
217
|
-
- _recurly_session=
|
217
|
+
- _recurly_session=f0a33a8e7bb7d46b9b5edf1aaaa44674; domain=.recurly.local; path=/; HttpOnly
|
218
218
|
connection:
|
219
219
|
- close
|
220
220
|
server:
|
@@ -222,14 +222,14 @@
|
|
222
222
|
body: |
|
223
223
|
<?xml version="1.0" encoding="UTF-8"?>
|
224
224
|
<credit type="credit">
|
225
|
-
<id>
|
225
|
+
<id>663828352817481ea4074f1a55d367d3</id>
|
226
226
|
<account_code>credit-list-1299714599</account_code>
|
227
227
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
228
|
-
<start_date type="datetime">2011-04-
|
228
|
+
<start_date type="datetime">2011-04-05T05:16:21Z</start_date>
|
229
229
|
<end_date nil="true" type="datetime"></end_date>
|
230
230
|
<invoice_number nil="true" type="integer"></invoice_number>
|
231
231
|
<description>three</description>
|
232
|
-
<created_at type="datetime">2011-04-
|
232
|
+
<created_at type="datetime">2011-04-05T05:16:21Z</created_at>
|
233
233
|
</credit>
|
234
234
|
|
235
235
|
http_version: "1.1"
|
@@ -255,17 +255,17 @@
|
|
255
255
|
message: OK
|
256
256
|
headers:
|
257
257
|
x-runtime:
|
258
|
-
- "
|
258
|
+
- "68"
|
259
259
|
content-type:
|
260
260
|
- application/xml; charset=utf-8
|
261
261
|
etag:
|
262
|
-
- "\"
|
262
|
+
- "\"b46eb7495fbbf36f0a3e4877bf34b50b\""
|
263
263
|
cache-control:
|
264
264
|
- private, max-age=0, must-revalidate
|
265
265
|
content-length:
|
266
266
|
- "1521"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=96b19518f451eee60a54ab7e2fffcc04; domain=.recurly.local; path=/; HttpOnly
|
269
269
|
connection:
|
270
270
|
- close
|
271
271
|
server:
|
@@ -274,34 +274,34 @@
|
|
274
274
|
<?xml version="1.0" encoding="UTF-8"?>
|
275
275
|
<credits type="array">
|
276
276
|
<credit type="credit">
|
277
|
-
<id>
|
277
|
+
<id>663828352817481ea4074f1a55d367d3</id>
|
278
278
|
<account_code>credit-list-1299714599</account_code>
|
279
279
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
280
|
-
<start_date type="datetime">2011-04-
|
280
|
+
<start_date type="datetime">2011-04-05T05:16:21Z</start_date>
|
281
281
|
<end_date nil="true" type="datetime"></end_date>
|
282
282
|
<invoice_number nil="true" type="integer"></invoice_number>
|
283
283
|
<description>three</description>
|
284
|
-
<created_at type="datetime">2011-04-
|
284
|
+
<created_at type="datetime">2011-04-05T05:16:21Z</created_at>
|
285
285
|
</credit>
|
286
286
|
<credit type="credit">
|
287
|
-
<id>
|
287
|
+
<id>eaf58760b3a749aeb5bb3b4bba94a95d</id>
|
288
288
|
<account_code>credit-list-1299714599</account_code>
|
289
289
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
290
|
-
<start_date type="datetime">2011-04-
|
290
|
+
<start_date type="datetime">2011-04-05T05:16:19Z</start_date>
|
291
291
|
<end_date nil="true" type="datetime"></end_date>
|
292
292
|
<invoice_number nil="true" type="integer"></invoice_number>
|
293
293
|
<description>two</description>
|
294
|
-
<created_at type="datetime">2011-04-
|
294
|
+
<created_at type="datetime">2011-04-05T05:16:19Z</created_at>
|
295
295
|
</credit>
|
296
296
|
<credit type="credit">
|
297
|
-
<id>
|
297
|
+
<id>b109973da3914c139fc39be0fd49d6d1</id>
|
298
298
|
<account_code>credit-list-1299714599</account_code>
|
299
299
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
300
|
-
<start_date type="datetime">2011-04-
|
300
|
+
<start_date type="datetime">2011-04-05T05:16:17Z</start_date>
|
301
301
|
<end_date nil="true" type="datetime"></end_date>
|
302
302
|
<invoice_number nil="true" type="integer"></invoice_number>
|
303
303
|
<description>one</description>
|
304
|
-
<created_at type="datetime">2011-04-
|
304
|
+
<created_at type="datetime">2011-04-05T05:16:17Z</created_at>
|
305
305
|
</credit>
|
306
306
|
</credits>
|
307
307
|
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/credit-lookup-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "282"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=9385d5879855284069c5fb2febd6edca; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>72b9c8fd2a984659b7d8ad187033a0a3</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:25Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -98,13 +98,13 @@
|
|
98
98
|
cache-control:
|
99
99
|
- no-cache
|
100
100
|
x-runtime:
|
101
|
-
- "
|
101
|
+
- "258"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "516"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=267ca010e17c14a81149ae338c4af007; domain=.recurly.local; path=/; HttpOnly
|
108
108
|
connection:
|
109
109
|
- close
|
110
110
|
server:
|
@@ -112,21 +112,21 @@
|
|
112
112
|
body: |
|
113
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
114
114
|
<credit type="credit">
|
115
|
-
<id>
|
115
|
+
<id>f5b0386b022c4c0f84631c8243a5c2ab</id>
|
116
116
|
<account_code>credit-lookup-1299714599</account_code>
|
117
117
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T05:16:27Z</start_date>
|
119
119
|
<end_date nil="true" type="datetime"></end_date>
|
120
120
|
<invoice_number nil="true" type="integer"></invoice_number>
|
121
121
|
<description>free moniez 4 u</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T05:16:27Z</created_at>
|
123
123
|
</credit>
|
124
124
|
|
125
125
|
http_version: "1.1"
|
126
126
|
- !ruby/struct:VCR::HTTPInteraction
|
127
127
|
request: !ruby/struct:VCR::Request
|
128
128
|
method: :get
|
129
|
-
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-lookup-1299714599/credits/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-lookup-1299714599/credits/f5b0386b022c4c0f84631c8243a5c2ab.xml
|
130
130
|
body:
|
131
131
|
headers:
|
132
132
|
authorization:
|
@@ -145,17 +145,17 @@
|
|
145
145
|
message: OK
|
146
146
|
headers:
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "71"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"b4758a1f61183ef74454412915ee591d\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "516"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=ee9a5e95d07e73a44647ec94e2f42dbe; domain=.recurly.local; path=/; HttpOnly
|
159
159
|
connection:
|
160
160
|
- close
|
161
161
|
server:
|
@@ -163,14 +163,14 @@
|
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<credit type="credit">
|
166
|
-
<id>
|
166
|
+
<id>f5b0386b022c4c0f84631c8243a5c2ab</id>
|
167
167
|
<account_code>credit-lookup-1299714599</account_code>
|
168
168
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T05:16:27Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<invoice_number nil="true" type="integer"></invoice_number>
|
172
172
|
<description>free moniez 4 u</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T05:16:27Z</created_at>
|
174
174
|
</credit>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/invoice-create-no-charges-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "452"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "605"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=22899ee0ece7654263f33a6a57b614cf; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>ca95fd951f744faea17ba210a828d08c</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:52Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "2681"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"f1cccdcaaac89828cd706b98e89118e7\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "651"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=cf9577f2872d6328c01a618615c377d2; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T05:16:56Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -176,13 +176,13 @@
|
|
176
176
|
cache-control:
|
177
177
|
- no-cache
|
178
178
|
x-runtime:
|
179
|
-
- "
|
179
|
+
- "245"
|
180
180
|
content-type:
|
181
181
|
- application/xml; charset=utf-8
|
182
182
|
content-length:
|
183
183
|
- "98"
|
184
184
|
set-cookie:
|
185
|
-
- _recurly_session=
|
185
|
+
- _recurly_session=707c74e068bd65dc66c24a7754550b15; domain=.recurly.local; path=/; HttpOnly
|
186
186
|
connection:
|
187
187
|
- close
|
188
188
|
server:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/invoice-create-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "284"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "583"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=fb6c51c52f538b51387927d65b41f2d8; domain=.recurly.local; path=/; HttpOnly
|
49
49
|
connection:
|
50
50
|
- close
|
51
51
|
server:
|
@@ -62,8 +62,8 @@
|
|
62
62
|
<company_name>Recurly Ruby Gem</company_name>
|
63
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
64
64
|
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-04-
|
65
|
+
<hosted_login_token>35c593f470aa4e078bcde79a88559680</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T05:16:40Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -108,17 +108,17 @@
|
|
108
108
|
message: OK
|
109
109
|
headers:
|
110
110
|
x-runtime:
|
111
|
-
- "
|
111
|
+
- "2110"
|
112
112
|
content-type:
|
113
113
|
- application/xml; charset=utf-8
|
114
114
|
etag:
|
115
|
-
- "\"
|
115
|
+
- "\"6b5f55ea52568d7a86c9ce7677af9c6a\""
|
116
116
|
cache-control:
|
117
117
|
- private, max-age=0, must-revalidate
|
118
118
|
content-length:
|
119
119
|
- "640"
|
120
120
|
set-cookie:
|
121
|
-
- _recurly_session=
|
121
|
+
- _recurly_session=e35bcc0d350bbbace1a32c6a46abc551; domain=.recurly.local; path=/; HttpOnly
|
122
122
|
connection:
|
123
123
|
- close
|
124
124
|
server:
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<month type="integer">4</month>
|
145
145
|
<year type="integer">2012</year>
|
146
146
|
</credit_card>
|
147
|
-
<updated_at type="datetime">2011-04-
|
147
|
+
<updated_at type="datetime">2011-04-05T05:16:44Z</updated_at>
|
148
148
|
</billing_info>
|
149
149
|
|
150
150
|
http_version: "1.1"
|
@@ -178,13 +178,13 @@
|
|
178
178
|
cache-control:
|
179
179
|
- no-cache
|
180
180
|
x-runtime:
|
181
|
-
- "
|
181
|
+
- "253"
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
content-length:
|
185
185
|
- "519"
|
186
186
|
set-cookie:
|
187
|
-
- _recurly_session=
|
187
|
+
- _recurly_session=04466c6588d7b1c0421845ea9e26aef7; domain=.recurly.local; path=/; HttpOnly
|
188
188
|
connection:
|
189
189
|
- close
|
190
190
|
server:
|
@@ -192,14 +192,14 @@
|
|
192
192
|
body: |
|
193
193
|
<?xml version="1.0" encoding="UTF-8"?>
|
194
194
|
<charge type="charge">
|
195
|
-
<id>
|
195
|
+
<id>26824adb76f548dba081eeaaa76e368a</id>
|
196
196
|
<account_code>invoice-create-1297746103</account_code>
|
197
197
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
198
|
-
<start_date type="datetime">2011-04-
|
198
|
+
<start_date type="datetime">2011-04-05T05:16:46Z</start_date>
|
199
199
|
<end_date nil="true" type="datetime"></end_date>
|
200
200
|
<invoice_number nil="true" type="integer"></invoice_number>
|
201
201
|
<description>charge description</description>
|
202
|
-
<created_at type="datetime">2011-04-
|
202
|
+
<created_at type="datetime">2011-04-05T05:16:46Z</created_at>
|
203
203
|
</charge>
|
204
204
|
|
205
205
|
http_version: "1.1"
|
@@ -233,13 +233,13 @@
|
|
233
233
|
cache-control:
|
234
234
|
- no-cache
|
235
235
|
x-runtime:
|
236
|
-
- "
|
236
|
+
- "252"
|
237
237
|
content-type:
|
238
238
|
- application/xml; charset=utf-8
|
239
239
|
content-length:
|
240
240
|
- "519"
|
241
241
|
set-cookie:
|
242
|
-
- _recurly_session=
|
242
|
+
- _recurly_session=bb5f23237c6840cf584ce3b48975b106; domain=.recurly.local; path=/; HttpOnly
|
243
243
|
connection:
|
244
244
|
- close
|
245
245
|
server:
|
@@ -247,14 +247,14 @@
|
|
247
247
|
body: |
|
248
248
|
<?xml version="1.0" encoding="UTF-8"?>
|
249
249
|
<charge type="charge">
|
250
|
-
<id>
|
250
|
+
<id>1b38831519d149cdaf9aaafbd91262f6</id>
|
251
251
|
<account_code>invoice-create-1297746103</account_code>
|
252
252
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
253
|
-
<start_date type="datetime">2011-04-
|
253
|
+
<start_date type="datetime">2011-04-05T05:16:47Z</start_date>
|
254
254
|
<end_date nil="true" type="datetime"></end_date>
|
255
255
|
<invoice_number nil="true" type="integer"></invoice_number>
|
256
256
|
<description>charge description</description>
|
257
|
-
<created_at type="datetime">2011-04-
|
257
|
+
<created_at type="datetime">2011-04-05T05:16:48Z</created_at>
|
258
258
|
</charge>
|
259
259
|
|
260
260
|
http_version: "1.1"
|
@@ -286,15 +286,15 @@
|
|
286
286
|
cache-control:
|
287
287
|
- no-cache
|
288
288
|
location:
|
289
|
-
- http://app.recurly.local:3000/invoices/
|
289
|
+
- http://app.recurly.local:3000/invoices/3f4a4fbeca0945aeb0bffecbb2b72c15
|
290
290
|
x-runtime:
|
291
|
-
- "
|
291
|
+
- "712"
|
292
292
|
content-type:
|
293
293
|
- application/xml; charset=utf-8
|
294
294
|
content-length:
|
295
295
|
- "1675"
|
296
296
|
set-cookie:
|
297
|
-
- _recurly_session=
|
297
|
+
- _recurly_session=495fe4a77bcb7492db8aec7b9fbce145; domain=.recurly.local; path=/; HttpOnly
|
298
298
|
connection:
|
299
299
|
- close
|
300
300
|
server:
|
@@ -302,10 +302,10 @@
|
|
302
302
|
body: |
|
303
303
|
<?xml version="1.0" encoding="UTF-8"?>
|
304
304
|
<invoice>
|
305
|
-
<id>
|
305
|
+
<id>3f4a4fbeca0945aeb0bffecbb2b72c15</id>
|
306
306
|
<account_code>invoice-create-1297746103</account_code>
|
307
|
-
<date type="datetime">2011-04-
|
308
|
-
<invoice_number type="integer">
|
307
|
+
<date type="datetime">2011-04-05T05:16:50Z</date>
|
308
|
+
<invoice_number type="integer">1351</invoice_number>
|
309
309
|
<vat_number></vat_number>
|
310
310
|
<status>open</status>
|
311
311
|
<subtotal_in_cents type="integer">2500</subtotal_in_cents>
|
@@ -316,23 +316,23 @@
|
|
316
316
|
<discount_in_cents type="integer">0</discount_in_cents>
|
317
317
|
<line_items type="array">
|
318
318
|
<line_item>
|
319
|
-
<id>
|
319
|
+
<id>26824adb76f548dba081eeaaa76e368a</id>
|
320
320
|
<type>charge</type>
|
321
321
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
322
|
-
<start_date type="datetime">2011-04-
|
322
|
+
<start_date type="datetime">2011-04-05T05:16:46Z</start_date>
|
323
323
|
<end_date nil="true" type="datetime"></end_date>
|
324
324
|
<description>charge description</description>
|
325
|
-
<created_at type="datetime">2011-04-
|
325
|
+
<created_at type="datetime">2011-04-05T05:16:46Z</created_at>
|
326
326
|
<applied_coupon_code></applied_coupon_code>
|
327
327
|
</line_item>
|
328
328
|
<line_item>
|
329
|
-
<id>
|
329
|
+
<id>1b38831519d149cdaf9aaafbd91262f6</id>
|
330
330
|
<type>charge</type>
|
331
331
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
332
|
-
<start_date type="datetime">2011-04-
|
332
|
+
<start_date type="datetime">2011-04-05T05:16:47Z</start_date>
|
333
333
|
<end_date nil="true" type="datetime"></end_date>
|
334
334
|
<description>charge description</description>
|
335
|
-
<created_at type="datetime">2011-04-
|
335
|
+
<created_at type="datetime">2011-04-05T05:16:48Z</created_at>
|
336
336
|
<applied_coupon_code></applied_coupon_code>
|
337
337
|
</line_item>
|
338
338
|
</line_items>
|