Method: AvataxClient::Configuration#initialize

Defined in:
lib/avatax_client/configuration.rb

#initializeConfiguration

rubocop:disable Metrics/MethodLength



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/avatax_client/configuration.rb', line 8

def initialize
  @item_codes = OpenStruct.new
  @endpoint = nil
  @password = nil
  @tax_codes = OpenStruct.new
  @username = nil
  @version = nil
  @debug = false
  @debug_response = lambda { |response|
    puts "Response Debug"
    puts "Response Code:"
    puts response.code
    puts "Response Body:"
    puts response.body
  }
end