recurly 0.4.15 → 0.4.16
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/patches/rails2/active_resource/base.rb +35 -0
- data/lib/patches/rails3/active_model/serializers/xml.rb +28 -0
- data/lib/recurly.rb +14 -4
- data/lib/recurly/account.rb +6 -3
- data/lib/recurly/base.rb +1 -2
- data/lib/recurly/subscription.rb +7 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/integration/subscription_spec.rb +2 -1
- metadata +108 -220
- data/spec/vcr/account/accept-language-account/1313708721.yml +0 -60
- data/spec/vcr/account/close/1313708721.yml +0 -132
- data/spec/vcr/account/create-blank/1313708721.yml +0 -44
- data/spec/vcr/account/create-duplicate/1313708721.yml +0 -98
- data/spec/vcr/account/create-min/1313708721.yml +0 -56
- data/spec/vcr/account/create/1313708721.yml +0 -60
- data/spec/vcr/account/find/1313708721.yml +0 -137
- data/spec/vcr/account/list/1313708721.yml +0 -1307
- data/spec/vcr/account/update/1313708721.yml +0 -216
- data/spec/vcr/billing/create/1313708721.yml +0 -181
- data/spec/vcr/billing/destroy/1313708721.yml +0 -240
- data/spec/vcr/billing/errors/1313708721.yml +0 -106
- data/spec/vcr/billing/find/1313708721.yml +0 -234
- data/spec/vcr/billing/update/1313708721.yml +0 -251
- data/spec/vcr/charge/create/1313708721.yml +0 -222
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +0 -247
- data/spec/vcr/charge/list-all/1313708721.yml +0 -276
- data/spec/vcr/charge/list-invoiced/1313708721.yml +0 -411
- data/spec/vcr/charge/list-pending/1313708721.yml +0 -276
- data/spec/vcr/charge/lookup/1313708721.yml +0 -152
- data/spec/vcr/coupon/create/1296774903.yml +0 -97
- data/spec/vcr/coupon/destroy/1296774903.yml +0 -97
- data/spec/vcr/credit/create/1313708090.yml +0 -152
- data/spec/vcr/credit/delete/1313708090.yml +0 -211
- data/spec/vcr/credit/list/1313708090.yml +0 -276
- data/spec/vcr/credit/lookup/1313708090.yml +0 -152
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +0 -166
- data/spec/vcr/invoice/create/1296674173.yml +0 -302
- data/spec/vcr/invoice/list/1296674173.yml +0 -405
- data/spec/vcr/invoice/lookup/1296674173.yml +0 -304
- data/spec/vcr/plan/all.yml +0 -233
- data/spec/vcr/plan/find.yml +0 -136
- data/spec/vcr/plan/update.yml +0 -152
- data/spec/vcr/subscription/addons/add/1296674173.yml +0 -177
- data/spec/vcr/subscription/addons/create/1296674173.yml +0 -177
- data/spec/vcr/subscription/addons/remove/1296674173.yml +0 -177
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +0 -400
- data/spec/vcr/subscription/cancel/1296674173.yml +0 -348
- data/spec/vcr/subscription/change1/1296674173.yml +0 -354
- data/spec/vcr/subscription/change2/1296674173.yml +0 -354
- data/spec/vcr/subscription/create/1296674173.yml +0 -192
- data/spec/vcr/subscription/find/1296674173.yml +0 -244
- data/spec/vcr/subscription/reactivate/1296674173.yml +0 -377
- data/spec/vcr/subscription/refund-full/1296674173.yml +0 -328
- data/spec/vcr/subscription/refund-none/1296674173.yml +0 -328
- data/spec/vcr/subscription/refund-partial/1296674173.yml +0 -328
- data/spec/vcr/transaction/all/1311126815.yml +0 -397
- data/spec/vcr/transaction/create-no-account/1311126815.yml +0 -82
- data/spec/vcr/transaction/create-with-account/1311126815.yml +0 -196
- data/spec/vcr/transaction/list-filled/1311126815.yml +0 -544
- data/spec/vcr/transaction/list-initial/1311126815.yml +0 -184
- data/spec/vcr/transaction/lookup/1311126815.yml +0 -487
- data/spec/vcr/transaction/void/1311126815.yml +0 -321
- data/spec/vcr/transparent/post-url/1317063400.yml +0 -105
- data/spec/vcr/transparent/post-url/1317063474.yml +0 -105
@@ -1,321 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>transaction-void-1311126815</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<company-name>Recurly Ruby Gem</company-name>
|
14
|
-
<billing-info>
|
15
|
-
<credit-card>
|
16
|
-
</credit-card>
|
17
|
-
</billing-info>
|
18
|
-
<accept-language nil="true"></accept-language>
|
19
|
-
</account>
|
20
|
-
|
21
|
-
headers:
|
22
|
-
user-agent:
|
23
|
-
- Recurly Ruby Client v0.4.13
|
24
|
-
content-type:
|
25
|
-
- application/xml
|
26
|
-
response: !ruby/struct:VCR::Response
|
27
|
-
status: !ruby/struct:VCR::ResponseStatus
|
28
|
-
code: 201
|
29
|
-
message: Created
|
30
|
-
headers:
|
31
|
-
location:
|
32
|
-
- http://api.lvh.me:3000/accounts/transaction-void-1311126815
|
33
|
-
content-type:
|
34
|
-
- application/xml; charset=utf-8
|
35
|
-
cache-control:
|
36
|
-
- no-cache
|
37
|
-
x-ua-compatible:
|
38
|
-
- IE=Edge
|
39
|
-
set-cookie:
|
40
|
-
- _recurly_session=ab5e9281595641e2756969cdadbf7641; domain=.lvh.me; path=/; HttpOnly
|
41
|
-
server:
|
42
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
43
|
-
body: |
|
44
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
-
<account>
|
46
|
-
<id>transaction-void-1311126815</id>
|
47
|
-
<account_code>transaction-void-1311126815</account_code>
|
48
|
-
<username></username>
|
49
|
-
<email>verena@test.com</email>
|
50
|
-
<first_name>Verena</first_name>
|
51
|
-
<last_name>Test</last_name>
|
52
|
-
<company_name>Recurly Ruby Gem</company_name>
|
53
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
54
|
-
<closed type="boolean">false</closed>
|
55
|
-
<hosted_login_token>0ca35620abd64d5db4433ba292bb28e4</hosted_login_token>
|
56
|
-
<created_at type="datetime">2011-09-22T22:02:19Z</created_at>
|
57
|
-
<state>active</state>
|
58
|
-
</account>
|
59
|
-
|
60
|
-
http_version: "1.1"
|
61
|
-
- !ruby/struct:VCR::HTTPInteraction
|
62
|
-
request: !ruby/struct:VCR::Request
|
63
|
-
method: :put
|
64
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/transaction-void-1311126815/billing_info.xml
|
65
|
-
body: |
|
66
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
67
|
-
<billing-info>
|
68
|
-
<first-name>Verena</first-name>
|
69
|
-
<last-name>Test</last-name>
|
70
|
-
<address1>123 Test St</address1>
|
71
|
-
<city>San Francisco</city>
|
72
|
-
<state>CA</state>
|
73
|
-
<zip>94115</zip>
|
74
|
-
<country>US</country>
|
75
|
-
<credit-card>
|
76
|
-
<number>4111111111111111</number>
|
77
|
-
<year type="integer">2012</year>
|
78
|
-
<month type="integer">9</month>
|
79
|
-
<verification-value>123</verification-value>
|
80
|
-
</credit-card>
|
81
|
-
<account-code>transaction-void-1311126815</account-code>
|
82
|
-
</billing-info>
|
83
|
-
|
84
|
-
headers:
|
85
|
-
user-agent:
|
86
|
-
- Recurly Ruby Client v0.4.13
|
87
|
-
content-type:
|
88
|
-
- application/xml
|
89
|
-
response: !ruby/struct:VCR::Response
|
90
|
-
status: !ruby/struct:VCR::ResponseStatus
|
91
|
-
code: 200
|
92
|
-
message: OK
|
93
|
-
headers:
|
94
|
-
content-type:
|
95
|
-
- application/xml; charset=utf-8
|
96
|
-
etag:
|
97
|
-
- "\"235b1fc07f7ba646b856ccabc1a0603f\""
|
98
|
-
cache-control:
|
99
|
-
- max-age=0, private, must-revalidate
|
100
|
-
x-ua-compatible:
|
101
|
-
- IE=Edge
|
102
|
-
set-cookie:
|
103
|
-
- _recurly_session=23bd1446cc4374963100b9e0cc49e202; domain=.lvh.me; path=/; HttpOnly
|
104
|
-
server:
|
105
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
106
|
-
body: |
|
107
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
108
|
-
<billing_info>
|
109
|
-
<account_code>transaction-void-1311126815</account_code>
|
110
|
-
<first_name>Verena</first_name>
|
111
|
-
<last_name>Test</last_name>
|
112
|
-
<address1>123 Test St</address1>
|
113
|
-
<address2></address2>
|
114
|
-
<city>San Francisco</city>
|
115
|
-
<state>CA</state>
|
116
|
-
<country>US</country>
|
117
|
-
<zip>94115</zip>
|
118
|
-
<phone></phone>
|
119
|
-
<vat_number></vat_number>
|
120
|
-
<ip_address></ip_address>
|
121
|
-
<credit_card>
|
122
|
-
<type>visa</type>
|
123
|
-
<last_four>1111</last_four>
|
124
|
-
<month type="integer">9</month>
|
125
|
-
<year type="integer">2012</year>
|
126
|
-
</credit_card>
|
127
|
-
<updated_at type="datetime">2011-09-22T22:02:20Z</updated_at>
|
128
|
-
</billing_info>
|
129
|
-
|
130
|
-
http_version: "1.1"
|
131
|
-
- !ruby/struct:VCR::HTTPInteraction
|
132
|
-
request: !ruby/struct:VCR::Request
|
133
|
-
method: :post
|
134
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml
|
135
|
-
body: |
|
136
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
137
|
-
<transaction>
|
138
|
-
<account>
|
139
|
-
<account-code>transaction-void-1311126815</account-code>
|
140
|
-
<billing-info>
|
141
|
-
<credit-card>
|
142
|
-
</credit-card>
|
143
|
-
</billing-info>
|
144
|
-
</account>
|
145
|
-
<amount-in-cents type="integer">100</amount-in-cents>
|
146
|
-
<description>one</description>
|
147
|
-
</transaction>
|
148
|
-
|
149
|
-
headers:
|
150
|
-
user-agent:
|
151
|
-
- Recurly Ruby Client v0.4.13
|
152
|
-
content-type:
|
153
|
-
- application/xml
|
154
|
-
response: !ruby/struct:VCR::Response
|
155
|
-
status: !ruby/struct:VCR::ResponseStatus
|
156
|
-
code: 201
|
157
|
-
message: Created
|
158
|
-
headers:
|
159
|
-
location:
|
160
|
-
- http://api.lvh.me:3000/transactions/d8002ce706b342f4800ff8fedec27443
|
161
|
-
content-type:
|
162
|
-
- application/xml; charset=utf-8
|
163
|
-
cache-control:
|
164
|
-
- no-cache
|
165
|
-
x-ua-compatible:
|
166
|
-
- IE=Edge
|
167
|
-
set-cookie:
|
168
|
-
- _recurly_session=ae7e09f2e21726d13e8499282682f2a5; domain=.lvh.me; path=/; HttpOnly
|
169
|
-
server:
|
170
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
171
|
-
body: |
|
172
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
173
|
-
<transaction type="Payment">
|
174
|
-
<id>d8002ce706b342f4800ff8fedec27443</id>
|
175
|
-
<account_code>transaction-void-1311126815</account_code>
|
176
|
-
<action>purchase</action>
|
177
|
-
<date type="datetime">2011-09-22T22:02:21Z</date>
|
178
|
-
<amount_in_cents type="integer">100</amount_in_cents>
|
179
|
-
<currency>USD</currency>
|
180
|
-
<status>success</status>
|
181
|
-
<message>Test Gateway: Successful test transaction</message>
|
182
|
-
<reference>12345</reference>
|
183
|
-
<cvv_result code="M">Match</cvv_result>
|
184
|
-
<avs_result code="D">Street address and postal code match.</avs_result>
|
185
|
-
<avs_result_street>Y</avs_result_street>
|
186
|
-
<avs_result_postal>Y</avs_result_postal>
|
187
|
-
<test type="boolean">true</test>
|
188
|
-
<voidable type="boolean">true</voidable>
|
189
|
-
<refundable type="boolean">true</refundable>
|
190
|
-
<credit_card>
|
191
|
-
<type>visa</type>
|
192
|
-
<last_four>1111</last_four>
|
193
|
-
</credit_card>
|
194
|
-
</transaction>
|
195
|
-
|
196
|
-
http_version: "1.1"
|
197
|
-
- !ruby/struct:VCR::HTTPInteraction
|
198
|
-
request: !ruby/struct:VCR::Request
|
199
|
-
method: :delete
|
200
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions/d8002ce706b342f4800ff8fedec27443.xml?action=void
|
201
|
-
body:
|
202
|
-
headers:
|
203
|
-
user-agent:
|
204
|
-
- Recurly Ruby Client v0.4.13
|
205
|
-
accept:
|
206
|
-
- application/xml
|
207
|
-
response: !ruby/struct:VCR::Response
|
208
|
-
status: !ruby/struct:VCR::ResponseStatus
|
209
|
-
code: 200
|
210
|
-
message: OK
|
211
|
-
headers:
|
212
|
-
content-type:
|
213
|
-
- application/xml; charset=utf-8
|
214
|
-
etag:
|
215
|
-
- "\"73a93b1826aa9fa0e35c41a18cb91f51\""
|
216
|
-
cache-control:
|
217
|
-
- max-age=0, private, must-revalidate
|
218
|
-
x-ua-compatible:
|
219
|
-
- IE=Edge
|
220
|
-
set-cookie:
|
221
|
-
- _recurly_session=03a3682bf6b623c8ee3a595ca510e256; domain=.lvh.me; path=/; HttpOnly
|
222
|
-
server:
|
223
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
224
|
-
body: |
|
225
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
226
|
-
<transaction type="Payment">
|
227
|
-
<id>d8002ce706b342f4800ff8fedec27443</id>
|
228
|
-
<account_code>transaction-void-1311126815</account_code>
|
229
|
-
<action>purchase</action>
|
230
|
-
<date type="datetime">2011-09-22T22:02:21Z</date>
|
231
|
-
<amount_in_cents type="integer">100</amount_in_cents>
|
232
|
-
<currency>USD</currency>
|
233
|
-
<status>void</status>
|
234
|
-
<message>Test Gateway: Successful test transaction</message>
|
235
|
-
<reference>12345</reference>
|
236
|
-
<cvv_result code="M">Match</cvv_result>
|
237
|
-
<avs_result code="D">Street address and postal code match.</avs_result>
|
238
|
-
<avs_result_street>Y</avs_result_street>
|
239
|
-
<avs_result_postal>Y</avs_result_postal>
|
240
|
-
<test type="boolean">true</test>
|
241
|
-
<voidable type="boolean">false</voidable>
|
242
|
-
<refundable type="boolean">false</refundable>
|
243
|
-
<credit_card>
|
244
|
-
<type>visa</type>
|
245
|
-
<last_four>1111</last_four>
|
246
|
-
</credit_card>
|
247
|
-
</transaction>
|
248
|
-
|
249
|
-
http_version: "1.1"
|
250
|
-
- !ruby/struct:VCR::HTTPInteraction
|
251
|
-
request: !ruby/struct:VCR::Request
|
252
|
-
method: :get
|
253
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/transactions.xml?show=voided
|
254
|
-
body:
|
255
|
-
headers:
|
256
|
-
user-agent:
|
257
|
-
- Recurly Ruby Client v0.4.13
|
258
|
-
accept:
|
259
|
-
- application/xml
|
260
|
-
accept-encoding:
|
261
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
262
|
-
response: !ruby/struct:VCR::Response
|
263
|
-
status: !ruby/struct:VCR::ResponseStatus
|
264
|
-
code: 200
|
265
|
-
message: OK
|
266
|
-
headers:
|
267
|
-
content-type:
|
268
|
-
- application/xml; charset=utf-8
|
269
|
-
etag:
|
270
|
-
- "\"e42e47aa8904e284c448850bce8a2c8b\""
|
271
|
-
cache-control:
|
272
|
-
- max-age=0, private, must-revalidate
|
273
|
-
x-ua-compatible:
|
274
|
-
- IE=Edge
|
275
|
-
server:
|
276
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
277
|
-
body: |
|
278
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
279
|
-
<transactions type="collection">
|
280
|
-
<current_page type="integer">1</current_page>
|
281
|
-
<per_page type="integer">20</per_page>
|
282
|
-
<total_entries type="integer">2</total_entries>
|
283
|
-
<transaction type="Payment">
|
284
|
-
<id>d8002ce706b342f4800ff8fedec27443</id>
|
285
|
-
<account_code>transaction-void-1311126815</account_code>
|
286
|
-
<action>purchase</action>
|
287
|
-
<date type="datetime">2011-09-22T22:02:21Z</date>
|
288
|
-
<amount_in_cents type="integer">100</amount_in_cents>
|
289
|
-
<currency>USD</currency>
|
290
|
-
<status>void</status>
|
291
|
-
<message>Test Gateway: Successful test transaction</message>
|
292
|
-
<reference>12345</reference>
|
293
|
-
<cvv_result code="M">Match</cvv_result>
|
294
|
-
<avs_result code="D">Street address and postal code match.</avs_result>
|
295
|
-
<avs_result_street>Y</avs_result_street>
|
296
|
-
<avs_result_postal>Y</avs_result_postal>
|
297
|
-
<test type="boolean">true</test>
|
298
|
-
<voidable type="boolean">false</voidable>
|
299
|
-
<refundable type="boolean">false</refundable>
|
300
|
-
</transaction>
|
301
|
-
<transaction type="Payment">
|
302
|
-
<id>99fc30f3435c476fac16717eaba27440</id>
|
303
|
-
<account_code>subscription-refund-full-1296674173</account_code>
|
304
|
-
<action>purchase</action>
|
305
|
-
<date type="datetime">2011-09-22T22:02:06Z</date>
|
306
|
-
<amount_in_cents type="integer">1400</amount_in_cents>
|
307
|
-
<currency>USD</currency>
|
308
|
-
<status>void</status>
|
309
|
-
<message>Test Gateway: Successful test transaction</message>
|
310
|
-
<reference>12345</reference>
|
311
|
-
<cvv_result code="M">Match</cvv_result>
|
312
|
-
<avs_result code="D">Street address and postal code match.</avs_result>
|
313
|
-
<avs_result_street>Y</avs_result_street>
|
314
|
-
<avs_result_postal>Y</avs_result_postal>
|
315
|
-
<test type="boolean">true</test>
|
316
|
-
<voidable type="boolean">false</voidable>
|
317
|
-
<refundable type="boolean">false</refundable>
|
318
|
-
</transaction>
|
319
|
-
</transactions>
|
320
|
-
|
321
|
-
http_version: "1.1"
|
@@ -1,105 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>account-get-1317063400</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<company-name>Recurly Ruby Gem</company-name>
|
14
|
-
<billing-info>
|
15
|
-
<credit-card>
|
16
|
-
</credit-card>
|
17
|
-
</billing-info>
|
18
|
-
<accept-language nil="true"></accept-language>
|
19
|
-
</account>
|
20
|
-
|
21
|
-
headers:
|
22
|
-
user-agent:
|
23
|
-
- Recurly Ruby Client v0.4.14
|
24
|
-
content-type:
|
25
|
-
- application/xml
|
26
|
-
response: !ruby/struct:VCR::Response
|
27
|
-
status: !ruby/struct:VCR::ResponseStatus
|
28
|
-
code: 201
|
29
|
-
message: Created
|
30
|
-
headers:
|
31
|
-
location:
|
32
|
-
- http://api.lvh.me:3000/accounts/account-get-1317063400
|
33
|
-
content-type:
|
34
|
-
- application/xml; charset=utf-8
|
35
|
-
cache-control:
|
36
|
-
- no-cache
|
37
|
-
x-ua-compatible:
|
38
|
-
- IE=Edge
|
39
|
-
set-cookie:
|
40
|
-
- _recurly_session=4e81ed0ba0b7a5432e69da605b4cbbf6; domain=.lvh.me; path=/; HttpOnly
|
41
|
-
server:
|
42
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
43
|
-
body: |
|
44
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
-
<account>
|
46
|
-
<id>account-get-1317063400</id>
|
47
|
-
<account_code>account-get-1317063400</account_code>
|
48
|
-
<username></username>
|
49
|
-
<email>verena@test.com</email>
|
50
|
-
<first_name>Verena</first_name>
|
51
|
-
<last_name>Test</last_name>
|
52
|
-
<company_name>Recurly Ruby Gem</company_name>
|
53
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
54
|
-
<closed type="boolean">false</closed>
|
55
|
-
<hosted_login_token>5823616e8dc0439c99f45edff05ffaeb</hosted_login_token>
|
56
|
-
<created_at type="datetime">2011-09-26T18:57:16Z</created_at>
|
57
|
-
<state>active</state>
|
58
|
-
</account>
|
59
|
-
|
60
|
-
http_version: "1.1"
|
61
|
-
- !ruby/struct:VCR::HTTPInteraction
|
62
|
-
request: !ruby/struct:VCR::Request
|
63
|
-
method: :get
|
64
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-get-1317063400.xml
|
65
|
-
body:
|
66
|
-
headers:
|
67
|
-
user-agent:
|
68
|
-
- Recurly Ruby Client v0.4.14
|
69
|
-
accept:
|
70
|
-
- application/xml
|
71
|
-
accept-encoding:
|
72
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
73
|
-
response: !ruby/struct:VCR::Response
|
74
|
-
status: !ruby/struct:VCR::ResponseStatus
|
75
|
-
code: 200
|
76
|
-
message: OK
|
77
|
-
headers:
|
78
|
-
content-type:
|
79
|
-
- application/xml; charset=utf-8
|
80
|
-
etag:
|
81
|
-
- "\"4207b49346e061c62ef4c8622d1c8be2\""
|
82
|
-
cache-control:
|
83
|
-
- max-age=0, private, must-revalidate
|
84
|
-
x-ua-compatible:
|
85
|
-
- IE=Edge
|
86
|
-
server:
|
87
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
88
|
-
body: |
|
89
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
90
|
-
<account>
|
91
|
-
<id>account-get-1317063400</id>
|
92
|
-
<account_code>account-get-1317063400</account_code>
|
93
|
-
<username></username>
|
94
|
-
<email>verena@test.com</email>
|
95
|
-
<first_name>Verena</first_name>
|
96
|
-
<last_name>Test</last_name>
|
97
|
-
<company_name>Recurly Ruby Gem</company_name>
|
98
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
99
|
-
<closed type="boolean">false</closed>
|
100
|
-
<hosted_login_token>5823616e8dc0439c99f45edff05ffaeb</hosted_login_token>
|
101
|
-
<created_at type="datetime">2011-09-26T18:57:16Z</created_at>
|
102
|
-
<state>active</state>
|
103
|
-
</account>
|
104
|
-
|
105
|
-
http_version: "1.1"
|
@@ -1,105 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>account-get-1317063474</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<company-name>Recurly Ruby Gem</company-name>
|
14
|
-
<billing-info>
|
15
|
-
<credit-card>
|
16
|
-
</credit-card>
|
17
|
-
</billing-info>
|
18
|
-
<accept-language nil="true"></accept-language>
|
19
|
-
</account>
|
20
|
-
|
21
|
-
headers:
|
22
|
-
user-agent:
|
23
|
-
- Recurly Ruby Client v0.4.14
|
24
|
-
content-type:
|
25
|
-
- application/xml
|
26
|
-
response: !ruby/struct:VCR::Response
|
27
|
-
status: !ruby/struct:VCR::ResponseStatus
|
28
|
-
code: 201
|
29
|
-
message: Created
|
30
|
-
headers:
|
31
|
-
location:
|
32
|
-
- http://api.lvh.me:3000/accounts/account-get-1317063474
|
33
|
-
content-type:
|
34
|
-
- application/xml; charset=utf-8
|
35
|
-
cache-control:
|
36
|
-
- no-cache
|
37
|
-
x-ua-compatible:
|
38
|
-
- IE=Edge
|
39
|
-
set-cookie:
|
40
|
-
- _recurly_session=e9a4c74c87d659c65141eb9cc75a0498; domain=.lvh.me; path=/; HttpOnly
|
41
|
-
server:
|
42
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
43
|
-
body: |
|
44
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
45
|
-
<account>
|
46
|
-
<id>account-get-1317063474</id>
|
47
|
-
<account_code>account-get-1317063474</account_code>
|
48
|
-
<username></username>
|
49
|
-
<email>verena@test.com</email>
|
50
|
-
<first_name>Verena</first_name>
|
51
|
-
<last_name>Test</last_name>
|
52
|
-
<company_name>Recurly Ruby Gem</company_name>
|
53
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
54
|
-
<closed type="boolean">false</closed>
|
55
|
-
<hosted_login_token>f535367212dc4ca18e95d4e6b1c5e7e0</hosted_login_token>
|
56
|
-
<created_at type="datetime">2011-09-26T18:57:59Z</created_at>
|
57
|
-
<state>active</state>
|
58
|
-
</account>
|
59
|
-
|
60
|
-
http_version: "1.1"
|
61
|
-
- !ruby/struct:VCR::HTTPInteraction
|
62
|
-
request: !ruby/struct:VCR::Request
|
63
|
-
method: :get
|
64
|
-
uri: http://2a655d41659d4ae0b37fcaec06331bf5:@api.lvh.me:3000/accounts/account-get-1317063474.xml
|
65
|
-
body:
|
66
|
-
headers:
|
67
|
-
user-agent:
|
68
|
-
- Recurly Ruby Client v0.4.14
|
69
|
-
accept:
|
70
|
-
- application/xml
|
71
|
-
accept-encoding:
|
72
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
73
|
-
response: !ruby/struct:VCR::Response
|
74
|
-
status: !ruby/struct:VCR::ResponseStatus
|
75
|
-
code: 200
|
76
|
-
message: OK
|
77
|
-
headers:
|
78
|
-
content-type:
|
79
|
-
- application/xml; charset=utf-8
|
80
|
-
etag:
|
81
|
-
- "\"d885948736791ccddc6eb5ad3c5e77c8\""
|
82
|
-
cache-control:
|
83
|
-
- max-age=0, private, must-revalidate
|
84
|
-
x-ua-compatible:
|
85
|
-
- IE=Edge
|
86
|
-
server:
|
87
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
88
|
-
body: |
|
89
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
90
|
-
<account>
|
91
|
-
<id>account-get-1317063474</id>
|
92
|
-
<account_code>account-get-1317063474</account_code>
|
93
|
-
<username></username>
|
94
|
-
<email>verena@test.com</email>
|
95
|
-
<first_name>Verena</first_name>
|
96
|
-
<last_name>Test</last_name>
|
97
|
-
<company_name>Recurly Ruby Gem</company_name>
|
98
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
99
|
-
<closed type="boolean">false</closed>
|
100
|
-
<hosted_login_token>f535367212dc4ca18e95d4e6b1c5e7e0</hosted_login_token>
|
101
|
-
<created_at type="datetime">2011-09-26T18:57:59Z</created_at>
|
102
|
-
<state>active</state>
|
103
|
-
</account>
|
104
|
-
|
105
|
-
http_version: "1.1"
|