Class: SearchmetricsClient::Configuration
- Inherits:
-
Object
- Object
- SearchmetricsClient::Configuration
- Defined in:
- lib/searchmetrics_client/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 |
# File 'lib/searchmetrics_client/configuration.rb', line 14 def initialize @api_version = 'v1' @api_url = 'http://api.searchmetrics.com' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
12 13 14 |
# File 'lib/searchmetrics_client/configuration.rb', line 12 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
12 13 14 |
# File 'lib/searchmetrics_client/configuration.rb', line 12 def api_secret @api_secret end |
#api_url ⇒ Object
Returns the value of attribute api_url.
12 13 14 |
# File 'lib/searchmetrics_client/configuration.rb', line 12 def api_url @api_url end |
#api_version ⇒ Object
Returns the value of attribute api_version.
12 13 14 |
# File 'lib/searchmetrics_client/configuration.rb', line 12 def api_version @api_version end |