Sha256: 974e16abfda372f0dcf239fb379e880b07a7a13bb59bbbc444b84c14a7456e12
Contents?: true
Size: 568 Bytes
Versions: 54
Compression:
Stored size: 568 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../request', __FILE__) module AvaTax class API attr_accessor *Configuration::VALID_OPTIONS_KEYS def initialize(options={}) options = AvaTax.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end include Connection include Request end end
Version data entries
54 entries across 54 versions & 1 rubygems