recurly 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly.rb +13 -5
- data/lib/recurly/rails3/railtie.rb +1 -8
- data/lib/recurly/version.rb +1 -1
- data/spec/vcr/account/close/1288381765.yml +15 -15
- data/spec/vcr/account/create-blank/1288381765.yml +3 -3
- data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
- data/spec/vcr/account/create-min/1288381765.yml +6 -6
- data/spec/vcr/account/create/1288381765.yml +6 -6
- data/spec/vcr/account/find/1288381765.yml +14 -14
- data/spec/vcr/account/list/1288381765.yml +251 -530
- data/spec/vcr/account/update/1288381765.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +20 -20
- data/spec/vcr/billing/destroy/1286682213.yml +29 -29
- data/spec/vcr/billing/find/1286682213.yml +25 -25
- data/spec/vcr/billing/update/1286682213.yml +27 -27
- data/spec/vcr/charge/create/1287465632.yml +31 -29
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
- data/spec/vcr/charge/list-all/1287465632.yml +43 -40
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
- data/spec/vcr/charge/lookup/1287465632.yml +24 -22
- data/spec/vcr/credit/create/1287461400.yml +24 -22
- data/spec/vcr/credit/delete/1287461400.yml +31 -29
- data/spec/vcr/credit/list/1287461400.yml +47 -41
- data/spec/vcr/credit/lookup/1287461400.yml +23 -21
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
- data/spec/vcr/invoice/create/1287167121.yml +42 -40
- data/spec/vcr/invoice/list/1287167121.yml +59 -57
- data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +12 -12
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
- data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
- data/spec/vcr/subscription/change1/1287455769.yml +39 -39
- data/spec/vcr/subscription/change2/1287455769.yml +39 -39
- data/spec/vcr/subscription/create/1287455769.yml +18 -18
- data/spec/vcr/subscription/find/1287455769.yml +25 -25
- data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
- data/spec/vcr/transaction/all/1289558212.yml +363 -54
- data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
- data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
- data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
- data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
- data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
- data/spec/vcr/transaction/refund/1289558212.yml +82 -90
- data/spec/vcr/transaction/void/1289558212.yml +377 -143
- metadata +4 -72
- data/spec/vcr/account/close/1287167046.yml +0 -159
- data/spec/vcr/account/close/1288381369.yml +0 -159
- data/spec/vcr/account/close/1288381447.yml +0 -159
- data/spec/vcr/account/create-blank/1287167046.yml +0 -49
- data/spec/vcr/account/create-blank/1288381369.yml +0 -49
- data/spec/vcr/account/create-blank/1288381447.yml +0 -49
- data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
- data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
- data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
- data/spec/vcr/account/create-min/1287167046.yml +0 -63
- data/spec/vcr/account/create-min/1288381369.yml +0 -63
- data/spec/vcr/account/create-min/1288381447.yml +0 -63
- data/spec/vcr/account/create/1287167046.yml +0 -67
- data/spec/vcr/account/create/1288381369.yml +0 -67
- data/spec/vcr/account/create/1288381447.yml +0 -67
- data/spec/vcr/account/find-all/1288381369.yml +0 -52
- data/spec/vcr/account/find-all/1288381447.yml +0 -1383
- data/spec/vcr/account/find/1287167046.yml +0 -160
- data/spec/vcr/account/find/1288381369.yml +0 -160
- data/spec/vcr/account/find/1288381447.yml +0 -160
- data/spec/vcr/account/list/1287167046.yml +0 -1538
- data/spec/vcr/account/list/1288381369.yml +0 -1835
- data/spec/vcr/account/list/1288381447.yml +0 -1835
- data/spec/vcr/account/update/1287167046.yml +0 -250
- data/spec/vcr/account/update/1288381369.yml +0 -250
- data/spec/vcr/account/update/1288381447.yml +0 -250
- data/spec/vcr/transaction/all/1287186411.yml +0 -387
- data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
- data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
- data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
- data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
- data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
- data/spec/vcr/transaction/refund/1287186411.yml +0 -282
- data/spec/vcr/transaction/void/1287186411.yml +0 -600
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Isaac Hall
|
@@ -138,39 +138,13 @@ files:
|
|
138
138
|
- spec/support/factory.rb
|
139
139
|
- spec/support/vcr.rb
|
140
140
|
- spec/unit/config_spec.rb
|
141
|
-
- spec/vcr/account/close/1287167046.yml
|
142
|
-
- spec/vcr/account/close/1288381369.yml
|
143
|
-
- spec/vcr/account/close/1288381447.yml
|
144
141
|
- spec/vcr/account/close/1288381765.yml
|
145
|
-
- spec/vcr/account/create/1287167046.yml
|
146
|
-
- spec/vcr/account/create/1288381369.yml
|
147
|
-
- spec/vcr/account/create/1288381447.yml
|
148
142
|
- spec/vcr/account/create/1288381765.yml
|
149
|
-
- spec/vcr/account/create-blank/1287167046.yml
|
150
|
-
- spec/vcr/account/create-blank/1288381369.yml
|
151
|
-
- spec/vcr/account/create-blank/1288381447.yml
|
152
143
|
- spec/vcr/account/create-blank/1288381765.yml
|
153
|
-
- spec/vcr/account/create-duplicate/1287167046.yml
|
154
|
-
- spec/vcr/account/create-duplicate/1288381369.yml
|
155
|
-
- spec/vcr/account/create-duplicate/1288381447.yml
|
156
144
|
- spec/vcr/account/create-duplicate/1288381765.yml
|
157
|
-
- spec/vcr/account/create-min/1287167046.yml
|
158
|
-
- spec/vcr/account/create-min/1288381369.yml
|
159
|
-
- spec/vcr/account/create-min/1288381447.yml
|
160
145
|
- spec/vcr/account/create-min/1288381765.yml
|
161
|
-
- spec/vcr/account/find/1287167046.yml
|
162
|
-
- spec/vcr/account/find/1288381369.yml
|
163
|
-
- spec/vcr/account/find/1288381447.yml
|
164
146
|
- spec/vcr/account/find/1288381765.yml
|
165
|
-
- spec/vcr/account/find-all/1288381369.yml
|
166
|
-
- spec/vcr/account/find-all/1288381447.yml
|
167
|
-
- spec/vcr/account/list/1287167046.yml
|
168
|
-
- spec/vcr/account/list/1288381369.yml
|
169
|
-
- spec/vcr/account/list/1288381447.yml
|
170
147
|
- spec/vcr/account/list/1288381765.yml
|
171
|
-
- spec/vcr/account/update/1287167046.yml
|
172
|
-
- spec/vcr/account/update/1288381369.yml
|
173
|
-
- spec/vcr/account/update/1288381447.yml
|
174
148
|
- spec/vcr/account/update/1288381765.yml
|
175
149
|
- spec/vcr/billing/create/1286682213.yml
|
176
150
|
- spec/vcr/billing/destroy/1286682213.yml
|
@@ -204,21 +178,13 @@ files:
|
|
204
178
|
- spec/vcr/subscription/refund-full/1287455769.yml
|
205
179
|
- spec/vcr/subscription/refund-none/1287455769.yml
|
206
180
|
- spec/vcr/subscription/refund-partial/1287455769.yml
|
207
|
-
- spec/vcr/transaction/all/1287186411.yml
|
208
181
|
- spec/vcr/transaction/all/1289558212.yml
|
209
|
-
- spec/vcr/transaction/create-no-account/1287186411.yml
|
210
182
|
- spec/vcr/transaction/create-no-account/1289558212.yml
|
211
|
-
- spec/vcr/transaction/create-with-account/1287186411.yml
|
212
183
|
- spec/vcr/transaction/create-with-account/1289558212.yml
|
213
|
-
- spec/vcr/transaction/list-empty/1287186411.yml
|
214
|
-
- spec/vcr/transaction/list-filled/1287186411.yml
|
215
184
|
- spec/vcr/transaction/list-filled/1289558212.yml
|
216
185
|
- spec/vcr/transaction/list-initial/1289558212.yml
|
217
|
-
- spec/vcr/transaction/lookup/1287186411.yml
|
218
186
|
- spec/vcr/transaction/lookup/1289558212.yml
|
219
|
-
- spec/vcr/transaction/refund/1287186411.yml
|
220
187
|
- spec/vcr/transaction/refund/1289558212.yml
|
221
|
-
- spec/vcr/transaction/void/1287186411.yml
|
222
188
|
- spec/vcr/transaction/void/1289558212.yml
|
223
189
|
has_rdoc: true
|
224
190
|
homepage: http://github.com/recurly/recurly-client-ruby
|
@@ -269,39 +235,13 @@ test_files:
|
|
269
235
|
- spec/support/factory.rb
|
270
236
|
- spec/support/vcr.rb
|
271
237
|
- spec/unit/config_spec.rb
|
272
|
-
- spec/vcr/account/close/1287167046.yml
|
273
|
-
- spec/vcr/account/close/1288381369.yml
|
274
|
-
- spec/vcr/account/close/1288381447.yml
|
275
238
|
- spec/vcr/account/close/1288381765.yml
|
276
|
-
- spec/vcr/account/create/1287167046.yml
|
277
|
-
- spec/vcr/account/create/1288381369.yml
|
278
|
-
- spec/vcr/account/create/1288381447.yml
|
279
239
|
- spec/vcr/account/create/1288381765.yml
|
280
|
-
- spec/vcr/account/create-blank/1287167046.yml
|
281
|
-
- spec/vcr/account/create-blank/1288381369.yml
|
282
|
-
- spec/vcr/account/create-blank/1288381447.yml
|
283
240
|
- spec/vcr/account/create-blank/1288381765.yml
|
284
|
-
- spec/vcr/account/create-duplicate/1287167046.yml
|
285
|
-
- spec/vcr/account/create-duplicate/1288381369.yml
|
286
|
-
- spec/vcr/account/create-duplicate/1288381447.yml
|
287
241
|
- spec/vcr/account/create-duplicate/1288381765.yml
|
288
|
-
- spec/vcr/account/create-min/1287167046.yml
|
289
|
-
- spec/vcr/account/create-min/1288381369.yml
|
290
|
-
- spec/vcr/account/create-min/1288381447.yml
|
291
242
|
- spec/vcr/account/create-min/1288381765.yml
|
292
|
-
- spec/vcr/account/find/1287167046.yml
|
293
|
-
- spec/vcr/account/find/1288381369.yml
|
294
|
-
- spec/vcr/account/find/1288381447.yml
|
295
243
|
- spec/vcr/account/find/1288381765.yml
|
296
|
-
- spec/vcr/account/find-all/1288381369.yml
|
297
|
-
- spec/vcr/account/find-all/1288381447.yml
|
298
|
-
- spec/vcr/account/list/1287167046.yml
|
299
|
-
- spec/vcr/account/list/1288381369.yml
|
300
|
-
- spec/vcr/account/list/1288381447.yml
|
301
244
|
- spec/vcr/account/list/1288381765.yml
|
302
|
-
- spec/vcr/account/update/1287167046.yml
|
303
|
-
- spec/vcr/account/update/1288381369.yml
|
304
|
-
- spec/vcr/account/update/1288381447.yml
|
305
245
|
- spec/vcr/account/update/1288381765.yml
|
306
246
|
- spec/vcr/billing/create/1286682213.yml
|
307
247
|
- spec/vcr/billing/destroy/1286682213.yml
|
@@ -335,19 +275,11 @@ test_files:
|
|
335
275
|
- spec/vcr/subscription/refund-full/1287455769.yml
|
336
276
|
- spec/vcr/subscription/refund-none/1287455769.yml
|
337
277
|
- spec/vcr/subscription/refund-partial/1287455769.yml
|
338
|
-
- spec/vcr/transaction/all/1287186411.yml
|
339
278
|
- spec/vcr/transaction/all/1289558212.yml
|
340
|
-
- spec/vcr/transaction/create-no-account/1287186411.yml
|
341
279
|
- spec/vcr/transaction/create-no-account/1289558212.yml
|
342
|
-
- spec/vcr/transaction/create-with-account/1287186411.yml
|
343
280
|
- spec/vcr/transaction/create-with-account/1289558212.yml
|
344
|
-
- spec/vcr/transaction/list-empty/1287186411.yml
|
345
|
-
- spec/vcr/transaction/list-filled/1287186411.yml
|
346
281
|
- spec/vcr/transaction/list-filled/1289558212.yml
|
347
282
|
- spec/vcr/transaction/list-initial/1289558212.yml
|
348
|
-
- spec/vcr/transaction/lookup/1287186411.yml
|
349
283
|
- spec/vcr/transaction/lookup/1289558212.yml
|
350
|
-
- spec/vcr/transaction/refund/1287186411.yml
|
351
284
|
- spec/vcr/transaction/refund/1289558212.yml
|
352
|
-
- spec/vcr/transaction/void/1287186411.yml
|
353
285
|
- spec/vcr/transaction/void/1289558212.yml
|
@@ -1,159 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-close-1287167046</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-close-1287167046
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "583"
|
38
|
-
date:
|
39
|
-
- Tue, 19 Oct 2010 05:21:16 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "581"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=3f68cffcd6c551a81a5f95748e77ed3b21cb4b5602f3feade57994946ee7203fb9e35ed36a4154268e813a19aa867496c754ad6f9d73313e6636c36a50c404e6%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=57a489887ed3aa7bc824f0f78d4fe64a; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>account-close-1287167046</id>
|
54
|
-
<account_code>account-close-1287167046</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>5a0b617afeed4ebfb32b3303218cebfa</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-19T05:21:16Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :delete
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1287167046.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
connection:
|
88
|
-
- close
|
89
|
-
content-type:
|
90
|
-
- application/xml; charset=utf-8
|
91
|
-
x-runtime:
|
92
|
-
- "41"
|
93
|
-
date:
|
94
|
-
- Tue, 19 Oct 2010 05:21:16 GMT
|
95
|
-
server:
|
96
|
-
- nginx/0.7.65
|
97
|
-
content-length:
|
98
|
-
- "1"
|
99
|
-
set-cookie:
|
100
|
-
- _recurly_session=91e963f9cd2bef9a5921b6a2fca54e3b; domain=.recurly.com; path=/; Secure; HttpOnly
|
101
|
-
cache-control:
|
102
|
-
- no-cache
|
103
|
-
body: " "
|
104
|
-
http_version: "1.1"
|
105
|
-
- !ruby/struct:VCR::HTTPInteraction
|
106
|
-
request: !ruby/struct:VCR::Request
|
107
|
-
method: :get
|
108
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1287167046.xml
|
109
|
-
body:
|
110
|
-
headers:
|
111
|
-
accept:
|
112
|
-
- application/xml
|
113
|
-
connection:
|
114
|
-
- close
|
115
|
-
authorization:
|
116
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
117
|
-
response: !ruby/struct:VCR::Response
|
118
|
-
status: !ruby/struct:VCR::ResponseStatus
|
119
|
-
code: 200
|
120
|
-
message: OK
|
121
|
-
headers:
|
122
|
-
x-ua-compatible:
|
123
|
-
- IE=Edge
|
124
|
-
etag:
|
125
|
-
- "\"2b0e8849b76800c1b0878370d92ed6d1\""
|
126
|
-
connection:
|
127
|
-
- close
|
128
|
-
content-type:
|
129
|
-
- application/xml; charset=utf-8
|
130
|
-
x-runtime:
|
131
|
-
- "61"
|
132
|
-
date:
|
133
|
-
- Tue, 19 Oct 2010 05:21:17 GMT
|
134
|
-
server:
|
135
|
-
- nginx/0.7.65
|
136
|
-
content-length:
|
137
|
-
- "580"
|
138
|
-
set-cookie:
|
139
|
-
- _recurly_session=bd0fefb088d661cd2d14cca58422f93f; domain=.recurly.com; path=/; Secure; HttpOnly
|
140
|
-
cache-control:
|
141
|
-
- private, max-age=0, must-revalidate
|
142
|
-
body: |
|
143
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
144
|
-
<account>
|
145
|
-
<id>account-close-1287167046</id>
|
146
|
-
<account_code>account-close-1287167046</account_code>
|
147
|
-
<username></username>
|
148
|
-
<email>verena@test.com</email>
|
149
|
-
<first_name>Verena</first_name>
|
150
|
-
<last_name>Test</last_name>
|
151
|
-
<company_name>Recurly Ruby Gem</company_name>
|
152
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
153
|
-
<closed type="boolean">true</closed>
|
154
|
-
<hosted_login_token>5a0b617afeed4ebfb32b3303218cebfa</hosted_login_token>
|
155
|
-
<created_at type="datetime">2010-10-19T05:21:16Z</created_at>
|
156
|
-
<state>closed</state>
|
157
|
-
</account>
|
158
|
-
|
159
|
-
http_version: "1.1"
|
@@ -1,159 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account-close-1288381369</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<first-name>Verena</first-name>
|
14
|
-
</account>
|
15
|
-
|
16
|
-
headers:
|
17
|
-
accept:
|
18
|
-
- "*/*"
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
content-type:
|
22
|
-
- application/xml
|
23
|
-
authorization:
|
24
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
25
|
-
response: !ruby/struct:VCR::Response
|
26
|
-
status: !ruby/struct:VCR::ResponseStatus
|
27
|
-
code: 201
|
28
|
-
message: Created
|
29
|
-
headers:
|
30
|
-
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/account-close-1288381369
|
32
|
-
connection:
|
33
|
-
- close
|
34
|
-
content-type:
|
35
|
-
- application/xml; charset=utf-8
|
36
|
-
x-runtime:
|
37
|
-
- "816"
|
38
|
-
date:
|
39
|
-
- Fri, 29 Oct 2010 19:43:32 GMT
|
40
|
-
server:
|
41
|
-
- nginx/0.7.65
|
42
|
-
content-length:
|
43
|
-
- "581"
|
44
|
-
set-cookie:
|
45
|
-
- account_credentials=3b1de9472e95b2ed92748186af948d5dbc9c8ecab1979c23079a800b9fca1ab93a8921133e58bf29dcf34b296873047d394cb15049e79ca243b19014a2dc5ec9%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
|
-
- ""
|
47
|
-
- _recurly_session=eaa0757f19e72946756bacd817f0945f; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
|
-
cache-control:
|
49
|
-
- no-cache
|
50
|
-
body: |
|
51
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<account>
|
53
|
-
<id>account-close-1288381369</id>
|
54
|
-
<account_code>account-close-1288381369</account_code>
|
55
|
-
<username></username>
|
56
|
-
<email>verena@test.com</email>
|
57
|
-
<first_name>Verena</first_name>
|
58
|
-
<last_name>Test</last_name>
|
59
|
-
<company_name>Recurly Ruby Gem</company_name>
|
60
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
61
|
-
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>a98c046b927a4c2c985997f51f9175bf</hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-29T19:43:32Z</created_at>
|
64
|
-
<state>active</state>
|
65
|
-
</account>
|
66
|
-
|
67
|
-
http_version: "1.1"
|
68
|
-
- !ruby/struct:VCR::HTTPInteraction
|
69
|
-
request: !ruby/struct:VCR::Request
|
70
|
-
method: :delete
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1288381369.xml
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
accept:
|
75
|
-
- application/xml
|
76
|
-
connection:
|
77
|
-
- close
|
78
|
-
authorization:
|
79
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
80
|
-
response: !ruby/struct:VCR::Response
|
81
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
x-ua-compatible:
|
86
|
-
- IE=Edge
|
87
|
-
connection:
|
88
|
-
- close
|
89
|
-
content-type:
|
90
|
-
- application/xml; charset=utf-8
|
91
|
-
x-runtime:
|
92
|
-
- "66"
|
93
|
-
date:
|
94
|
-
- Fri, 29 Oct 2010 19:43:33 GMT
|
95
|
-
server:
|
96
|
-
- nginx/0.7.65
|
97
|
-
content-length:
|
98
|
-
- "1"
|
99
|
-
set-cookie:
|
100
|
-
- _recurly_session=40c02985451cf5feb954ed4a931a9081; domain=.recurly.com; path=/; Secure; HttpOnly
|
101
|
-
cache-control:
|
102
|
-
- no-cache
|
103
|
-
body: " "
|
104
|
-
http_version: "1.1"
|
105
|
-
- !ruby/struct:VCR::HTTPInteraction
|
106
|
-
request: !ruby/struct:VCR::Request
|
107
|
-
method: :get
|
108
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-close-1288381369.xml
|
109
|
-
body:
|
110
|
-
headers:
|
111
|
-
accept:
|
112
|
-
- application/xml
|
113
|
-
connection:
|
114
|
-
- close
|
115
|
-
authorization:
|
116
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
117
|
-
response: !ruby/struct:VCR::Response
|
118
|
-
status: !ruby/struct:VCR::ResponseStatus
|
119
|
-
code: 200
|
120
|
-
message: OK
|
121
|
-
headers:
|
122
|
-
x-ua-compatible:
|
123
|
-
- IE=Edge
|
124
|
-
etag:
|
125
|
-
- "\"30b915938ef599abe7787db111c3e5b2\""
|
126
|
-
connection:
|
127
|
-
- close
|
128
|
-
content-type:
|
129
|
-
- application/xml; charset=utf-8
|
130
|
-
x-runtime:
|
131
|
-
- "50"
|
132
|
-
date:
|
133
|
-
- Fri, 29 Oct 2010 19:43:33 GMT
|
134
|
-
server:
|
135
|
-
- nginx/0.7.65
|
136
|
-
content-length:
|
137
|
-
- "580"
|
138
|
-
set-cookie:
|
139
|
-
- _recurly_session=e380974c6647c862f85fab4b9a396138; domain=.recurly.com; path=/; Secure; HttpOnly
|
140
|
-
cache-control:
|
141
|
-
- private, max-age=0, must-revalidate
|
142
|
-
body: |
|
143
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
144
|
-
<account>
|
145
|
-
<id>account-close-1288381369</id>
|
146
|
-
<account_code>account-close-1288381369</account_code>
|
147
|
-
<username></username>
|
148
|
-
<email>verena@test.com</email>
|
149
|
-
<first_name>Verena</first_name>
|
150
|
-
<last_name>Test</last_name>
|
151
|
-
<company_name>Recurly Ruby Gem</company_name>
|
152
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
153
|
-
<closed type="boolean">true</closed>
|
154
|
-
<hosted_login_token>a98c046b927a4c2c985997f51f9175bf</hosted_login_token>
|
155
|
-
<created_at type="datetime">2010-10-29T19:43:32Z</created_at>
|
156
|
-
<state>closed</state>
|
157
|
-
</account>
|
158
|
-
|
159
|
-
http_version: "1.1"
|