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.

Files changed (86) hide show
  1. data/lib/recurly.rb +13 -5
  2. data/lib/recurly/rails3/railtie.rb +1 -8
  3. data/lib/recurly/version.rb +1 -1
  4. data/spec/vcr/account/close/1288381765.yml +15 -15
  5. data/spec/vcr/account/create-blank/1288381765.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
  7. data/spec/vcr/account/create-min/1288381765.yml +6 -6
  8. data/spec/vcr/account/create/1288381765.yml +6 -6
  9. data/spec/vcr/account/find/1288381765.yml +14 -14
  10. data/spec/vcr/account/list/1288381765.yml +251 -530
  11. data/spec/vcr/account/update/1288381765.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +20 -20
  13. data/spec/vcr/billing/destroy/1286682213.yml +29 -29
  14. data/spec/vcr/billing/find/1286682213.yml +25 -25
  15. data/spec/vcr/billing/update/1286682213.yml +27 -27
  16. data/spec/vcr/charge/create/1287465632.yml +31 -29
  17. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
  18. data/spec/vcr/charge/list-all/1287465632.yml +43 -40
  19. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
  20. data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
  21. data/spec/vcr/charge/lookup/1287465632.yml +24 -22
  22. data/spec/vcr/credit/create/1287461400.yml +24 -22
  23. data/spec/vcr/credit/delete/1287461400.yml +31 -29
  24. data/spec/vcr/credit/list/1287461400.yml +47 -41
  25. data/spec/vcr/credit/lookup/1287461400.yml +23 -21
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
  27. data/spec/vcr/invoice/create/1287167121.yml +42 -40
  28. data/spec/vcr/invoice/list/1287167121.yml +59 -57
  29. data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +12 -12
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
  35. data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
  36. data/spec/vcr/subscription/change1/1287455769.yml +39 -39
  37. data/spec/vcr/subscription/change2/1287455769.yml +39 -39
  38. data/spec/vcr/subscription/create/1287455769.yml +18 -18
  39. data/spec/vcr/subscription/find/1287455769.yml +25 -25
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
  44. data/spec/vcr/transaction/all/1289558212.yml +363 -54
  45. data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
  46. data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
  47. data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
  48. data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
  49. data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
  50. data/spec/vcr/transaction/refund/1289558212.yml +82 -90
  51. data/spec/vcr/transaction/void/1289558212.yml +377 -143
  52. metadata +4 -72
  53. data/spec/vcr/account/close/1287167046.yml +0 -159
  54. data/spec/vcr/account/close/1288381369.yml +0 -159
  55. data/spec/vcr/account/close/1288381447.yml +0 -159
  56. data/spec/vcr/account/create-blank/1287167046.yml +0 -49
  57. data/spec/vcr/account/create-blank/1288381369.yml +0 -49
  58. data/spec/vcr/account/create-blank/1288381447.yml +0 -49
  59. data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
  60. data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
  61. data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
  62. data/spec/vcr/account/create-min/1287167046.yml +0 -63
  63. data/spec/vcr/account/create-min/1288381369.yml +0 -63
  64. data/spec/vcr/account/create-min/1288381447.yml +0 -63
  65. data/spec/vcr/account/create/1287167046.yml +0 -67
  66. data/spec/vcr/account/create/1288381369.yml +0 -67
  67. data/spec/vcr/account/create/1288381447.yml +0 -67
  68. data/spec/vcr/account/find-all/1288381369.yml +0 -52
  69. data/spec/vcr/account/find-all/1288381447.yml +0 -1383
  70. data/spec/vcr/account/find/1287167046.yml +0 -160
  71. data/spec/vcr/account/find/1288381369.yml +0 -160
  72. data/spec/vcr/account/find/1288381447.yml +0 -160
  73. data/spec/vcr/account/list/1287167046.yml +0 -1538
  74. data/spec/vcr/account/list/1288381369.yml +0 -1835
  75. data/spec/vcr/account/list/1288381447.yml +0 -1835
  76. data/spec/vcr/account/update/1287167046.yml +0 -250
  77. data/spec/vcr/account/update/1288381369.yml +0 -250
  78. data/spec/vcr/account/update/1288381447.yml +0 -250
  79. data/spec/vcr/transaction/all/1287186411.yml +0 -387
  80. data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
  81. data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
  82. data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
  83. data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
  84. data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
  85. data/spec/vcr/transaction/refund/1287186411.yml +0 -282
  86. data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -1,1538 +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-list-num-0-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-list-num-0-1287167046
32
- connection:
33
- - close
34
- content-type:
35
- - application/xml; charset=utf-8
36
- x-runtime:
37
- - "587"
38
- date:
39
- - Tue, 19 Oct 2010 05:20:53 GMT
40
- server:
41
- - nginx/0.7.65
42
- content-length:
43
- - "591"
44
- set-cookie:
45
- - account_credentials=172e534db62b7dbdf2ad6281659f366218cdc79df6c63ff5b9ca2e1e7d45946f665ef3998f10fdaa55fb72c903d0f383be08c81e589864227febf3a8cf7edc4e%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
- - ""
47
- - _recurly_session=3550df26e27e12156208dc22ce1dcfcd; 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-list-num-0-1287167046</id>
54
- <account_code>account-list-num-0-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>084d2581288241fe903bba2f6f10200b</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:20:53Z</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: :post
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
72
- body: |
73
- <?xml version="1.0" encoding="UTF-8"?>
74
- <account>
75
- <company-name>Recurly Ruby Gem</company-name>
76
- <account-code>account-list-num-1-1287167046</account-code>
77
- <last-name>Test</last-name>
78
- <email>verena@test.com</email>
79
- <first-name>Verena</first-name>
80
- </account>
81
-
82
- headers:
83
- accept:
84
- - "*/*"
85
- connection:
86
- - close
87
- content-type:
88
- - application/xml
89
- authorization:
90
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
91
- response: !ruby/struct:VCR::Response
92
- status: !ruby/struct:VCR::ResponseStatus
93
- code: 201
94
- message: Created
95
- headers:
96
- location:
97
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-1-1287167046
98
- connection:
99
- - close
100
- content-type:
101
- - application/xml; charset=utf-8
102
- x-runtime:
103
- - "610"
104
- date:
105
- - Tue, 19 Oct 2010 05:20:54 GMT
106
- server:
107
- - nginx/0.7.65
108
- content-length:
109
- - "591"
110
- set-cookie:
111
- - account_credentials=ffc62e09b48fa477b72497854135c71d5eed3e480333d4ffee9bdaf6c7ddeecc80dfc56409e180aae678e66c4bcd1b519df4bffe57687608b6b1218dc3194cc0%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
112
- - ""
113
- - _recurly_session=c20379f5229952b6d4e1769d173bde78; domain=.recurly.com; path=/; Secure; HttpOnly
114
- cache-control:
115
- - no-cache
116
- body: |
117
- <?xml version="1.0" encoding="UTF-8"?>
118
- <account>
119
- <id>account-list-num-1-1287167046</id>
120
- <account_code>account-list-num-1-1287167046</account_code>
121
- <username></username>
122
- <email>verena@test.com</email>
123
- <first_name>Verena</first_name>
124
- <last_name>Test</last_name>
125
- <company_name>Recurly Ruby Gem</company_name>
126
- <balance_in_cents type="integer">0</balance_in_cents>
127
- <closed type="boolean">false</closed>
128
- <hosted_login_token>150204bb79ee4da0950874f684a7c2b6</hosted_login_token>
129
- <created_at type="datetime">2010-10-19T05:20:54Z</created_at>
130
- <state>active</state>
131
- </account>
132
-
133
- http_version: "1.1"
134
- - !ruby/struct:VCR::HTTPInteraction
135
- request: !ruby/struct:VCR::Request
136
- method: :post
137
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
138
- body: |
139
- <?xml version="1.0" encoding="UTF-8"?>
140
- <account>
141
- <company-name>Recurly Ruby Gem</company-name>
142
- <account-code>account-list-num-2-1287167046</account-code>
143
- <last-name>Test</last-name>
144
- <email>verena@test.com</email>
145
- <first-name>Verena</first-name>
146
- </account>
147
-
148
- headers:
149
- accept:
150
- - "*/*"
151
- connection:
152
- - close
153
- content-type:
154
- - application/xml
155
- authorization:
156
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
157
- response: !ruby/struct:VCR::Response
158
- status: !ruby/struct:VCR::ResponseStatus
159
- code: 201
160
- message: Created
161
- headers:
162
- location:
163
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-2-1287167046
164
- connection:
165
- - close
166
- content-type:
167
- - application/xml; charset=utf-8
168
- x-runtime:
169
- - "733"
170
- date:
171
- - Tue, 19 Oct 2010 05:20:56 GMT
172
- server:
173
- - nginx/0.7.65
174
- content-length:
175
- - "591"
176
- set-cookie:
177
- - account_credentials=72bb04f13b9273a372910177e9120d62b4d05f34f455089caf654e89f1de170d0e8010211f4b641b00987c07098226d8c49f047d4c9c3abccc3cc1cd29296cb0%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
178
- - ""
179
- - _recurly_session=4aca08c1a675005b716d912eabc31c94; domain=.recurly.com; path=/; Secure; HttpOnly
180
- cache-control:
181
- - no-cache
182
- body: |
183
- <?xml version="1.0" encoding="UTF-8"?>
184
- <account>
185
- <id>account-list-num-2-1287167046</id>
186
- <account_code>account-list-num-2-1287167046</account_code>
187
- <username></username>
188
- <email>verena@test.com</email>
189
- <first_name>Verena</first_name>
190
- <last_name>Test</last_name>
191
- <company_name>Recurly Ruby Gem</company_name>
192
- <balance_in_cents type="integer">0</balance_in_cents>
193
- <closed type="boolean">false</closed>
194
- <hosted_login_token>fdd7c74c66bb4afea122923ddec63897</hosted_login_token>
195
- <created_at type="datetime">2010-10-19T05:20:56Z</created_at>
196
- <state>active</state>
197
- </account>
198
-
199
- http_version: "1.1"
200
- - !ruby/struct:VCR::HTTPInteraction
201
- request: !ruby/struct:VCR::Request
202
- method: :post
203
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
204
- body: |
205
- <?xml version="1.0" encoding="UTF-8"?>
206
- <account>
207
- <company-name>Recurly Ruby Gem</company-name>
208
- <account-code>account-list-num-3-1287167046</account-code>
209
- <last-name>Test</last-name>
210
- <email>verena@test.com</email>
211
- <first-name>Verena</first-name>
212
- </account>
213
-
214
- headers:
215
- accept:
216
- - "*/*"
217
- connection:
218
- - close
219
- content-type:
220
- - application/xml
221
- authorization:
222
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
223
- response: !ruby/struct:VCR::Response
224
- status: !ruby/struct:VCR::ResponseStatus
225
- code: 201
226
- message: Created
227
- headers:
228
- location:
229
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-3-1287167046
230
- connection:
231
- - close
232
- content-type:
233
- - application/xml; charset=utf-8
234
- x-runtime:
235
- - "588"
236
- date:
237
- - Tue, 19 Oct 2010 05:20:57 GMT
238
- server:
239
- - nginx/0.7.65
240
- content-length:
241
- - "591"
242
- set-cookie:
243
- - account_credentials=54bf6c7882f2ecaacbf8c0e6deb19078e7dad6022571e3b75bf5a2c63ad7128df02ef343197d71cf6347292862147c857201fbb1583f99430f66400acfebd5ff%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
244
- - ""
245
- - _recurly_session=f93ea2616f7a987ae95fa27215a86f53; domain=.recurly.com; path=/; Secure; HttpOnly
246
- cache-control:
247
- - no-cache
248
- body: |
249
- <?xml version="1.0" encoding="UTF-8"?>
250
- <account>
251
- <id>account-list-num-3-1287167046</id>
252
- <account_code>account-list-num-3-1287167046</account_code>
253
- <username></username>
254
- <email>verena@test.com</email>
255
- <first_name>Verena</first_name>
256
- <last_name>Test</last_name>
257
- <company_name>Recurly Ruby Gem</company_name>
258
- <balance_in_cents type="integer">0</balance_in_cents>
259
- <closed type="boolean">false</closed>
260
- <hosted_login_token>a02b34b1ea674cf8988a024cae8768f9</hosted_login_token>
261
- <created_at type="datetime">2010-10-19T05:20:57Z</created_at>
262
- <state>active</state>
263
- </account>
264
-
265
- http_version: "1.1"
266
- - !ruby/struct:VCR::HTTPInteraction
267
- request: !ruby/struct:VCR::Request
268
- method: :post
269
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
270
- body: |
271
- <?xml version="1.0" encoding="UTF-8"?>
272
- <account>
273
- <company-name>Recurly Ruby Gem</company-name>
274
- <account-code>account-list-num-4-1287167046</account-code>
275
- <last-name>Test</last-name>
276
- <email>verena@test.com</email>
277
- <first-name>Verena</first-name>
278
- </account>
279
-
280
- headers:
281
- accept:
282
- - "*/*"
283
- connection:
284
- - close
285
- content-type:
286
- - application/xml
287
- authorization:
288
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
289
- response: !ruby/struct:VCR::Response
290
- status: !ruby/struct:VCR::ResponseStatus
291
- code: 201
292
- message: Created
293
- headers:
294
- location:
295
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-4-1287167046
296
- connection:
297
- - close
298
- content-type:
299
- - application/xml; charset=utf-8
300
- x-runtime:
301
- - "626"
302
- date:
303
- - Tue, 19 Oct 2010 05:20:58 GMT
304
- server:
305
- - nginx/0.7.65
306
- content-length:
307
- - "591"
308
- set-cookie:
309
- - account_credentials=a9d148ccf1c38db932499a86900907f36c31bd67b6c132c3d1fff7666bb310a8e5b32c12218771eb190ba0055325f60d9c9bfb41e6160be9d9fa5322676ce203%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
310
- - ""
311
- - _recurly_session=5704f4a69e335a7e200b3bd077be89ec; domain=.recurly.com; path=/; Secure; HttpOnly
312
- cache-control:
313
- - no-cache
314
- body: |
315
- <?xml version="1.0" encoding="UTF-8"?>
316
- <account>
317
- <id>account-list-num-4-1287167046</id>
318
- <account_code>account-list-num-4-1287167046</account_code>
319
- <username></username>
320
- <email>verena@test.com</email>
321
- <first_name>Verena</first_name>
322
- <last_name>Test</last_name>
323
- <company_name>Recurly Ruby Gem</company_name>
324
- <balance_in_cents type="integer">0</balance_in_cents>
325
- <closed type="boolean">false</closed>
326
- <hosted_login_token>5d5502c8ed6e4863ac6a3a3516c1bfb1</hosted_login_token>
327
- <created_at type="datetime">2010-10-19T05:20:58Z</created_at>
328
- <state>active</state>
329
- </account>
330
-
331
- http_version: "1.1"
332
- - !ruby/struct:VCR::HTTPInteraction
333
- request: !ruby/struct:VCR::Request
334
- method: :post
335
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
336
- body: |
337
- <?xml version="1.0" encoding="UTF-8"?>
338
- <account>
339
- <company-name>Recurly Ruby Gem</company-name>
340
- <account-code>account-list-num-5-1287167046</account-code>
341
- <last-name>Test</last-name>
342
- <email>verena@test.com</email>
343
- <first-name>Verena</first-name>
344
- </account>
345
-
346
- headers:
347
- accept:
348
- - "*/*"
349
- connection:
350
- - close
351
- content-type:
352
- - application/xml
353
- authorization:
354
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
355
- response: !ruby/struct:VCR::Response
356
- status: !ruby/struct:VCR::ResponseStatus
357
- code: 201
358
- message: Created
359
- headers:
360
- location:
361
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-5-1287167046
362
- connection:
363
- - close
364
- content-type:
365
- - application/xml; charset=utf-8
366
- x-runtime:
367
- - "588"
368
- date:
369
- - Tue, 19 Oct 2010 05:21:00 GMT
370
- server:
371
- - nginx/0.7.65
372
- content-length:
373
- - "591"
374
- set-cookie:
375
- - account_credentials=c010a244b882ea30be859965742e169290530c1f260e450167406b2fa3b4d3e141632650df21f0a4385a3a5c3eb3b97c9fddb8d78e0ca4d0e2cfc0b2f01aabdf%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
376
- - ""
377
- - _recurly_session=f6d342fc38f0ec26cc576bf322ff21ae; domain=.recurly.com; path=/; Secure; HttpOnly
378
- cache-control:
379
- - no-cache
380
- body: |
381
- <?xml version="1.0" encoding="UTF-8"?>
382
- <account>
383
- <id>account-list-num-5-1287167046</id>
384
- <account_code>account-list-num-5-1287167046</account_code>
385
- <username></username>
386
- <email>verena@test.com</email>
387
- <first_name>Verena</first_name>
388
- <last_name>Test</last_name>
389
- <company_name>Recurly Ruby Gem</company_name>
390
- <balance_in_cents type="integer">0</balance_in_cents>
391
- <closed type="boolean">false</closed>
392
- <hosted_login_token>03c68a5afca543e3a8ff89a976a6d9cc</hosted_login_token>
393
- <created_at type="datetime">2010-10-19T05:21:00Z</created_at>
394
- <state>active</state>
395
- </account>
396
-
397
- http_version: "1.1"
398
- - !ruby/struct:VCR::HTTPInteraction
399
- request: !ruby/struct:VCR::Request
400
- method: :post
401
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
402
- body: |
403
- <?xml version="1.0" encoding="UTF-8"?>
404
- <account>
405
- <company-name>Recurly Ruby Gem</company-name>
406
- <account-code>account-list-num-6-1287167046</account-code>
407
- <last-name>Test</last-name>
408
- <email>verena@test.com</email>
409
- <first-name>Verena</first-name>
410
- </account>
411
-
412
- headers:
413
- accept:
414
- - "*/*"
415
- connection:
416
- - close
417
- content-type:
418
- - application/xml
419
- authorization:
420
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
421
- response: !ruby/struct:VCR::Response
422
- status: !ruby/struct:VCR::ResponseStatus
423
- code: 201
424
- message: Created
425
- headers:
426
- location:
427
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-6-1287167046
428
- connection:
429
- - close
430
- content-type:
431
- - application/xml; charset=utf-8
432
- x-runtime:
433
- - "585"
434
- date:
435
- - Tue, 19 Oct 2010 05:21:01 GMT
436
- server:
437
- - nginx/0.7.65
438
- content-length:
439
- - "591"
440
- set-cookie:
441
- - account_credentials=5d660ce2369f79db4a2c2eacf9267db779a39cd3c374b9b45868497b970155d6f2a5874b481813a57b75d3f41e9f91d8e971fca80c5e6b73b917a4d4f2eb4bc1%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
442
- - ""
443
- - _recurly_session=a9e6041ff205d6cb70f953c5f2af36a8; domain=.recurly.com; path=/; Secure; HttpOnly
444
- cache-control:
445
- - no-cache
446
- body: |
447
- <?xml version="1.0" encoding="UTF-8"?>
448
- <account>
449
- <id>account-list-num-6-1287167046</id>
450
- <account_code>account-list-num-6-1287167046</account_code>
451
- <username></username>
452
- <email>verena@test.com</email>
453
- <first_name>Verena</first_name>
454
- <last_name>Test</last_name>
455
- <company_name>Recurly Ruby Gem</company_name>
456
- <balance_in_cents type="integer">0</balance_in_cents>
457
- <closed type="boolean">false</closed>
458
- <hosted_login_token>f1e23cf21d2845799d1eafaf69e33a2b</hosted_login_token>
459
- <created_at type="datetime">2010-10-19T05:21:01Z</created_at>
460
- <state>active</state>
461
- </account>
462
-
463
- http_version: "1.1"
464
- - !ruby/struct:VCR::HTTPInteraction
465
- request: !ruby/struct:VCR::Request
466
- method: :post
467
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
468
- body: |
469
- <?xml version="1.0" encoding="UTF-8"?>
470
- <account>
471
- <company-name>Recurly Ruby Gem</company-name>
472
- <account-code>account-list-num-7-1287167046</account-code>
473
- <last-name>Test</last-name>
474
- <email>verena@test.com</email>
475
- <first-name>Verena</first-name>
476
- </account>
477
-
478
- headers:
479
- accept:
480
- - "*/*"
481
- connection:
482
- - close
483
- content-type:
484
- - application/xml
485
- authorization:
486
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
487
- response: !ruby/struct:VCR::Response
488
- status: !ruby/struct:VCR::ResponseStatus
489
- code: 201
490
- message: Created
491
- headers:
492
- location:
493
- - https://recurlytest3-test.recurly.com/accounts/account-list-num-7-1287167046
494
- connection:
495
- - close
496
- content-type:
497
- - application/xml; charset=utf-8
498
- x-runtime:
499
- - "627"
500
- date:
501
- - Tue, 19 Oct 2010 05:21:02 GMT
502
- server:
503
- - nginx/0.7.65
504
- content-length:
505
- - "591"
506
- set-cookie:
507
- - account_credentials=09a6525b6c53e69b456be47cbad63e26c938895f8de140ebb8585dbb5b5d9e1d169fee122043b0239fe816c956423e540d69a5dbac6c0d40a4bf7534eff7a790%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
508
- - ""
509
- - _recurly_session=a6de375804094f10b3677cd6238bdd62; domain=.recurly.com; path=/; Secure; HttpOnly
510
- cache-control:
511
- - no-cache
512
- body: |
513
- <?xml version="1.0" encoding="UTF-8"?>
514
- <account>
515
- <id>account-list-num-7-1287167046</id>
516
- <account_code>account-list-num-7-1287167046</account_code>
517
- <username></username>
518
- <email>verena@test.com</email>
519
- <first_name>Verena</first_name>
520
- <last_name>Test</last_name>
521
- <company_name>Recurly Ruby Gem</company_name>
522
- <balance_in_cents type="integer">0</balance_in_cents>
523
- <closed type="boolean">false</closed>
524
- <hosted_login_token>1490bf1a7f784f3db01021131a76c006</hosted_login_token>
525
- <created_at type="datetime">2010-10-19T05:21:02Z</created_at>
526
- <state>active</state>
527
- </account>
528
-
529
- http_version: "1.1"
530
- - !ruby/struct:VCR::HTTPInteraction
531
- request: !ruby/struct:VCR::Request
532
- method: :get
533
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
534
- body:
535
- headers:
536
- accept:
537
- - application/xml
538
- connection:
539
- - close
540
- authorization:
541
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
542
- response: !ruby/struct:VCR::Response
543
- status: !ruby/struct:VCR::ResponseStatus
544
- code: 200
545
- message: OK
546
- headers:
547
- x-ua-compatible:
548
- - IE=Edge
549
- etag:
550
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
551
- connection:
552
- - close
553
- content-type:
554
- - application/xml; charset=utf-8
555
- x-runtime:
556
- - "14"
557
- date:
558
- - Tue, 19 Oct 2010 05:21:03 GMT
559
- server:
560
- - nginx/0.7.65
561
- content-length:
562
- - "1150"
563
- set-cookie:
564
- - _recurly_session=58a177bb1913df1fba07cca837bfd2b2; domain=.recurly.com; path=/; Secure; HttpOnly
565
- cache-control:
566
- - private, max-age=0, must-revalidate
567
- body: |
568
- <?xml version="1.0" encoding="UTF-8"?>
569
- <plan>
570
- <plan_code>paid</plan_code>
571
- <name>Paid</name>
572
- <description></description>
573
- <success_url></success_url>
574
- <cancel_url></cancel_url>
575
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
576
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
577
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
578
- <plan_interval_length type="integer">1</plan_interval_length>
579
- <plan_interval_unit>months</plan_interval_unit>
580
- <trial_interval_length type="integer">0</trial_interval_length>
581
- <trial_interval_unit>months</trial_interval_unit>
582
- <latest_version depreciated="true">
583
- <version type="integer">1</version>
584
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
585
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
586
- <plan_interval_length type="integer">1</plan_interval_length>
587
- <plan_interval_unit>months</plan_interval_unit>
588
- <trial_interval_length type="integer">0</trial_interval_length>
589
- <trial_interval_unit>months</trial_interval_unit>
590
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
591
- </latest_version>
592
- </plan>
593
-
594
- http_version: "1.1"
595
- - !ruby/struct:VCR::HTTPInteraction
596
- request: !ruby/struct:VCR::Request
597
- method: :post
598
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-0-1287167046/subscription.xml
599
- body: |
600
- <?xml version="1.0" encoding="UTF-8"?>
601
- <subscription>
602
- <quantity type="integer">1</quantity>
603
- <plan-code>paid</plan-code>
604
- <account>
605
- <created-at type="datetime">2010-10-19T05:20:53Z</created-at>
606
- <hosted-login-token>084d2581288241fe903bba2f6f10200b</hosted-login-token>
607
- <company-name>Recurly Ruby Gem</company-name>
608
- <account-code>account-list-num-0-1287167046</account-code>
609
- <closed type="boolean">false</closed>
610
- <username type="yaml" nil="true"></username>
611
- <id>account-list-num-0-1287167046</id>
612
- <last-name>Test</last-name>
613
- <billing-info>
614
- <city>San Francisco</city>
615
- <address1>123 Test St</address1>
616
- <zip>94115</zip>
617
- <country>US</country>
618
- <credit-card>
619
- <number>1</number>
620
- <month type="integer">10</month>
621
- <year type="integer">2011</year>
622
- <verification-value>123</verification-value>
623
- </credit-card>
624
- <last-name>Test</last-name>
625
- <first-name>Verena</first-name>
626
- <state>CA</state>
627
- </billing-info>
628
- <balance-in-cents type="integer">0</balance-in-cents>
629
- <state>active</state>
630
- <email>verena@test.com</email>
631
- <first-name>Verena</first-name>
632
- </account>
633
- </subscription>
634
-
635
- headers:
636
- accept:
637
- - "*/*"
638
- connection:
639
- - close
640
- content-type:
641
- - application/xml
642
- authorization:
643
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
644
- response: !ruby/struct:VCR::Response
645
- status: !ruby/struct:VCR::ResponseStatus
646
- code: 201
647
- message: Created
648
- headers:
649
- connection:
650
- - close
651
- content-type:
652
- - application/xml; charset=utf-8
653
- x-runtime:
654
- - "590"
655
- date:
656
- - Tue, 19 Oct 2010 05:21:05 GMT
657
- server:
658
- - nginx/0.7.65
659
- content-length:
660
- - "868"
661
- set-cookie:
662
- - _recurly_session=1fe5dc337627620ebeff9f418e6408de; domain=.recurly.com; path=/; Secure; HttpOnly
663
- cache-control:
664
- - no-cache
665
- body: |
666
- <?xml version="1.0" encoding="UTF-8"?>
667
- <subscription>
668
- <id>account-list-num-0-1287167046</id>
669
- <account_code>account-list-num-0-1287167046</account_code>
670
- <plan>
671
- <plan_code>paid</plan_code>
672
- <name>Paid</name>
673
- </plan>
674
- <state>active</state>
675
- <quantity type="integer">1</quantity>
676
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
677
- <activated_at type="datetime">2010-10-19T05:21:05Z</activated_at>
678
- <canceled_at nil="true" type="datetime"></canceled_at>
679
- <expires_at nil="true" type="datetime"></expires_at>
680
- <current_period_started_at type="datetime">2010-10-19T05:21:05Z</current_period_started_at>
681
- <current_period_ends_at type="datetime">2010-11-19T05:21:05Z</current_period_ends_at>
682
- <trial_started_at nil="true" type="datetime"></trial_started_at>
683
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
684
- </subscription>
685
-
686
- http_version: "1.1"
687
- - !ruby/struct:VCR::HTTPInteraction
688
- request: !ruby/struct:VCR::Request
689
- method: :get
690
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
691
- body:
692
- headers:
693
- accept:
694
- - application/xml
695
- connection:
696
- - close
697
- authorization:
698
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
699
- response: !ruby/struct:VCR::Response
700
- status: !ruby/struct:VCR::ResponseStatus
701
- code: 200
702
- message: OK
703
- headers:
704
- x-ua-compatible:
705
- - IE=Edge
706
- etag:
707
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
708
- connection:
709
- - close
710
- content-type:
711
- - application/xml; charset=utf-8
712
- x-runtime:
713
- - "21"
714
- date:
715
- - Tue, 19 Oct 2010 05:21:06 GMT
716
- server:
717
- - nginx/0.7.65
718
- content-length:
719
- - "1150"
720
- set-cookie:
721
- - _recurly_session=1f21fb787558df531b9a9c8efc714054; domain=.recurly.com; path=/; Secure; HttpOnly
722
- cache-control:
723
- - private, max-age=0, must-revalidate
724
- body: |
725
- <?xml version="1.0" encoding="UTF-8"?>
726
- <plan>
727
- <plan_code>paid</plan_code>
728
- <name>Paid</name>
729
- <description></description>
730
- <success_url></success_url>
731
- <cancel_url></cancel_url>
732
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
733
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
734
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
735
- <plan_interval_length type="integer">1</plan_interval_length>
736
- <plan_interval_unit>months</plan_interval_unit>
737
- <trial_interval_length type="integer">0</trial_interval_length>
738
- <trial_interval_unit>months</trial_interval_unit>
739
- <latest_version depreciated="true">
740
- <version type="integer">1</version>
741
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
742
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
743
- <plan_interval_length type="integer">1</plan_interval_length>
744
- <plan_interval_unit>months</plan_interval_unit>
745
- <trial_interval_length type="integer">0</trial_interval_length>
746
- <trial_interval_unit>months</trial_interval_unit>
747
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
748
- </latest_version>
749
- </plan>
750
-
751
- http_version: "1.1"
752
- - !ruby/struct:VCR::HTTPInteraction
753
- request: !ruby/struct:VCR::Request
754
- method: :post
755
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-1-1287167046/subscription.xml
756
- body: |
757
- <?xml version="1.0" encoding="UTF-8"?>
758
- <subscription>
759
- <quantity type="integer">1</quantity>
760
- <plan-code>paid</plan-code>
761
- <account>
762
- <created-at type="datetime">2010-10-19T05:20:54Z</created-at>
763
- <hosted-login-token>150204bb79ee4da0950874f684a7c2b6</hosted-login-token>
764
- <company-name>Recurly Ruby Gem</company-name>
765
- <account-code>account-list-num-1-1287167046</account-code>
766
- <closed type="boolean">false</closed>
767
- <username type="yaml" nil="true"></username>
768
- <id>account-list-num-1-1287167046</id>
769
- <last-name>Test</last-name>
770
- <billing-info>
771
- <city>San Francisco</city>
772
- <address1>123 Test St</address1>
773
- <zip>94115</zip>
774
- <country>US</country>
775
- <credit-card>
776
- <number>1</number>
777
- <month type="integer">10</month>
778
- <year type="integer">2011</year>
779
- <verification-value>123</verification-value>
780
- </credit-card>
781
- <last-name>Test</last-name>
782
- <first-name>Verena</first-name>
783
- <state>CA</state>
784
- </billing-info>
785
- <balance-in-cents type="integer">0</balance-in-cents>
786
- <state>active</state>
787
- <email>verena@test.com</email>
788
- <first-name>Verena</first-name>
789
- </account>
790
- </subscription>
791
-
792
- headers:
793
- accept:
794
- - "*/*"
795
- connection:
796
- - close
797
- content-type:
798
- - application/xml
799
- authorization:
800
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
801
- response: !ruby/struct:VCR::Response
802
- status: !ruby/struct:VCR::ResponseStatus
803
- code: 201
804
- message: Created
805
- headers:
806
- connection:
807
- - close
808
- content-type:
809
- - application/xml; charset=utf-8
810
- x-runtime:
811
- - "516"
812
- date:
813
- - Tue, 19 Oct 2010 05:21:07 GMT
814
- server:
815
- - nginx/0.7.65
816
- content-length:
817
- - "868"
818
- set-cookie:
819
- - _recurly_session=bc969f5cafdb8123bb6af1e71becc827; domain=.recurly.com; path=/; Secure; HttpOnly
820
- cache-control:
821
- - no-cache
822
- body: |
823
- <?xml version="1.0" encoding="UTF-8"?>
824
- <subscription>
825
- <id>account-list-num-1-1287167046</id>
826
- <account_code>account-list-num-1-1287167046</account_code>
827
- <plan>
828
- <plan_code>paid</plan_code>
829
- <name>Paid</name>
830
- </plan>
831
- <state>active</state>
832
- <quantity type="integer">1</quantity>
833
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
834
- <activated_at type="datetime">2010-10-19T05:21:06Z</activated_at>
835
- <canceled_at nil="true" type="datetime"></canceled_at>
836
- <expires_at nil="true" type="datetime"></expires_at>
837
- <current_period_started_at type="datetime">2010-10-19T05:21:06Z</current_period_started_at>
838
- <current_period_ends_at type="datetime">2010-11-19T05:21:06Z</current_period_ends_at>
839
- <trial_started_at nil="true" type="datetime"></trial_started_at>
840
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
841
- </subscription>
842
-
843
- http_version: "1.1"
844
- - !ruby/struct:VCR::HTTPInteraction
845
- request: !ruby/struct:VCR::Request
846
- method: :get
847
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
848
- body:
849
- headers:
850
- accept:
851
- - application/xml
852
- connection:
853
- - close
854
- authorization:
855
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
856
- response: !ruby/struct:VCR::Response
857
- status: !ruby/struct:VCR::ResponseStatus
858
- code: 200
859
- message: OK
860
- headers:
861
- x-ua-compatible:
862
- - IE=Edge
863
- etag:
864
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
865
- connection:
866
- - close
867
- content-type:
868
- - application/xml; charset=utf-8
869
- x-runtime:
870
- - "180"
871
- date:
872
- - Tue, 19 Oct 2010 05:21:07 GMT
873
- server:
874
- - nginx/0.7.65
875
- content-length:
876
- - "1150"
877
- set-cookie:
878
- - _recurly_session=caf9253170866edec3dbd540acc7ecc0; domain=.recurly.com; path=/; Secure; HttpOnly
879
- cache-control:
880
- - private, max-age=0, must-revalidate
881
- body: |
882
- <?xml version="1.0" encoding="UTF-8"?>
883
- <plan>
884
- <plan_code>paid</plan_code>
885
- <name>Paid</name>
886
- <description></description>
887
- <success_url></success_url>
888
- <cancel_url></cancel_url>
889
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
890
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
891
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
892
- <plan_interval_length type="integer">1</plan_interval_length>
893
- <plan_interval_unit>months</plan_interval_unit>
894
- <trial_interval_length type="integer">0</trial_interval_length>
895
- <trial_interval_unit>months</trial_interval_unit>
896
- <latest_version depreciated="true">
897
- <version type="integer">1</version>
898
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
899
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
900
- <plan_interval_length type="integer">1</plan_interval_length>
901
- <plan_interval_unit>months</plan_interval_unit>
902
- <trial_interval_length type="integer">0</trial_interval_length>
903
- <trial_interval_unit>months</trial_interval_unit>
904
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
905
- </latest_version>
906
- </plan>
907
-
908
- http_version: "1.1"
909
- - !ruby/struct:VCR::HTTPInteraction
910
- request: !ruby/struct:VCR::Request
911
- method: :post
912
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-2-1287167046/subscription.xml
913
- body: |
914
- <?xml version="1.0" encoding="UTF-8"?>
915
- <subscription>
916
- <quantity type="integer">1</quantity>
917
- <plan-code>paid</plan-code>
918
- <account>
919
- <created-at type="datetime">2010-10-19T05:20:56Z</created-at>
920
- <hosted-login-token>fdd7c74c66bb4afea122923ddec63897</hosted-login-token>
921
- <company-name>Recurly Ruby Gem</company-name>
922
- <account-code>account-list-num-2-1287167046</account-code>
923
- <closed type="boolean">false</closed>
924
- <username type="yaml" nil="true"></username>
925
- <id>account-list-num-2-1287167046</id>
926
- <last-name>Test</last-name>
927
- <billing-info>
928
- <city>San Francisco</city>
929
- <address1>123 Test St</address1>
930
- <zip>94115</zip>
931
- <country>US</country>
932
- <credit-card>
933
- <number>1</number>
934
- <month type="integer">10</month>
935
- <year type="integer">2011</year>
936
- <verification-value>123</verification-value>
937
- </credit-card>
938
- <last-name>Test</last-name>
939
- <first-name>Verena</first-name>
940
- <state>CA</state>
941
- </billing-info>
942
- <balance-in-cents type="integer">0</balance-in-cents>
943
- <state>active</state>
944
- <email>verena@test.com</email>
945
- <first-name>Verena</first-name>
946
- </account>
947
- </subscription>
948
-
949
- headers:
950
- accept:
951
- - "*/*"
952
- connection:
953
- - close
954
- content-type:
955
- - application/xml
956
- authorization:
957
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
958
- response: !ruby/struct:VCR::Response
959
- status: !ruby/struct:VCR::ResponseStatus
960
- code: 201
961
- message: Created
962
- headers:
963
- connection:
964
- - close
965
- content-type:
966
- - application/xml; charset=utf-8
967
- x-runtime:
968
- - "633"
969
- date:
970
- - Tue, 19 Oct 2010 05:21:09 GMT
971
- server:
972
- - nginx/0.7.65
973
- content-length:
974
- - "868"
975
- set-cookie:
976
- - _recurly_session=ee881b274fb1b686690ee36bc1b7d57c; domain=.recurly.com; path=/; Secure; HttpOnly
977
- cache-control:
978
- - no-cache
979
- body: |
980
- <?xml version="1.0" encoding="UTF-8"?>
981
- <subscription>
982
- <id>account-list-num-2-1287167046</id>
983
- <account_code>account-list-num-2-1287167046</account_code>
984
- <plan>
985
- <plan_code>paid</plan_code>
986
- <name>Paid</name>
987
- </plan>
988
- <state>active</state>
989
- <quantity type="integer">1</quantity>
990
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
991
- <activated_at type="datetime">2010-10-19T05:21:08Z</activated_at>
992
- <canceled_at nil="true" type="datetime"></canceled_at>
993
- <expires_at nil="true" type="datetime"></expires_at>
994
- <current_period_started_at type="datetime">2010-10-19T05:21:08Z</current_period_started_at>
995
- <current_period_ends_at type="datetime">2010-11-19T05:21:08Z</current_period_ends_at>
996
- <trial_started_at nil="true" type="datetime"></trial_started_at>
997
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
998
- </subscription>
999
-
1000
- http_version: "1.1"
1001
- - !ruby/struct:VCR::HTTPInteraction
1002
- request: !ruby/struct:VCR::Request
1003
- method: :get
1004
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/company/plans/paid.xml
1005
- body:
1006
- headers:
1007
- accept:
1008
- - application/xml
1009
- connection:
1010
- - close
1011
- authorization:
1012
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1013
- response: !ruby/struct:VCR::Response
1014
- status: !ruby/struct:VCR::ResponseStatus
1015
- code: 200
1016
- message: OK
1017
- headers:
1018
- x-ua-compatible:
1019
- - IE=Edge
1020
- etag:
1021
- - "\"31910d9b30fecc5e62f25a1ce00278e0\""
1022
- connection:
1023
- - close
1024
- content-type:
1025
- - application/xml; charset=utf-8
1026
- x-runtime:
1027
- - "13"
1028
- date:
1029
- - Tue, 19 Oct 2010 05:21:09 GMT
1030
- server:
1031
- - nginx/0.7.65
1032
- content-length:
1033
- - "1150"
1034
- set-cookie:
1035
- - _recurly_session=bc05f33ad2ad65dd98b65b3a05f71959; domain=.recurly.com; path=/; Secure; HttpOnly
1036
- cache-control:
1037
- - private, max-age=0, must-revalidate
1038
- body: |
1039
- <?xml version="1.0" encoding="UTF-8"?>
1040
- <plan>
1041
- <plan_code>paid</plan_code>
1042
- <name>Paid</name>
1043
- <description></description>
1044
- <success_url></success_url>
1045
- <cancel_url></cancel_url>
1046
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
1047
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
1048
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
1049
- <plan_interval_length type="integer">1</plan_interval_length>
1050
- <plan_interval_unit>months</plan_interval_unit>
1051
- <trial_interval_length type="integer">0</trial_interval_length>
1052
- <trial_interval_unit>months</trial_interval_unit>
1053
- <latest_version depreciated="true">
1054
- <version type="integer">1</version>
1055
- <unit_amount_in_cents type="integer">1000</unit_amount_in_cents>
1056
- <setup_fee_in_cents type="integer">0</setup_fee_in_cents>
1057
- <plan_interval_length type="integer">1</plan_interval_length>
1058
- <plan_interval_unit>months</plan_interval_unit>
1059
- <trial_interval_length type="integer">0</trial_interval_length>
1060
- <trial_interval_unit>months</trial_interval_unit>
1061
- <created_at type="datetime">2010-09-19T00:56:05Z</created_at>
1062
- </latest_version>
1063
- </plan>
1064
-
1065
- http_version: "1.1"
1066
- - !ruby/struct:VCR::HTTPInteraction
1067
- request: !ruby/struct:VCR::Request
1068
- method: :post
1069
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/account-list-num-3-1287167046/subscription.xml
1070
- body: |
1071
- <?xml version="1.0" encoding="UTF-8"?>
1072
- <subscription>
1073
- <quantity type="integer">1</quantity>
1074
- <plan-code>paid</plan-code>
1075
- <account>
1076
- <created-at type="datetime">2010-10-19T05:20:57Z</created-at>
1077
- <hosted-login-token>a02b34b1ea674cf8988a024cae8768f9</hosted-login-token>
1078
- <company-name>Recurly Ruby Gem</company-name>
1079
- <account-code>account-list-num-3-1287167046</account-code>
1080
- <closed type="boolean">false</closed>
1081
- <username type="yaml" nil="true"></username>
1082
- <id>account-list-num-3-1287167046</id>
1083
- <last-name>Test</last-name>
1084
- <billing-info>
1085
- <city>San Francisco</city>
1086
- <address1>123 Test St</address1>
1087
- <zip>94115</zip>
1088
- <country>US</country>
1089
- <credit-card>
1090
- <number>1</number>
1091
- <month type="integer">10</month>
1092
- <year type="integer">2011</year>
1093
- <verification-value>123</verification-value>
1094
- </credit-card>
1095
- <last-name>Test</last-name>
1096
- <first-name>Verena</first-name>
1097
- <state>CA</state>
1098
- </billing-info>
1099
- <balance-in-cents type="integer">0</balance-in-cents>
1100
- <state>active</state>
1101
- <email>verena@test.com</email>
1102
- <first-name>Verena</first-name>
1103
- </account>
1104
- </subscription>
1105
-
1106
- headers:
1107
- accept:
1108
- - "*/*"
1109
- connection:
1110
- - close
1111
- content-type:
1112
- - application/xml
1113
- authorization:
1114
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1115
- response: !ruby/struct:VCR::Response
1116
- status: !ruby/struct:VCR::ResponseStatus
1117
- code: 201
1118
- message: Created
1119
- headers:
1120
- connection:
1121
- - close
1122
- content-type:
1123
- - application/xml; charset=utf-8
1124
- x-runtime:
1125
- - "553"
1126
- date:
1127
- - Tue, 19 Oct 2010 05:21:10 GMT
1128
- server:
1129
- - nginx/0.7.65
1130
- content-length:
1131
- - "868"
1132
- set-cookie:
1133
- - _recurly_session=749ad52ece6145dfbe742543197dcb83; domain=.recurly.com; path=/; Secure; HttpOnly
1134
- cache-control:
1135
- - no-cache
1136
- body: |
1137
- <?xml version="1.0" encoding="UTF-8"?>
1138
- <subscription>
1139
- <id>account-list-num-3-1287167046</id>
1140
- <account_code>account-list-num-3-1287167046</account_code>
1141
- <plan>
1142
- <plan_code>paid</plan_code>
1143
- <name>Paid</name>
1144
- </plan>
1145
- <state>active</state>
1146
- <quantity type="integer">1</quantity>
1147
- <total_amount_in_cents type="integer">1000</total_amount_in_cents>
1148
- <activated_at type="datetime">2010-10-19T05:21:10Z</activated_at>
1149
- <canceled_at nil="true" type="datetime"></canceled_at>
1150
- <expires_at nil="true" type="datetime"></expires_at>
1151
- <current_period_started_at type="datetime">2010-10-19T05:21:10Z</current_period_started_at>
1152
- <current_period_ends_at type="datetime">2010-11-19T05:21:10Z</current_period_ends_at>
1153
- <trial_started_at nil="true" type="datetime"></trial_started_at>
1154
- <trial_ends_at nil="true" type="datetime"></trial_ends_at>
1155
- </subscription>
1156
-
1157
- http_version: "1.1"
1158
- - !ruby/struct:VCR::HTTPInteraction
1159
- request: !ruby/struct:VCR::Request
1160
- method: :get
1161
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
1162
- body:
1163
- headers:
1164
- accept:
1165
- - application/xml
1166
- connection:
1167
- - close
1168
- authorization:
1169
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1170
- response: !ruby/struct:VCR::Response
1171
- status: !ruby/struct:VCR::ResponseStatus
1172
- code: 200
1173
- message: OK
1174
- headers:
1175
- x-ua-compatible:
1176
- - IE=Edge
1177
- etag:
1178
- - "\"f7ad2779362827ff415771d38fee7e0b\""
1179
- connection:
1180
- - close
1181
- content-type:
1182
- - application/xml; charset=utf-8
1183
- x-runtime:
1184
- - "45"
1185
- date:
1186
- - Tue, 19 Oct 2010 05:21:11 GMT
1187
- server:
1188
- - nginx/0.7.65
1189
- content-length:
1190
- - "3459"
1191
- set-cookie:
1192
- - _recurly_session=b8b993a88178c6975271c757a77506e6; domain=.recurly.com; path=/; Secure; HttpOnly
1193
- cache-control:
1194
- - private, max-age=0, must-revalidate
1195
- body: |
1196
- <?xml version="1.0" encoding="UTF-8"?>
1197
- <accounts type="collection">
1198
- <current_page type="integer">1</current_page>
1199
- <per_page type="integer">10</per_page>
1200
- <total_entries type="integer">11</total_entries>
1201
- <account>
1202
- <account_code>account-create-1287167046</account_code>
1203
- <username></username>
1204
- <email>verena@test.com</email>
1205
- <first_name>Verena</first_name>
1206
- <last_name>Test</last_name>
1207
- <company_name>Recurly Ruby Gem</company_name>
1208
- <balance_in_cents type="integer">0</balance_in_cents>
1209
- </account>
1210
- <account>
1211
- <account_code>account-get-1287167046</account_code>
1212
- <username></username>
1213
- <email>verena@test.com</email>
1214
- <first_name>Verena</first_name>
1215
- <last_name>Test</last_name>
1216
- <company_name>Recurly Ruby Gem</company_name>
1217
- <balance_in_cents type="integer">0</balance_in_cents>
1218
- </account>
1219
- <account>
1220
- <account_code>account-list-num-0-1287167046</account_code>
1221
- <username></username>
1222
- <email>verena@test.com</email>
1223
- <first_name>Verena</first_name>
1224
- <last_name>Test</last_name>
1225
- <company_name>Recurly Ruby Gem</company_name>
1226
- <balance_in_cents type="integer">0</balance_in_cents>
1227
- </account>
1228
- <account>
1229
- <account_code>account-list-num-1-1287167046</account_code>
1230
- <username></username>
1231
- <email>verena@test.com</email>
1232
- <first_name>Verena</first_name>
1233
- <last_name>Test</last_name>
1234
- <company_name>Recurly Ruby Gem</company_name>
1235
- <balance_in_cents type="integer">0</balance_in_cents>
1236
- </account>
1237
- <account>
1238
- <account_code>account-list-num-2-1287167046</account_code>
1239
- <username></username>
1240
- <email>verena@test.com</email>
1241
- <first_name>Verena</first_name>
1242
- <last_name>Test</last_name>
1243
- <company_name>Recurly Ruby Gem</company_name>
1244
- <balance_in_cents type="integer">0</balance_in_cents>
1245
- </account>
1246
- <account>
1247
- <account_code>account-list-num-3-1287167046</account_code>
1248
- <username></username>
1249
- <email>verena@test.com</email>
1250
- <first_name>Verena</first_name>
1251
- <last_name>Test</last_name>
1252
- <company_name>Recurly Ruby Gem</company_name>
1253
- <balance_in_cents type="integer">0</balance_in_cents>
1254
- </account>
1255
- <account>
1256
- <account_code>account-list-num-4-1287167046</account_code>
1257
- <username></username>
1258
- <email>verena@test.com</email>
1259
- <first_name>Verena</first_name>
1260
- <last_name>Test</last_name>
1261
- <company_name>Recurly Ruby Gem</company_name>
1262
- <balance_in_cents type="integer">0</balance_in_cents>
1263
- </account>
1264
- <account>
1265
- <account_code>account-list-num-5-1287167046</account_code>
1266
- <username></username>
1267
- <email>verena@test.com</email>
1268
- <first_name>Verena</first_name>
1269
- <last_name>Test</last_name>
1270
- <company_name>Recurly Ruby Gem</company_name>
1271
- <balance_in_cents type="integer">0</balance_in_cents>
1272
- </account>
1273
- <account>
1274
- <account_code>account-list-num-6-1287167046</account_code>
1275
- <username></username>
1276
- <email>verena@test.com</email>
1277
- <first_name>Verena</first_name>
1278
- <last_name>Test</last_name>
1279
- <company_name>Recurly Ruby Gem</company_name>
1280
- <balance_in_cents type="integer">0</balance_in_cents>
1281
- </account>
1282
- <account>
1283
- <account_code>account-list-num-7-1287167046</account_code>
1284
- <username></username>
1285
- <email>verena@test.com</email>
1286
- <first_name>Verena</first_name>
1287
- <last_name>Test</last_name>
1288
- <company_name>Recurly Ruby Gem</company_name>
1289
- <balance_in_cents type="integer">0</balance_in_cents>
1290
- </account>
1291
- </accounts>
1292
-
1293
- http_version: "1.1"
1294
- - !ruby/struct:VCR::HTTPInteraction
1295
- request: !ruby/struct:VCR::Request
1296
- method: :get
1297
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=paid
1298
- body:
1299
- headers:
1300
- accept:
1301
- - application/xml
1302
- connection:
1303
- - close
1304
- authorization:
1305
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1306
- response: !ruby/struct:VCR::Response
1307
- status: !ruby/struct:VCR::ResponseStatus
1308
- code: 200
1309
- message: OK
1310
- headers:
1311
- x-ua-compatible:
1312
- - IE=Edge
1313
- etag:
1314
- - "\"f7ad2779362827ff415771d38fee7e0b\""
1315
- connection:
1316
- - close
1317
- content-type:
1318
- - application/xml; charset=utf-8
1319
- x-runtime:
1320
- - "28"
1321
- date:
1322
- - Tue, 19 Oct 2010 05:21:11 GMT
1323
- server:
1324
- - nginx/0.7.65
1325
- content-length:
1326
- - "3459"
1327
- set-cookie:
1328
- - _recurly_session=c15ddbc945395fbf3031b71c49072ad5; domain=.recurly.com; path=/; Secure; HttpOnly
1329
- cache-control:
1330
- - private, max-age=0, must-revalidate
1331
- body: |
1332
- <?xml version="1.0" encoding="UTF-8"?>
1333
- <accounts type="collection">
1334
- <current_page type="integer">1</current_page>
1335
- <per_page type="integer">10</per_page>
1336
- <total_entries type="integer">11</total_entries>
1337
- <account>
1338
- <account_code>account-create-1287167046</account_code>
1339
- <username></username>
1340
- <email>verena@test.com</email>
1341
- <first_name>Verena</first_name>
1342
- <last_name>Test</last_name>
1343
- <company_name>Recurly Ruby Gem</company_name>
1344
- <balance_in_cents type="integer">0</balance_in_cents>
1345
- </account>
1346
- <account>
1347
- <account_code>account-get-1287167046</account_code>
1348
- <username></username>
1349
- <email>verena@test.com</email>
1350
- <first_name>Verena</first_name>
1351
- <last_name>Test</last_name>
1352
- <company_name>Recurly Ruby Gem</company_name>
1353
- <balance_in_cents type="integer">0</balance_in_cents>
1354
- </account>
1355
- <account>
1356
- <account_code>account-list-num-0-1287167046</account_code>
1357
- <username></username>
1358
- <email>verena@test.com</email>
1359
- <first_name>Verena</first_name>
1360
- <last_name>Test</last_name>
1361
- <company_name>Recurly Ruby Gem</company_name>
1362
- <balance_in_cents type="integer">0</balance_in_cents>
1363
- </account>
1364
- <account>
1365
- <account_code>account-list-num-1-1287167046</account_code>
1366
- <username></username>
1367
- <email>verena@test.com</email>
1368
- <first_name>Verena</first_name>
1369
- <last_name>Test</last_name>
1370
- <company_name>Recurly Ruby Gem</company_name>
1371
- <balance_in_cents type="integer">0</balance_in_cents>
1372
- </account>
1373
- <account>
1374
- <account_code>account-list-num-2-1287167046</account_code>
1375
- <username></username>
1376
- <email>verena@test.com</email>
1377
- <first_name>Verena</first_name>
1378
- <last_name>Test</last_name>
1379
- <company_name>Recurly Ruby Gem</company_name>
1380
- <balance_in_cents type="integer">0</balance_in_cents>
1381
- </account>
1382
- <account>
1383
- <account_code>account-list-num-3-1287167046</account_code>
1384
- <username></username>
1385
- <email>verena@test.com</email>
1386
- <first_name>Verena</first_name>
1387
- <last_name>Test</last_name>
1388
- <company_name>Recurly Ruby Gem</company_name>
1389
- <balance_in_cents type="integer">0</balance_in_cents>
1390
- </account>
1391
- <account>
1392
- <account_code>account-list-num-4-1287167046</account_code>
1393
- <username></username>
1394
- <email>verena@test.com</email>
1395
- <first_name>Verena</first_name>
1396
- <last_name>Test</last_name>
1397
- <company_name>Recurly Ruby Gem</company_name>
1398
- <balance_in_cents type="integer">0</balance_in_cents>
1399
- </account>
1400
- <account>
1401
- <account_code>account-list-num-5-1287167046</account_code>
1402
- <username></username>
1403
- <email>verena@test.com</email>
1404
- <first_name>Verena</first_name>
1405
- <last_name>Test</last_name>
1406
- <company_name>Recurly Ruby Gem</company_name>
1407
- <balance_in_cents type="integer">0</balance_in_cents>
1408
- </account>
1409
- <account>
1410
- <account_code>account-list-num-6-1287167046</account_code>
1411
- <username></username>
1412
- <email>verena@test.com</email>
1413
- <first_name>Verena</first_name>
1414
- <last_name>Test</last_name>
1415
- <company_name>Recurly Ruby Gem</company_name>
1416
- <balance_in_cents type="integer">0</balance_in_cents>
1417
- </account>
1418
- <account>
1419
- <account_code>account-list-num-7-1287167046</account_code>
1420
- <username></username>
1421
- <email>verena@test.com</email>
1422
- <first_name>Verena</first_name>
1423
- <last_name>Test</last_name>
1424
- <company_name>Recurly Ruby Gem</company_name>
1425
- <balance_in_cents type="integer">0</balance_in_cents>
1426
- </account>
1427
- </accounts>
1428
-
1429
- http_version: "1.1"
1430
- - !ruby/struct:VCR::HTTPInteraction
1431
- request: !ruby/struct:VCR::Request
1432
- method: :get
1433
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml?show=non_subscribers
1434
- body:
1435
- headers:
1436
- accept:
1437
- - application/xml
1438
- connection:
1439
- - close
1440
- authorization:
1441
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
1442
- response: !ruby/struct:VCR::Response
1443
- status: !ruby/struct:VCR::ResponseStatus
1444
- code: 200
1445
- message: OK
1446
- headers:
1447
- x-ua-compatible:
1448
- - IE=Edge
1449
- etag:
1450
- - "\"246f0d68f454469ccfd7a2ad0455b98a\""
1451
- connection:
1452
- - close
1453
- content-type:
1454
- - application/xml; charset=utf-8
1455
- x-runtime:
1456
- - "18"
1457
- date:
1458
- - Tue, 19 Oct 2010 05:21:12 GMT
1459
- server:
1460
- - nginx/0.7.65
1461
- content-length:
1462
- - "2428"
1463
- set-cookie:
1464
- - _recurly_session=c6dd8721d44a63d7d7e505a655497109; domain=.recurly.com; path=/; Secure; HttpOnly
1465
- cache-control:
1466
- - private, max-age=0, must-revalidate
1467
- body: |
1468
- <?xml version="1.0" encoding="UTF-8"?>
1469
- <accounts type="collection">
1470
- <current_page type="integer">1</current_page>
1471
- <per_page type="integer">10</per_page>
1472
- <total_entries type="integer">7</total_entries>
1473
- <account>
1474
- <account_code>account-create-1287167046</account_code>
1475
- <username></username>
1476
- <email>verena@test.com</email>
1477
- <first_name>Verena</first_name>
1478
- <last_name>Test</last_name>
1479
- <company_name>Recurly Ruby Gem</company_name>
1480
- <balance_in_cents type="integer">0</balance_in_cents>
1481
- </account>
1482
- <account>
1483
- <account_code>account-get-1287167046</account_code>
1484
- <username></username>
1485
- <email>verena@test.com</email>
1486
- <first_name>Verena</first_name>
1487
- <last_name>Test</last_name>
1488
- <company_name>Recurly Ruby Gem</company_name>
1489
- <balance_in_cents type="integer">0</balance_in_cents>
1490
- </account>
1491
- <account>
1492
- <account_code>account-list-num-4-1287167046</account_code>
1493
- <username></username>
1494
- <email>verena@test.com</email>
1495
- <first_name>Verena</first_name>
1496
- <last_name>Test</last_name>
1497
- <company_name>Recurly Ruby Gem</company_name>
1498
- <balance_in_cents type="integer">0</balance_in_cents>
1499
- </account>
1500
- <account>
1501
- <account_code>account-list-num-5-1287167046</account_code>
1502
- <username></username>
1503
- <email>verena@test.com</email>
1504
- <first_name>Verena</first_name>
1505
- <last_name>Test</last_name>
1506
- <company_name>Recurly Ruby Gem</company_name>
1507
- <balance_in_cents type="integer">0</balance_in_cents>
1508
- </account>
1509
- <account>
1510
- <account_code>account-list-num-6-1287167046</account_code>
1511
- <username></username>
1512
- <email>verena@test.com</email>
1513
- <first_name>Verena</first_name>
1514
- <last_name>Test</last_name>
1515
- <company_name>Recurly Ruby Gem</company_name>
1516
- <balance_in_cents type="integer">0</balance_in_cents>
1517
- </account>
1518
- <account>
1519
- <account_code>account-list-num-7-1287167046</account_code>
1520
- <username></username>
1521
- <email>verena@test.com</email>
1522
- <first_name>Verena</first_name>
1523
- <last_name>Test</last_name>
1524
- <company_name>Recurly Ruby Gem</company_name>
1525
- <balance_in_cents type="integer">0</balance_in_cents>
1526
- </account>
1527
- <account>
1528
- <account_code>d00d-1287167046</account_code>
1529
- <username></username>
1530
- <email></email>
1531
- <first_name></first_name>
1532
- <last_name></last_name>
1533
- <company_name></company_name>
1534
- <balance_in_cents type="integer">0</balance_in_cents>
1535
- </account>
1536
- </accounts>
1537
-
1538
- http_version: "1.1"