recurly 0.4.7 → 0.4.8

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