Class: KashflowApi::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/kashflow_api/config.rb', line 3

def password
  @password
end

#usernameObject

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