lib/vindetta/generator.rb in vindetta-0.3.0 vs lib/vindetta/generator.rb in vindetta-0.4.0
- old
+ new
@@ -1,15 +1,9 @@
+require 'net/http'
+
module Vindetta
class Generator
- VINS = [
- "KNAFX4A67E5095888",
- "1FTRX12W18KE97487",
- "2HGFA1F38BH525824",
- "1C4GP64L5YB667678"
- ].freeze
-
-
- def self.generate(options = {})
- VINS.sample
+ def self.generate
+ Net::HTTP.get('randomvin.com', '/getvin.php')
end
end
end