Sha256: 021ff79f70a1df02ef0f3c2c2acbdd261434a9b850269d7550f6594e5b9008e5
Contents?: true
Size: 595 Bytes
Versions: 4
Compression:
Stored size: 595 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
avatax-22.5.0 | lib/avatax/api.rb |
avatax-22.3.0 | lib/avatax/api.rb |
avatax-22.2.1 | lib/avatax/api.rb |
avatax-22.2.0 | lib/avatax/api.rb |