Sha256: 12ecb35407543892965f43bf1d7c5535e29a6b4e457898c3aef62bf7570f0138
Contents?: true
Size: 672 Bytes
Versions: 78
Compression:
Stored size: 672 Bytes
Contents
require File.expand_path('../avatax/configuration', __FILE__) require File.expand_path('../avatax/api', __FILE__) require File.expand_path('../avatax/client', __FILE__) module AvaTax extend Configuration # Alias for Avatax::Client.new # # @return [Avatax::Client] def self.client(options={}) AvaTax::Client.new(options) end # Delegate to AvaTax::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to AvaTax::Client def self.respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end end
Version data entries
78 entries across 78 versions & 1 rubygems