Class: EspressoPath::Configuration
- Inherits:
-
Object
- Object
- EspressoPath::Configuration
- Defined in:
- lib/espresso_path/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#client_token ⇒ Object
Returns the value of attribute client_token.
-
#options ⇒ Object
Returns the value of attribute options.
-
#password ⇒ Object
Returns the value of attribute password.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_url ⇒ Object
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_token ⇒ Object
Returns the value of attribute client_token.
4 5 6 |
# File 'lib/espresso_path/configuration.rb', line 4 def client_token @client_token end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/espresso_path/configuration.rb', line 4 def @options end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/espresso_path/configuration.rb', line 4 def password @password end |
#user_name ⇒ Object
Returns the value of attribute user_name.
4 5 6 |
# File 'lib/espresso_path/configuration.rb', line 4 def user_name @user_name end |