recurly 0.2.2 → 0.2.3
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/subscription.rb +2 -3
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +0 -2
- data/spec/integration/invoice_spec.rb +0 -1
- data/spec/integration/subscription_spec.rb +49 -10
- data/spec/integration/transaction_spec.rb +3 -2
- data/spec/support/factory.rb +2 -2
- data/spec/vcr/account/close/{1286666929.yml → 1287167046.yml} +23 -23
- data/spec/vcr/account/create/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/create-blank/{1286666929.yml → 1287167046.yml} +3 -3
- data/spec/vcr/account/create-duplicate/{1286666929.yml → 1287167046.yml} +27 -12
- data/spec/vcr/account/create-min/{1286666929.yml → 1287167046.yml} +10 -10
- data/spec/vcr/account/find/{1286666929.yml → 1287167046.yml} +67 -29
- data/spec/vcr/account/list/{1286666929.yml → 1287167046.yml} +201 -228
- data/spec/vcr/account/update/{1286666929.yml → 1287167046.yml} +41 -41
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +25 -25
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/list/1286681343.yml +37 -37
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/invoice/create/{1286679184.yml → 1287167121.yml} +49 -49
- data/spec/vcr/{transaction/refund/1286674805.yml → invoice/create-no-charges/1287167121.yml} +32 -57
- data/spec/vcr/invoice/list/{1286679184.yml → 1287167121.yml} +71 -71
- data/spec/vcr/invoice/lookup/{1286679184.yml → 1287167121.yml} +50 -50
- data/spec/vcr/plan/all.yml +8 -8
- data/spec/vcr/plan/delete/1286677585.yml +15 -15
- data/spec/vcr/plan/find.yml +8 -8
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/cancel/{1287037363.yml → 1287439446.yml} +62 -62
- data/spec/vcr/subscription/cancel/{1287037325.yml → 1287442108.yml} +60 -60
- data/spec/vcr/subscription/cancel/{1287036910.yml → 1287442352.yml} +60 -60
- data/spec/vcr/subscription/change1/{1287037363.yml → 1287439446.yml} +58 -58
- data/spec/vcr/subscription/change1/{1287037152.yml → 1287442108.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287036910.yml → 1287442352.yml} +56 -56
- data/spec/vcr/subscription/{change1/1287037325.yml → change2/1287439446.yml} +64 -64
- data/spec/vcr/subscription/change2/{1287036910.yml → 1287442108.yml} +55 -55
- data/spec/vcr/subscription/change2/{1287037363.yml → 1287442352.yml} +58 -58
- data/spec/vcr/subscription/create/{1287037363.yml → 1287439446.yml} +27 -27
- data/spec/vcr/subscription/create/{1287037325.yml → 1287442108.yml} +28 -28
- data/spec/vcr/subscription/create/{1287037152.yml → 1287442352.yml} +28 -28
- data/spec/vcr/subscription/find/{1287036910.yml → 1287439446.yml} +36 -36
- data/spec/vcr/subscription/find/{1287037152.yml → 1287442108.yml} +38 -38
- data/spec/vcr/subscription/find/{1287037325.yml → 1287442352.yml} +38 -38
- data/spec/vcr/subscription/{refund/1287037325.yml → refund-full/1287439446.yml} +56 -56
- data/spec/vcr/subscription/{refund/1287037363.yml → refund-full/1287442108.yml} +58 -58
- data/spec/vcr/subscription/{refund/1287036910.yml → refund-full/1287442352.yml} +55 -55
- data/spec/vcr/subscription/refund-none/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-none/1287442352.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287439446.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442108.yml +382 -0
- data/spec/vcr/subscription/refund-partial/1287442352.yml +382 -0
- data/spec/vcr/transaction/all/{1286674805.yml → 1287186411.yml} +104 -104
- data/spec/vcr/transaction/create-no-account/{1286674805.yml → 1287186411.yml} +11 -11
- data/spec/vcr/transaction/create-with-account/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-empty/{1286674805.yml → 1287186411.yml} +26 -26
- data/spec/vcr/transaction/list-filled/{1286674805.yml → 1287186411.yml} +59 -59
- data/spec/vcr/transaction/lookup/{1286674805.yml → 1287186411.yml} +66 -66
- data/spec/vcr/transaction/refund/1287186411.yml +282 -0
- data/spec/vcr/transaction/void/{1286674805.yml → 1287186411.yml} +87 -155
- metadata +92 -86
- data/spec/vcr/subscription/change2/1287037152.yml +0 -283
- data/spec/vcr/subscription/change2/1287037325.yml +0 -283
- data/spec/vcr/subscription/create/1287036910.yml +0 -224
- data/spec/vcr/subscription/find/1287037363.yml +0 -283
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "607"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:43 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=f429a8ffbfd5b7cc0df79bb28e4854d1d43175b3ec2ab29f8c82de48108d509d9131c1df609cb5087a999c0e975bb79b56834198a22f582c12746407d936bbaa%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=61e716118b9eceb00436e321d89ec85b; 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-10-
|
62
|
+
<hosted_login_token>15c5cf1a3a464a22bc5804513ec6212e</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:43Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "47"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:44 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "450"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=5e7af0dc3c0723a5203144843ae55163; 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>7f86cd25d4b44705895bd2785521c4da</id>
|
113
113
|
<account_code>credit-create-1286681343</account_code>
|
114
114
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:44Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>free moniez</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:44Z</created_at>
|
119
119
|
</credit>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits/
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-create-1286681343/credits/7f86cd25d4b44705895bd2785521c4da.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,33 +139,33 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"89c139b4c35f97e207a0f4c7609bf3d1\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
146
146
|
- application/xml; charset=utf-8
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "33"
|
149
149
|
date:
|
150
|
-
-
|
150
|
+
- Mon, 18 Oct 2010 22:05:45 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "450"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=571552b02e937810ba6d84bf49b1aa43; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<credit type="credit">
|
162
|
-
<id>
|
162
|
+
<id>7f86cd25d4b44705895bd2785521c4da</id>
|
163
163
|
<account_code>credit-create-1286681343</account_code>
|
164
164
|
<amount_in_cents type="integer">-1005</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-18T22:05:44Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>free moniez</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-18T22:05:44Z</created_at>
|
169
169
|
</credit>
|
170
170
|
|
171
171
|
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
|
+
- "608"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:46 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "577"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=f6f035cd5aca0df879ff9886bf09371bb3d938fd73e139dd513de2a723324571efd236945d343ce132a7ff47acf4d71fe696af4f2251fbbd66a1df0e2432b0a8%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=4d7c29c741ef5b384d5906b986e105fa; 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-10-
|
62
|
+
<hosted_login_token>8ce835fd04654b36914f365b094e9e4f</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:46Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,27 +95,27 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "49"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:47 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "439"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=c73f5d3efa89ff7e5e1978e3a0f4d32b; 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>c615deeee3e049bd91177d87b2b5a0fc</id>
|
113
113
|
<account_code>credit-list-1286681343</account_code>
|
114
114
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:47Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>one</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:47Z</created_at>
|
119
119
|
</credit>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
@@ -149,27 +149,27 @@
|
|
149
149
|
content-type:
|
150
150
|
- application/xml; charset=utf-8
|
151
151
|
x-runtime:
|
152
|
-
- "
|
152
|
+
- "45"
|
153
153
|
date:
|
154
|
-
-
|
154
|
+
- Mon, 18 Oct 2010 22:05:48 GMT
|
155
155
|
server:
|
156
156
|
- nginx/0.7.65
|
157
157
|
content-length:
|
158
158
|
- "439"
|
159
159
|
set-cookie:
|
160
|
-
- _recurly_session=
|
160
|
+
- _recurly_session=055da9784d48c59a07e807dfbd591ee9; domain=.recurly.com; path=/; Secure; HttpOnly
|
161
161
|
cache-control:
|
162
162
|
- no-cache
|
163
163
|
body: |
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<credit type="credit">
|
166
|
-
<id>
|
166
|
+
<id>19bc46dc534942528390c1583654b846</id>
|
167
167
|
<account_code>credit-list-1286681343</account_code>
|
168
168
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
169
|
-
<start_date type="datetime">2010-10-
|
169
|
+
<start_date type="datetime">2010-10-18T22:05:47Z</start_date>
|
170
170
|
<end_date nil="true" type="datetime"></end_date>
|
171
171
|
<description>two</description>
|
172
|
-
<created_at type="datetime">2010-10-
|
172
|
+
<created_at type="datetime">2010-10-18T22:05:47Z</created_at>
|
173
173
|
</credit>
|
174
174
|
|
175
175
|
http_version: "1.1"
|
@@ -203,27 +203,27 @@
|
|
203
203
|
content-type:
|
204
204
|
- application/xml; charset=utf-8
|
205
205
|
x-runtime:
|
206
|
-
- "
|
206
|
+
- "96"
|
207
207
|
date:
|
208
|
-
-
|
208
|
+
- Mon, 18 Oct 2010 22:05:48 GMT
|
209
209
|
server:
|
210
210
|
- nginx/0.7.65
|
211
211
|
content-length:
|
212
212
|
- "441"
|
213
213
|
set-cookie:
|
214
|
-
- _recurly_session=
|
214
|
+
- _recurly_session=adbc7854612e508a681dca1987e784d6; domain=.recurly.com; path=/; Secure; HttpOnly
|
215
215
|
cache-control:
|
216
216
|
- no-cache
|
217
217
|
body: |
|
218
218
|
<?xml version="1.0" encoding="UTF-8"?>
|
219
219
|
<credit type="credit">
|
220
|
-
<id>
|
220
|
+
<id>255c41da111440f4b6373d1da9357ad8</id>
|
221
221
|
<account_code>credit-list-1286681343</account_code>
|
222
222
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
223
|
-
<start_date type="datetime">2010-10-
|
223
|
+
<start_date type="datetime">2010-10-18T22:05:48Z</start_date>
|
224
224
|
<end_date nil="true" type="datetime"></end_date>
|
225
225
|
<description>three</description>
|
226
|
-
<created_at type="datetime">2010-10-
|
226
|
+
<created_at type="datetime">2010-10-18T22:05:48Z</created_at>
|
227
227
|
</credit>
|
228
228
|
|
229
229
|
http_version: "1.1"
|
@@ -247,52 +247,52 @@
|
|
247
247
|
x-ua-compatible:
|
248
248
|
- IE=Edge
|
249
249
|
etag:
|
250
|
-
- "\"
|
250
|
+
- "\"87bf2f6081266b2f4d33dfb4dd6bbc5e\""
|
251
251
|
connection:
|
252
252
|
- close
|
253
253
|
content-type:
|
254
254
|
- application/xml; charset=utf-8
|
255
255
|
x-runtime:
|
256
|
-
- "
|
256
|
+
- "19"
|
257
257
|
date:
|
258
|
-
-
|
258
|
+
- Mon, 18 Oct 2010 22:05:49 GMT
|
259
259
|
server:
|
260
260
|
- nginx/0.7.65
|
261
261
|
content-length:
|
262
262
|
- "1329"
|
263
263
|
set-cookie:
|
264
|
-
- _recurly_session=
|
264
|
+
- _recurly_session=d8ab502e86659ea6a0990ca60c10b78e; domain=.recurly.com; path=/; Secure; HttpOnly
|
265
265
|
cache-control:
|
266
266
|
- private, max-age=0, must-revalidate
|
267
267
|
body: |
|
268
268
|
<?xml version="1.0" encoding="UTF-8"?>
|
269
269
|
<credits type="array">
|
270
270
|
<credit type="credit">
|
271
|
-
<id>
|
271
|
+
<id>255c41da111440f4b6373d1da9357ad8</id>
|
272
272
|
<account_code>credit-list-1286681343</account_code>
|
273
273
|
<amount_in_cents type="integer">-300</amount_in_cents>
|
274
|
-
<start_date type="datetime">2010-10-
|
274
|
+
<start_date type="datetime">2010-10-18T22:05:48Z</start_date>
|
275
275
|
<end_date nil="true" type="datetime"></end_date>
|
276
276
|
<description>three</description>
|
277
|
-
<created_at type="datetime">2010-10-
|
277
|
+
<created_at type="datetime">2010-10-18T22:05:48Z</created_at>
|
278
278
|
</credit>
|
279
279
|
<credit type="credit">
|
280
|
-
<id>
|
280
|
+
<id>19bc46dc534942528390c1583654b846</id>
|
281
281
|
<account_code>credit-list-1286681343</account_code>
|
282
282
|
<amount_in_cents type="integer">-200</amount_in_cents>
|
283
|
-
<start_date type="datetime">2010-10-
|
283
|
+
<start_date type="datetime">2010-10-18T22:05:47Z</start_date>
|
284
284
|
<end_date nil="true" type="datetime"></end_date>
|
285
285
|
<description>two</description>
|
286
|
-
<created_at type="datetime">2010-10-
|
286
|
+
<created_at type="datetime">2010-10-18T22:05:47Z</created_at>
|
287
287
|
</credit>
|
288
288
|
<credit type="credit">
|
289
|
-
<id>
|
289
|
+
<id>c615deeee3e049bd91177d87b2b5a0fc</id>
|
290
290
|
<account_code>credit-list-1286681343</account_code>
|
291
291
|
<amount_in_cents type="integer">-100</amount_in_cents>
|
292
|
-
<start_date type="datetime">2010-10-
|
292
|
+
<start_date type="datetime">2010-10-18T22:05:47Z</start_date>
|
293
293
|
<end_date nil="true" type="datetime"></end_date>
|
294
294
|
<description>one</description>
|
295
|
-
<created_at type="datetime">2010-10-
|
295
|
+
<created_at type="datetime">2010-10-18T22:05:47Z</created_at>
|
296
296
|
</credit>
|
297
297
|
</credits>
|
298
298
|
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "594"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:05:50 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=82712790a7716ccdf81c4fc5f69c0682bc8e77103f9a617bbc6795d06e5e34b740f0e52f420dd1f6e5ef6e92abb16783de9248105eb5a28d9500f053bed900f3%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=3f916c2626d2f70485d270ae2b102039; 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-10-
|
62
|
+
<hosted_login_token>0f8df0f48b984834a6e6f8797133411f</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:05:50Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "66"
|
99
99
|
date:
|
100
|
-
-
|
100
|
+
- Mon, 18 Oct 2010 22:05:51 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "454"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=c9324033f3922f4ddd825c3147b2bfec; 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>4355aacaece4463dad0f8f95276186e0</id>
|
113
113
|
<account_code>credit-lookup-1286681343</account_code>
|
114
114
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-18T22:05:51Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-18T22:05:51Z</created_at>
|
119
119
|
</credit>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1286681343/credits/
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1286681343/credits/4355aacaece4463dad0f8f95276186e0.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,33 +139,33 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"3a86a221f423df538182d1ac459e51ca\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
146
146
|
- application/xml; charset=utf-8
|
147
147
|
x-runtime:
|
148
|
-
- "
|
148
|
+
- "17"
|
149
149
|
date:
|
150
|
-
-
|
150
|
+
- Mon, 18 Oct 2010 22:05:52 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "454"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=bd268f219a1ca8c1383ffa51d88a223f; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<credit type="credit">
|
162
|
-
<id>
|
162
|
+
<id>4355aacaece4463dad0f8f95276186e0</id>
|
163
163
|
<account_code>credit-lookup-1286681343</account_code>
|
164
164
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-18T22:05:51Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-18T22:05:51Z</created_at>
|
169
169
|
</credit>
|
170
170
|
|
171
171
|
http_version: "1.1"
|