Class: RelateIq::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



25
26
27
28
29
# File 'lib/relateiq.rb', line 25

def initialize
  @base_url = 'https://api.relateiq.com/v2'
  @username = ''
  @password = ''
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



23
24
25
# File 'lib/relateiq.rb', line 23

def base_url
  @base_url
end

#loggerObject

Returns the value of attribute logger.



23
24
25
# File 'lib/relateiq.rb', line 23

def logger
  @logger
end

#passwordObject

Returns the value of attribute password.



23
24
25
# File 'lib/relateiq.rb', line 23

def password
  @password
end

#usernameObject

Returns the value of attribute username.



23
24
25
# File 'lib/relateiq.rb', line 23

def username
  @username
end