Class: Intacct::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/intacct/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
10
# File 'lib/intacct/config.rb', line 7

def initialize
  @logger = Logger.new($stdout, level: Logger::Severity::ERROR)
  @raise_exceptions = true
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/intacct/config.rb', line 5

def logger
  @logger
end

#raise_exceptionsObject

Returns the value of attribute raise_exceptions.



5
6
7
# File 'lib/intacct/config.rb', line 5

def raise_exceptions
  @raise_exceptions
end

#sender_idObject

Returns the value of attribute sender_id.



5
6
7
# File 'lib/intacct/config.rb', line 5

def sender_id
  @sender_id
end

#sender_passwordObject

Returns the value of attribute sender_password.



5
6
7
# File 'lib/intacct/config.rb', line 5

def sender_password
  @sender_password
end

#urlObject

Returns the value of attribute url.



5
6
7
# File 'lib/intacct/config.rb', line 5

def url
  @url
end