recurly 0.4.4 → 0.4.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/base.rb +4 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/billing_info_spec.rb +33 -0
- data/spec/vcr/account/accept-language-account/1301979678.yml +4 -4
- data/spec/vcr/account/close/1301979678.yml +11 -11
- data/spec/vcr/account/create/1301979678.yml +4 -4
- data/spec/vcr/account/create-blank/1301979678.yml +2 -2
- data/spec/vcr/account/create-duplicate/1301979678.yml +6 -6
- data/spec/vcr/account/create-min/1301979678.yml +4 -4
- data/spec/vcr/account/find/1301979678.yml +10 -10
- data/spec/vcr/account/list/1301979678.yml +74 -74
- data/spec/vcr/account/update/1301979678.yml +21 -21
- data/spec/vcr/billing/create/{1298594128.yml → 1302025874.yml} +20 -20
- data/spec/vcr/billing/destroy/{1298594128.yml → 1302025874.yml} +25 -25
- data/spec/vcr/billing/errors/1302025874.yml +126 -0
- data/spec/vcr/billing/find/{1298594128.yml → 1302025874.yml} +27 -27
- data/spec/vcr/billing/update/{1298594128.yml → 1302025874.yml} +27 -27
- 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 +53 -53
- 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/1297746103.yml +30 -30
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +10 -10
- data/spec/vcr/invoice/list/1297746103.yml +45 -45
- data/spec/vcr/invoice/lookup/1297746103.yml +32 -32
- 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/1301885121.yml +31 -31
- data/spec/vcr/subscription/addons/create/1301885121.yml +19 -19
- data/spec/vcr/subscription/addons/remove/1301885121.yml +31 -31
- data/spec/vcr/subscription/cancel/1301881900.yml +35 -35
- data/spec/vcr/subscription/cancel-with-code/1301881900.yml +43 -43
- 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 +28 -28
- 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 +55 -55
- 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 +12 -10
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-list-pending-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "395"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "593"
|
47
47
|
set-cookie:
|
48
|
-
- _recurly_session=
|
48
|
+
- _recurly_session=ad18d90d05bb71b07b3e865695bd6911; 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>ab6d93f3834240cf843de25bb6ce637e</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:41:19Z</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
|
+
- "368"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "524"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=885ee740fde61c406dd75352c58be3b1; 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
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>9bbc05e9e35e440ea150d23de1f998af</id>
|
116
116
|
<account_code>charge-list-pending-1297746103</account_code>
|
117
117
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T19:41:22Z</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>charge description</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T19:41:22Z</created_at>
|
123
123
|
</charge>
|
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
|
+
- "371"
|
157
157
|
content-type:
|
158
158
|
- application/xml; charset=utf-8
|
159
159
|
content-length:
|
160
160
|
- "524"
|
161
161
|
set-cookie:
|
162
|
-
- _recurly_session=
|
162
|
+
- _recurly_session=b38f7df7749fd86ccfc012472400d1ab; 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
|
<charge type="charge">
|
170
|
-
<id>
|
170
|
+
<id>e8d01a5662b44be79091293158e6f6c4</id>
|
171
171
|
<account_code>charge-list-pending-1297746103</account_code>
|
172
172
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
173
|
-
<start_date type="datetime">2011-04-
|
173
|
+
<start_date type="datetime">2011-04-05T19:41:24Z</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>charge description</description>
|
177
|
-
<created_at type="datetime">2011-04-
|
177
|
+
<created_at type="datetime">2011-04-05T19:41:24Z</created_at>
|
178
178
|
</charge>
|
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
|
+
- "368"
|
212
212
|
content-type:
|
213
213
|
- application/xml; charset=utf-8
|
214
214
|
content-length:
|
215
215
|
- "524"
|
216
216
|
set-cookie:
|
217
|
-
- _recurly_session=
|
217
|
+
- _recurly_session=b83ce27c871d24357cdf99b79188f736; 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
|
<charge type="charge">
|
225
|
-
<id>
|
225
|
+
<id>9207bc8afe6a40f6ab533eac297bacdb</id>
|
226
226
|
<account_code>charge-list-pending-1297746103</account_code>
|
227
227
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
228
|
-
<start_date type="datetime">2011-04-
|
228
|
+
<start_date type="datetime">2011-04-05T19:41:27Z</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>charge description</description>
|
232
|
-
<created_at type="datetime">2011-04-
|
232
|
+
<created_at type="datetime">2011-04-05T19:41:27Z</created_at>
|
233
233
|
</charge>
|
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
|
+
- "351"
|
259
259
|
content-type:
|
260
260
|
- application/xml; charset=utf-8
|
261
261
|
etag:
|
262
|
-
- "\"
|
262
|
+
- "\"b72b73f3b1310c9f399fb96e03a3e1a0\""
|
263
263
|
cache-control:
|
264
264
|
- private, max-age=0, must-revalidate
|
265
265
|
content-length:
|
266
266
|
- "1588"
|
267
267
|
set-cookie:
|
268
|
-
- _recurly_session=
|
268
|
+
- _recurly_session=5e4db1fbc514b3ec51aaae21c7dff936; 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
|
<charges type="array">
|
276
276
|
<charge type="charge">
|
277
|
-
<id>
|
277
|
+
<id>9207bc8afe6a40f6ab533eac297bacdb</id>
|
278
278
|
<account_code>charge-list-pending-1297746103</account_code>
|
279
279
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
280
|
-
<start_date type="datetime">2011-04-
|
280
|
+
<start_date type="datetime">2011-04-05T19:41:27Z</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>charge description</description>
|
284
|
-
<created_at type="datetime">2011-04-
|
284
|
+
<created_at type="datetime">2011-04-05T19:41:27Z</created_at>
|
285
285
|
</charge>
|
286
286
|
<charge type="charge">
|
287
|
-
<id>
|
287
|
+
<id>e8d01a5662b44be79091293158e6f6c4</id>
|
288
288
|
<account_code>charge-list-pending-1297746103</account_code>
|
289
289
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
290
|
-
<start_date type="datetime">2011-04-
|
290
|
+
<start_date type="datetime">2011-04-05T19:41:24Z</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>charge description</description>
|
294
|
-
<created_at type="datetime">2011-04-
|
294
|
+
<created_at type="datetime">2011-04-05T19:41:24Z</created_at>
|
295
295
|
</charge>
|
296
296
|
<charge type="charge">
|
297
|
-
<id>
|
297
|
+
<id>9bbc05e9e35e440ea150d23de1f998af</id>
|
298
298
|
<account_code>charge-list-pending-1297746103</account_code>
|
299
299
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
300
|
-
<start_date type="datetime">2011-04-
|
300
|
+
<start_date type="datetime">2011-04-05T19:41:22Z</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>charge description</description>
|
304
|
-
<created_at type="datetime">2011-04-
|
304
|
+
<created_at type="datetime">2011-04-05T19:41:22Z</created_at>
|
305
305
|
</charge>
|
306
306
|
</charges>
|
307
307
|
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/charge-lookup-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "396"
|
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=cc84951bed29f8bf1b7492d014675897; 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>4398973b6fcb4ec3a3aabfa4662b3cfd</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:42:03Z</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
|
+
- "385"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "517"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=b34fe0e8270a62c05e9370a9f90f1c79; 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
|
<charge type="charge">
|
115
|
-
<id>
|
115
|
+
<id>51e7e95a44c04f7ba4b2644abc56797f</id>
|
116
116
|
<account_code>charge-lookup-1297746103</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-05T19:42:06Z</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>inconvenience fee</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T19:42:06Z</created_at>
|
123
123
|
</charge>
|
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/charge-lookup-1297746103/charges/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/charge-lookup-1297746103/charges/51e7e95a44c04f7ba4b2644abc56797f.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
|
+
- "74"
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
etag:
|
152
|
-
- "\"
|
152
|
+
- "\"b015d7b4d8c51fa43d93638063529730\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "517"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=d5234dd44de7698ddfe994a7ba2bf669; 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
|
<charge type="charge">
|
166
|
-
<id>
|
166
|
+
<id>51e7e95a44c04f7ba4b2644abc56797f</id>
|
167
167
|
<account_code>charge-lookup-1297746103</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-05T19:42:06Z</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>inconvenience fee</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T19:42:06Z</created_at>
|
174
174
|
</charge>
|
175
175
|
|
176
176
|
http_version: "1.1"
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/coupon-create-1299714521
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "408"
|
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=f28ed29f998a9648d91491d61c1bef5c; 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>7cd5dd7d07334ae399ae1df3036843be</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:42:27Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -97,13 +97,13 @@
|
|
97
97
|
cache-control:
|
98
98
|
- no-cache
|
99
99
|
x-runtime:
|
100
|
-
- "
|
100
|
+
- "438"
|
101
101
|
content-type:
|
102
102
|
- application/xml; charset=utf-8
|
103
103
|
content-length:
|
104
104
|
- "520"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=0cc33b1c9e046fa6e80379d05e2fff25; domain=.recurly.local; path=/; HttpOnly
|
107
107
|
connection:
|
108
108
|
- close
|
109
109
|
server:
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<discount_percent type="integer"></discount_percent>
|
119
119
|
<redemption>
|
120
120
|
<account_code>coupon-create-1299714521</account_code>
|
121
|
-
<redeemed_at type="datetime">2011-04-
|
121
|
+
<redeemed_at type="datetime">2011-04-05T19:42:30Z</redeemed_at>
|
122
122
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
123
123
|
</redemption>
|
124
124
|
</coupon>
|
@@ -146,17 +146,17 @@
|
|
146
146
|
message: OK
|
147
147
|
headers:
|
148
148
|
x-runtime:
|
149
|
-
- "
|
149
|
+
- "383"
|
150
150
|
content-type:
|
151
151
|
- application/xml; charset=utf-8
|
152
152
|
etag:
|
153
|
-
- "\"
|
153
|
+
- "\"41fb0a5e0b49fd85d9a230c2bdaf1849\""
|
154
154
|
cache-control:
|
155
155
|
- private, max-age=0, must-revalidate
|
156
156
|
content-length:
|
157
157
|
- "520"
|
158
158
|
set-cookie:
|
159
|
-
- _recurly_session=
|
159
|
+
- _recurly_session=4f6a51e29c8159912fe4dbe08e824925; domain=.recurly.local; path=/; HttpOnly
|
160
160
|
connection:
|
161
161
|
- close
|
162
162
|
server:
|
@@ -171,7 +171,7 @@
|
|
171
171
|
<discount_percent type="integer"></discount_percent>
|
172
172
|
<redemption>
|
173
173
|
<account_code>coupon-create-1299714521</account_code>
|
174
|
-
<redeemed_at type="datetime">2011-04-
|
174
|
+
<redeemed_at type="datetime">2011-04-05T19:42:30Z</redeemed_at>
|
175
175
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
176
176
|
</redemption>
|
177
177
|
</coupon>
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/coupon-destroy-1299714521
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "398"
|
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=04ad85bda6648770f4c2b3d5e04ce66c; 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>284bb81f2ba64ec8bee5c7b81ae379e3</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:42:35Z</created_at>
|
67
67
|
<state>active</state>
|
68
68
|
</account>
|
69
69
|
|
@@ -97,13 +97,13 @@
|
|
97
97
|
cache-control:
|
98
98
|
- no-cache
|
99
99
|
x-runtime:
|
100
|
-
- "
|
100
|
+
- "407"
|
101
101
|
content-type:
|
102
102
|
- application/xml; charset=utf-8
|
103
103
|
content-length:
|
104
104
|
- "522"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=9b924f1e24fb34e2968a6ef5c29965fa; domain=.recurly.local; path=/; HttpOnly
|
107
107
|
connection:
|
108
108
|
- close
|
109
109
|
server:
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<discount_percent type="integer"></discount_percent>
|
119
119
|
<redemption>
|
120
120
|
<account_code>coupon-destroy-1299714521</account_code>
|
121
|
-
<redeemed_at type="datetime">2011-04-
|
121
|
+
<redeemed_at type="datetime">2011-04-05T19:42:38Z</redeemed_at>
|
122
122
|
<total_discounted_in_cents type="integer">0</total_discounted_in_cents>
|
123
123
|
</redemption>
|
124
124
|
</coupon>
|
@@ -146,13 +146,13 @@
|
|
146
146
|
cache-control:
|
147
147
|
- no-cache
|
148
148
|
x-runtime:
|
149
|
-
- "
|
149
|
+
- "367"
|
150
150
|
content-type:
|
151
151
|
- application/xml; charset=utf-8
|
152
152
|
content-length:
|
153
153
|
- "1"
|
154
154
|
set-cookie:
|
155
|
-
- _recurly_session=
|
155
|
+
- _recurly_session=c42c2edb2edbe3ec26e245e20b492079; domain=.recurly.local; path=/; HttpOnly
|
156
156
|
connection:
|
157
157
|
- close
|
158
158
|
server:
|
@@ -187,7 +187,7 @@
|
|
187
187
|
content-length:
|
188
188
|
- "92"
|
189
189
|
set-cookie:
|
190
|
-
- _recurly_session=
|
190
|
+
- _recurly_session=2b6c2cab605f8f8a26d756ec29ee2b8f; domain=.recurly.local; path=/; HttpOnly
|
191
191
|
connection:
|
192
192
|
- close
|
193
193
|
server:
|
@@ -39,13 +39,13 @@
|
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/credit-create-1299714599
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "402"
|
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=ba1b10ce885f02b78c86742de8cf3707; 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>69114a2ac95f4c779c2335c1a310e42c</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-04-05T19:42:46Z</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
|
+
- "379"
|
102
102
|
content-type:
|
103
103
|
- application/xml; charset=utf-8
|
104
104
|
content-length:
|
105
105
|
- "512"
|
106
106
|
set-cookie:
|
107
|
-
- _recurly_session=
|
107
|
+
- _recurly_session=b850bcae941654e22ce56b00177389cc; 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>f3e0f68c1cde426e846302a03155bc6d</id>
|
116
116
|
<account_code>credit-create-1299714599</account_code>
|
117
117
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
118
|
-
<start_date type="datetime">2011-04-
|
118
|
+
<start_date type="datetime">2011-04-05T19:42:49Z</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</description>
|
122
|
-
<created_at type="datetime">2011-04-
|
122
|
+
<created_at type="datetime">2011-04-05T19:42:49Z</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-create-1299714599/credits/
|
129
|
+
uri: http://api-test%40hello-test.com:50a5b8a69a2545db84ac4112ba8cac6f@app.recurly.local:3000/accounts/credit-create-1299714599/credits/f3e0f68c1cde426e846302a03155bc6d.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
|
+
- "\"a6d8e03c45b0fbf96dac4ae04edb4ca1\""
|
153
153
|
cache-control:
|
154
154
|
- private, max-age=0, must-revalidate
|
155
155
|
content-length:
|
156
156
|
- "512"
|
157
157
|
set-cookie:
|
158
|
-
- _recurly_session=
|
158
|
+
- _recurly_session=a2a1327d72032ecb933afa84f96e60f9; 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>f3e0f68c1cde426e846302a03155bc6d</id>
|
167
167
|
<account_code>credit-create-1299714599</account_code>
|
168
168
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
169
|
-
<start_date type="datetime">2011-04-
|
169
|
+
<start_date type="datetime">2011-04-05T19:42:49Z</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</description>
|
173
|
-
<created_at type="datetime">2011-04-
|
173
|
+
<created_at type="datetime">2011-04-05T19:42:49Z</created_at>
|
174
174
|
</credit>
|
175
175
|
|
176
176
|
http_version: "1.1"
|