Sha256: 431b5653e8537723c505638df2879358cdfcefb7785349000ebb35e3637deba7
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
module VinQuery class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) end def self.reset self.configuration = Configuration.new end class Configuration attr_accessor :url, :access_code, :report_type def initialize @report_type = 2 end def merge_options(options={}) options.each do |k, v| self.send("#{k}=", v) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vin_query-1.1.0 | lib/vin_query/configuration.rb |