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
@@ -7,7 +7,7 @@
|
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>invoice-lookup-
|
10
|
+
<account-code>invoice-lookup-1287167121</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/invoice-lookup-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/invoice-lookup-1287167121
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "587"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Mon, 18 Oct 2010 22:06:05 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "583"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=5a06882ab4da91292d02b871f1bb6615ed53d818adb3ee5731e724b293ef6c40b1c48a6ee1266b84f1bf0817e6eb30078e0aab73649c8622f7495451fa5292d7%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=12391007c1381c03633749d6459f9e18; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>invoice-lookup-
|
54
|
-
<account_code>invoice-lookup-
|
53
|
+
<id>invoice-lookup-1287167121</id>
|
54
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -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>d1b39b3deb0f4d1f92e1abb2c04b3eac</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-18T22:06:05Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,14 +68,14 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :put
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-1287167121/billing_info.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<billing-info>
|
75
75
|
<city>San Francisco</city>
|
76
76
|
<address1>123 Test St</address1>
|
77
77
|
<zip>94115</zip>
|
78
|
-
<account-code>invoice-lookup-
|
78
|
+
<account-code>invoice-lookup-1287167121</account-code>
|
79
79
|
<country>US</country>
|
80
80
|
<credit-card>
|
81
81
|
<number>1</number>
|
@@ -105,27 +105,27 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"31555d301b4872e8c032320f307911c2\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "247"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Mon, 18 Oct 2010 22:06:05 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "639"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=34c38c6c3067cf7e2f9d43ac376fe286; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
126
126
|
<?xml version="1.0" encoding="UTF-8"?>
|
127
127
|
<billing_info>
|
128
|
-
<account_code>invoice-lookup-
|
128
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
129
129
|
<first_name>Verena</first_name>
|
130
130
|
<last_name>Test</last_name>
|
131
131
|
<address1>123 Test St</address1>
|
@@ -143,14 +143,14 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-18T22:06:05Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
150
150
|
- !ruby/struct:VCR::HTTPInteraction
|
151
151
|
request: !ruby/struct:VCR::Request
|
152
152
|
method: :post
|
153
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-
|
153
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-1287167121/charges.xml
|
154
154
|
body: |
|
155
155
|
<?xml version="1.0" encoding="UTF-8"?>
|
156
156
|
<charge>
|
@@ -177,34 +177,34 @@
|
|
177
177
|
content-type:
|
178
178
|
- application/xml; charset=utf-8
|
179
179
|
x-runtime:
|
180
|
-
- "
|
180
|
+
- "79"
|
181
181
|
date:
|
182
|
-
-
|
182
|
+
- Mon, 18 Oct 2010 22:06:06 GMT
|
183
183
|
server:
|
184
184
|
- nginx/0.7.65
|
185
185
|
content-length:
|
186
186
|
- "457"
|
187
187
|
set-cookie:
|
188
|
-
- _recurly_session=
|
188
|
+
- _recurly_session=79eacc2804df8cd8ea27ef6e22b1c041; domain=.recurly.com; path=/; Secure; HttpOnly
|
189
189
|
cache-control:
|
190
190
|
- no-cache
|
191
191
|
body: |
|
192
192
|
<?xml version="1.0" encoding="UTF-8"?>
|
193
193
|
<charge type="charge">
|
194
|
-
<id>
|
195
|
-
<account_code>invoice-lookup-
|
194
|
+
<id>8852d71ae91341428dc4355e3cff1222</id>
|
195
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
196
196
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
197
|
-
<start_date type="datetime">2010-10-
|
197
|
+
<start_date type="datetime">2010-10-18T22:06:06Z</start_date>
|
198
198
|
<end_date nil="true" type="datetime"></end_date>
|
199
199
|
<description>charge description</description>
|
200
|
-
<created_at type="datetime">2010-10-
|
200
|
+
<created_at type="datetime">2010-10-18T22:06:06Z</created_at>
|
201
201
|
</charge>
|
202
202
|
|
203
203
|
http_version: "1.1"
|
204
204
|
- !ruby/struct:VCR::HTTPInteraction
|
205
205
|
request: !ruby/struct:VCR::Request
|
206
206
|
method: :post
|
207
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-
|
207
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/invoice-lookup-1287167121/invoices.xml
|
208
208
|
body: |
|
209
209
|
<?xml version="1.0" encoding="UTF-8"?>
|
210
210
|
<invoice>
|
@@ -225,30 +225,30 @@
|
|
225
225
|
message: Created
|
226
226
|
headers:
|
227
227
|
location:
|
228
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
228
|
+
- https://recurlytest3-test.recurly.com/invoices/05c1063f3b5542cf980806d8f6cde6fd
|
229
229
|
connection:
|
230
230
|
- close
|
231
231
|
content-type:
|
232
232
|
- application/xml; charset=utf-8
|
233
233
|
x-runtime:
|
234
|
-
- "
|
234
|
+
- "66"
|
235
235
|
date:
|
236
|
-
-
|
236
|
+
- Mon, 18 Oct 2010 22:06:07 GMT
|
237
237
|
server:
|
238
238
|
- nginx/0.7.65
|
239
239
|
content-length:
|
240
240
|
- "1106"
|
241
241
|
set-cookie:
|
242
|
-
- _recurly_session=
|
242
|
+
- _recurly_session=708f3fe82f1bf83954a7912ffb6003c8; domain=.recurly.com; path=/; Secure; HttpOnly
|
243
243
|
cache-control:
|
244
244
|
- no-cache
|
245
245
|
body: |
|
246
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
247
247
|
<invoice>
|
248
|
-
<id>
|
249
|
-
<account_code>invoice-lookup-
|
250
|
-
<date type="datetime">2010-10-
|
251
|
-
<invoice_number type="integer">
|
248
|
+
<id>05c1063f3b5542cf980806d8f6cde6fd</id>
|
249
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
250
|
+
<date type="datetime">2010-10-18T22:06:07Z</date>
|
251
|
+
<invoice_number type="integer">1869</invoice_number>
|
252
252
|
<vat_number></vat_number>
|
253
253
|
<status>open</status>
|
254
254
|
<subtotal_in_cents type="integer">1500</subtotal_in_cents>
|
@@ -258,13 +258,13 @@
|
|
258
258
|
<total_due_in_cents type="integer">1500</total_due_in_cents>
|
259
259
|
<line_items type="array">
|
260
260
|
<line_item>
|
261
|
-
<id>
|
261
|
+
<id>8852d71ae91341428dc4355e3cff1222</id>
|
262
262
|
<type>charge</type>
|
263
263
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
264
|
-
<start_date type="datetime">2010-10-
|
264
|
+
<start_date type="datetime">2010-10-18T22:06:06Z</start_date>
|
265
265
|
<end_date nil="true" type="datetime"></end_date>
|
266
266
|
<description>charge description</description>
|
267
|
-
<created_at type="datetime">2010-10-
|
267
|
+
<created_at type="datetime">2010-10-18T22:06:06Z</created_at>
|
268
268
|
</line_item>
|
269
269
|
</line_items>
|
270
270
|
<payments type="array">
|
@@ -275,7 +275,7 @@
|
|
275
275
|
- !ruby/struct:VCR::HTTPInteraction
|
276
276
|
request: !ruby/struct:VCR::Request
|
277
277
|
method: :get
|
278
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/
|
278
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/invoices/05c1063f3b5542cf980806d8f6cde6fd.xml
|
279
279
|
body:
|
280
280
|
headers:
|
281
281
|
accept:
|
@@ -292,30 +292,30 @@
|
|
292
292
|
x-ua-compatible:
|
293
293
|
- IE=Edge
|
294
294
|
etag:
|
295
|
-
- "\"
|
295
|
+
- "\"f05075795d263549a78bb72a7457d7d2\""
|
296
296
|
connection:
|
297
297
|
- close
|
298
298
|
content-type:
|
299
299
|
- application/xml; charset=utf-8
|
300
300
|
x-runtime:
|
301
|
-
- "
|
301
|
+
- "37"
|
302
302
|
date:
|
303
|
-
-
|
303
|
+
- Mon, 18 Oct 2010 22:06:08 GMT
|
304
304
|
server:
|
305
305
|
- nginx/0.7.65
|
306
306
|
content-length:
|
307
307
|
- "1106"
|
308
308
|
set-cookie:
|
309
|
-
- _recurly_session=
|
309
|
+
- _recurly_session=1714cde40a663716d5ef9d7ce63ff65f; domain=.recurly.com; path=/; Secure; HttpOnly
|
310
310
|
cache-control:
|
311
311
|
- private, max-age=0, must-revalidate
|
312
312
|
body: |
|
313
313
|
<?xml version="1.0" encoding="UTF-8"?>
|
314
314
|
<invoice>
|
315
|
-
<id>
|
316
|
-
<account_code>invoice-lookup-
|
317
|
-
<date type="datetime">2010-10-
|
318
|
-
<invoice_number type="integer">
|
315
|
+
<id>05c1063f3b5542cf980806d8f6cde6fd</id>
|
316
|
+
<account_code>invoice-lookup-1287167121</account_code>
|
317
|
+
<date type="datetime">2010-10-18T22:06:07Z</date>
|
318
|
+
<invoice_number type="integer">1869</invoice_number>
|
319
319
|
<vat_number></vat_number>
|
320
320
|
<status>open</status>
|
321
321
|
<subtotal_in_cents type="integer">1500</subtotal_in_cents>
|
@@ -325,13 +325,13 @@
|
|
325
325
|
<total_due_in_cents type="integer">1500</total_due_in_cents>
|
326
326
|
<line_items type="array">
|
327
327
|
<line_item>
|
328
|
-
<id>
|
328
|
+
<id>8852d71ae91341428dc4355e3cff1222</id>
|
329
329
|
<type>charge</type>
|
330
330
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
331
|
-
<start_date type="datetime">2010-10-
|
331
|
+
<start_date type="datetime">2010-10-18T22:06:06Z</start_date>
|
332
332
|
<end_date nil="true" type="datetime"></end_date>
|
333
333
|
<description>charge description</description>
|
334
|
-
<created_at type="datetime">2010-10-
|
334
|
+
<created_at type="datetime">2010-10-18T22:06:06Z</created_at>
|
335
335
|
</line_item>
|
336
336
|
</line_items>
|
337
337
|
<payments type="array">
|
data/spec/vcr/plan/all.yml
CHANGED
@@ -25,15 +25,15 @@
|
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
x-runtime:
|
28
|
-
- "
|
28
|
+
- "14"
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Mon, 18 Oct 2010 22:06:08 GMT
|
31
31
|
server:
|
32
32
|
- nginx/0.7.65
|
33
33
|
content-length:
|
34
34
|
- "1150"
|
35
35
|
set-cookie:
|
36
|
-
- _recurly_session=
|
36
|
+
- _recurly_session=b0903c1d71fbd78b962341fdc5e89fc1; domain=.recurly.com; path=/; Secure; HttpOnly
|
37
37
|
cache-control:
|
38
38
|
- private, max-age=0, must-revalidate
|
39
39
|
body: |
|
@@ -92,13 +92,13 @@
|
|
92
92
|
x-runtime:
|
93
93
|
- "13"
|
94
94
|
date:
|
95
|
-
-
|
95
|
+
- Mon, 18 Oct 2010 22:06:09 GMT
|
96
96
|
server:
|
97
97
|
- nginx/0.7.65
|
98
98
|
content-length:
|
99
99
|
- "1164"
|
100
100
|
set-cookie:
|
101
|
-
- _recurly_session=
|
101
|
+
- _recurly_session=7347e2c1ff0629daa2bfaad6587a25ff; domain=.recurly.com; path=/; Secure; HttpOnly
|
102
102
|
cache-control:
|
103
103
|
- private, max-age=0, must-revalidate
|
104
104
|
body: |
|
@@ -155,15 +155,15 @@
|
|
155
155
|
content-type:
|
156
156
|
- application/xml; charset=utf-8
|
157
157
|
x-runtime:
|
158
|
-
- "
|
158
|
+
- "30"
|
159
159
|
date:
|
160
|
-
-
|
160
|
+
- Mon, 18 Oct 2010 22:06:10 GMT
|
161
161
|
server:
|
162
162
|
- nginx/0.7.65
|
163
163
|
content-length:
|
164
164
|
- "6675"
|
165
165
|
set-cookie:
|
166
|
-
- _recurly_session=
|
166
|
+
- _recurly_session=c16a62d75aef8fec4126958f02a65ef6; domain=.recurly.com; path=/; Secure; HttpOnly
|
167
167
|
cache-control:
|
168
168
|
- private, max-age=0, must-revalidate
|
169
169
|
body: |
|
@@ -36,15 +36,15 @@
|
|
36
36
|
content-type:
|
37
37
|
- application/xml; charset=utf-8
|
38
38
|
x-runtime:
|
39
|
-
- "
|
39
|
+
- "27"
|
40
40
|
date:
|
41
|
-
-
|
41
|
+
- Mon, 18 Oct 2010 22:06:14 GMT
|
42
42
|
server:
|
43
43
|
- nginx/0.7.65
|
44
44
|
content-length:
|
45
45
|
- "1175"
|
46
46
|
set-cookie:
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=d51cbfd25490d08713971f71930e7989; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -55,7 +55,7 @@
|
|
55
55
|
<description></description>
|
56
56
|
<success_url></success_url>
|
57
57
|
<cancel_url></cancel_url>
|
58
|
-
<created_at type="datetime">2010-10-
|
58
|
+
<created_at type="datetime">2010-10-18T22:06:14Z</created_at>
|
59
59
|
<unit_amount_in_cents type="integer">100</unit_amount_in_cents>
|
60
60
|
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
61
61
|
<plan_interval_length type="integer">1</plan_interval_length>
|
@@ -70,7 +70,7 @@
|
|
70
70
|
<plan_interval_unit>months</plan_interval_unit>
|
71
71
|
<trial_interval_length type="integer">0</trial_interval_length>
|
72
72
|
<trial_interval_unit>months</trial_interval_unit>
|
73
|
-
<created_at type="datetime">2010-10-
|
73
|
+
<created_at type="datetime">2010-10-18T22:06:14Z</created_at>
|
74
74
|
</latest_version>
|
75
75
|
</plan>
|
76
76
|
|
@@ -95,7 +95,7 @@
|
|
95
95
|
x-ua-compatible:
|
96
96
|
- IE=Edge
|
97
97
|
etag:
|
98
|
-
- "\"
|
98
|
+
- "\"8e30e41639363bf397e43a0bd611a72e\""
|
99
99
|
connection:
|
100
100
|
- close
|
101
101
|
content-type:
|
@@ -103,13 +103,13 @@
|
|
103
103
|
x-runtime:
|
104
104
|
- "13"
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Mon, 18 Oct 2010 22:06:14 GMT
|
107
107
|
server:
|
108
108
|
- nginx/0.7.65
|
109
109
|
content-length:
|
110
110
|
- "1175"
|
111
111
|
set-cookie:
|
112
|
-
- _recurly_session=
|
112
|
+
- _recurly_session=7b6ff6138741a1f0040ae69c69dd6b3b; domain=.recurly.com; path=/; Secure; HttpOnly
|
113
113
|
cache-control:
|
114
114
|
- private, max-age=0, must-revalidate
|
115
115
|
body: |
|
@@ -120,7 +120,7 @@
|
|
120
120
|
<description></description>
|
121
121
|
<success_url></success_url>
|
122
122
|
<cancel_url></cancel_url>
|
123
|
-
<created_at type="datetime">2010-10-
|
123
|
+
<created_at type="datetime">2010-10-18T22:06:14Z</created_at>
|
124
124
|
<unit_amount_in_cents type="integer">100</unit_amount_in_cents>
|
125
125
|
<setup_fee_in_cents type="integer">0</setup_fee_in_cents>
|
126
126
|
<plan_interval_length type="integer">1</plan_interval_length>
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<plan_interval_unit>months</plan_interval_unit>
|
136
136
|
<trial_interval_length type="integer">0</trial_interval_length>
|
137
137
|
<trial_interval_unit>months</trial_interval_unit>
|
138
|
-
<created_at type="datetime">2010-10-
|
138
|
+
<created_at type="datetime">2010-10-18T22:06:14Z</created_at>
|
139
139
|
</latest_version>
|
140
140
|
</plan>
|
141
141
|
|
@@ -164,15 +164,15 @@
|
|
164
164
|
content-type:
|
165
165
|
- application/xml; charset=utf-8
|
166
166
|
x-runtime:
|
167
|
-
- "
|
167
|
+
- "35"
|
168
168
|
date:
|
169
|
-
-
|
169
|
+
- Mon, 18 Oct 2010 22:06:15 GMT
|
170
170
|
server:
|
171
171
|
- nginx/0.7.65
|
172
172
|
content-length:
|
173
173
|
- "1"
|
174
174
|
set-cookie:
|
175
|
-
- _recurly_session=
|
175
|
+
- _recurly_session=13361f042b00fb7113301daf1268ce24; domain=.recurly.com; path=/; Secure; HttpOnly
|
176
176
|
cache-control:
|
177
177
|
- no-cache
|
178
178
|
body: " "
|
@@ -199,13 +199,13 @@
|
|
199
199
|
content-type:
|
200
200
|
- application/xml; charset=utf-8
|
201
201
|
date:
|
202
|
-
-
|
202
|
+
- Mon, 18 Oct 2010 22:06:15 GMT
|
203
203
|
server:
|
204
204
|
- nginx/0.7.65
|
205
205
|
content-length:
|
206
206
|
- "90"
|
207
207
|
set-cookie:
|
208
|
-
- _recurly_session=
|
208
|
+
- _recurly_session=3565504d6f3dcd1e1574b0e656b929d3; domain=.recurly.com; path=/; Secure; HttpOnly
|
209
209
|
cache-control:
|
210
210
|
- no-cache
|
211
211
|
body: |
|
data/spec/vcr/plan/find.yml
CHANGED
@@ -25,15 +25,15 @@
|
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
x-runtime:
|
28
|
-
- "
|
28
|
+
- "30"
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Mon, 18 Oct 2010 22:06:10 GMT
|
31
31
|
server:
|
32
32
|
- nginx/0.7.65
|
33
33
|
content-length:
|
34
34
|
- "1150"
|
35
35
|
set-cookie:
|
36
|
-
- _recurly_session=
|
36
|
+
- _recurly_session=14ada039584fbf1728bd3d4ff2acf5ed; domain=.recurly.com; path=/; Secure; HttpOnly
|
37
37
|
cache-control:
|
38
38
|
- private, max-age=0, must-revalidate
|
39
39
|
body: |
|
@@ -92,13 +92,13 @@
|
|
92
92
|
x-runtime:
|
93
93
|
- "13"
|
94
94
|
date:
|
95
|
-
-
|
95
|
+
- Mon, 18 Oct 2010 22:06:11 GMT
|
96
96
|
server:
|
97
97
|
- nginx/0.7.65
|
98
98
|
content-length:
|
99
99
|
- "1164"
|
100
100
|
set-cookie:
|
101
|
-
- _recurly_session=
|
101
|
+
- _recurly_session=c65627a04401ed63a0ecc65a492bea04; domain=.recurly.com; path=/; Secure; HttpOnly
|
102
102
|
cache-control:
|
103
103
|
- private, max-age=0, must-revalidate
|
104
104
|
body: |
|
@@ -155,15 +155,15 @@
|
|
155
155
|
content-type:
|
156
156
|
- application/xml; charset=utf-8
|
157
157
|
x-runtime:
|
158
|
-
- "
|
158
|
+
- "49"
|
159
159
|
date:
|
160
|
-
-
|
160
|
+
- Mon, 18 Oct 2010 22:06:11 GMT
|
161
161
|
server:
|
162
162
|
- nginx/0.7.65
|
163
163
|
content-length:
|
164
164
|
- "1150"
|
165
165
|
set-cookie:
|
166
|
-
- _recurly_session=
|
166
|
+
- _recurly_session=bff713595eea18779c2f5f88feff1f9e; domain=.recurly.com; path=/; Secure; HttpOnly
|
167
167
|
cache-control:
|
168
168
|
- private, max-age=0, must-revalidate
|
169
169
|
body: |
|
data/spec/vcr/plan/update.yml
CHANGED
@@ -25,15 +25,15 @@
|
|
25
25
|
content-type:
|
26
26
|
- application/xml; charset=utf-8
|
27
27
|
x-runtime:
|
28
|
-
- "
|
28
|
+
- "13"
|
29
29
|
date:
|
30
|
-
-
|
30
|
+
- Mon, 18 Oct 2010 22:06:12 GMT
|
31
31
|
server:
|
32
32
|
- nginx/0.7.65
|
33
33
|
content-length:
|
34
34
|
- "1153"
|
35
35
|
set-cookie:
|
36
|
-
- _recurly_session=
|
36
|
+
- _recurly_session=b06c1096818abb1e32479292a1060653; domain=.recurly.com; path=/; Secure; HttpOnly
|
37
37
|
cache-control:
|
38
38
|
- private, max-age=0, must-revalidate
|
39
39
|
body: |
|
@@ -117,15 +117,15 @@
|
|
117
117
|
content-type:
|
118
118
|
- application/xml; charset=utf-8
|
119
119
|
x-runtime:
|
120
|
-
- "
|
120
|
+
- "21"
|
121
121
|
date:
|
122
|
-
-
|
122
|
+
- Mon, 18 Oct 2010 22:06:13 GMT
|
123
123
|
server:
|
124
124
|
- nginx/0.7.65
|
125
125
|
content-length:
|
126
126
|
- "1"
|
127
127
|
set-cookie:
|
128
|
-
- _recurly_session=
|
128
|
+
- _recurly_session=00740c2ff65ada159b5933b68beba5f0; domain=.recurly.com; path=/; Secure; HttpOnly
|
129
129
|
cache-control:
|
130
130
|
- no-cache
|
131
131
|
body: " "
|
@@ -156,15 +156,15 @@
|
|
156
156
|
content-type:
|
157
157
|
- application/xml; charset=utf-8
|
158
158
|
x-runtime:
|
159
|
-
- "
|
159
|
+
- "49"
|
160
160
|
date:
|
161
|
-
-
|
161
|
+
- Mon, 18 Oct 2010 22:06:13 GMT
|
162
162
|
server:
|
163
163
|
- nginx/0.7.65
|
164
164
|
content-length:
|
165
165
|
- "1153"
|
166
166
|
set-cookie:
|
167
|
-
- _recurly_session=
|
167
|
+
- _recurly_session=abc7a0867d2cb59382c4910c7666502e; domain=.recurly.com; path=/; Secure; HttpOnly
|
168
168
|
cache-control:
|
169
169
|
- private, max-age=0, must-revalidate
|
170
170
|
body: |
|