Class: Intacct::Config
- Inherits:
-
Object
- Object
- Intacct::Config
- Defined in:
- lib/intacct/config.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#raise_exceptions ⇒ Object
Returns the value of attribute raise_exceptions.
-
#sender_id ⇒ Object
Returns the value of attribute sender_id.
-
#sender_password ⇒ Object
Returns the value of attribute sender_password.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/intacct/config.rb', line 5 def logger @logger end |
#raise_exceptions ⇒ Object
Returns the value of attribute raise_exceptions.
5 6 7 |
# File 'lib/intacct/config.rb', line 5 def raise_exceptions @raise_exceptions end |
#sender_id ⇒ Object
Returns the value of attribute sender_id.
5 6 7 |
# File 'lib/intacct/config.rb', line 5 def sender_id @sender_id end |
#sender_password ⇒ Object
Returns the value of attribute sender_password.
5 6 7 |
# File 'lib/intacct/config.rb', line 5 def sender_password @sender_password end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/intacct/config.rb', line 5 def url @url end |