Class: HostedSolr::API::Configuration
- Inherits:
-
Object
- Object
- HostedSolr::API::Configuration
- Defined in:
- lib/hosted_solr/api/configuration.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#secret_token ⇒ Object
Returns the value of attribute secret_token.
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 |
# File 'lib/hosted_solr/api/configuration.rb', line 6 def initialize @base_url = 'https://www.hosted-solr.com/api' end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
4 5 6 |
# File 'lib/hosted_solr/api/configuration.rb', line 4 def api_token @api_token end |
#base_url ⇒ Object
Returns the value of attribute base_url.
4 5 6 |
# File 'lib/hosted_solr/api/configuration.rb', line 4 def base_url @base_url end |
#secret_token ⇒ Object
Returns the value of attribute secret_token.
4 5 6 |
# File 'lib/hosted_solr/api/configuration.rb', line 4 def secret_token @secret_token end |