Class: EspressoPath::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
10
11
12
# File 'lib/espresso_path/configuration.rb', line 6

def initialize
  @user_name = nil
  @password = nil
  @client_token = nil
  @base_url = 'https://insights-api.geopath.org'
  @options = nil
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



4
5
6
# File 'lib/espresso_path/configuration.rb', line 4

def base_url
  @base_url
end

#client_tokenObject

Returns the value of attribute client_token.



4
5
6
# File 'lib/espresso_path/configuration.rb', line 4

def client_token
  @client_token
end

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/espresso_path/configuration.rb', line 4

def options
  @options
end

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/espresso_path/configuration.rb', line 4

def password
  @password
end

#user_nameObject

Returns the value of attribute user_name.



4
5
6
# File 'lib/espresso_path/configuration.rb', line 4

def user_name
  @user_name
end