Class: KashflowApi::Config
- Inherits:
-
Object
- Object
- KashflowApi::Config
- Defined in:
- lib/kashflow_api/config.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #loggers=(i) ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/kashflow_api/config.rb', line 5 def initialize @loggers = true end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/kashflow_api/config.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/kashflow_api/config.rb', line 3 def username @username end |
Instance Method Details
#loggers=(i) ⇒ Object
9 10 11 12 |
# File 'lib/kashflow_api/config.rb', line 9 def loggers=(i) HTTPI.log = i Savon.log = i end |