Class: AnyApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/any_api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
10
# File 'lib/any_api/configuration.rb', line 5

def initialize
  self.api_base_url = nil
  self.username =  nil
  self.password =  nil
  self.log_level = 'info'
end

Instance Attribute Details

#api_base_urlObject

Returns the value of attribute api_base_url.



3
4
5
# File 'lib/any_api/configuration.rb', line 3

def api_base_url
  @api_base_url
end

#log_levelObject

Returns the value of attribute log_level.



3
4
5
# File 'lib/any_api/configuration.rb', line 3

def log_level
  @log_level
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/any_api/configuration.rb', line 3

def password
  @password
end

#usernameObject

Returns the value of attribute username.



3
4
5
# File 'lib/any_api/configuration.rb', line 3

def username
  @username
end