class Avalara::Configuration

Attributes

endpoint[W]
open_timeout[RW]
password[RW]
read_timeout[RW]
timeout[RW]
username[RW]
version[W]

Public Instance Methods

endpoint() click to toggle source

Public: Get the API endpoint used by the configuration. Unless explicitly set, the endpoint will default to the official production endpoint at ‘rest.avalara.net’.

If you want to set this to the test endpoint, use ‘development.avalara.net

Returns the String for the API endpoint.

# File lib/avalara/configuration.rb, line 22
def endpoint
  @endpoint ||= 'https://rest.avalara.net'
end
version() click to toggle source

Public: Get the API version. Defaults to 1.0.

Returns the String for the API version.

# File lib/avalara/configuration.rb, line 31
def version
  @version ||= '1.0'
end