Module: AvataxClient
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/avatax_client.rb
Overview
Avalara Tax calculation service.
Defined Under Namespace
Modules: Errors, Request, Response, ReverseCoercion Classes: Configuration
Class Attribute Summary collapse
Class Method Summary collapse
- .configure {|configuration| ... } ⇒ Object
-
.reset ⇒ Object
Resets the configuration back to a new instance.
Class Attribute Details
.configuration ⇒ Object
19 20 21 |
# File 'lib/avatax_client.rb', line 19 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
23 24 25 |
# File 'lib/avatax_client.rb', line 23 def configure yield configuration end |
.reset ⇒ Object
Resets the configuration back to a new instance. Should only be used in testing.
28 29 30 |
# File 'lib/avatax_client.rb', line 28 def reset @configuration = Configuration.new end |