Class: HostedSolr::API::SolrCoresAPIClient

Inherits:
ActiveRestClient::Base
  • Object
show all
Includes:
HasConfiguration
Defined in:
lib/hosted_solr/api/solr_cores_api_client.rb

Class Method Summary collapse

Class Method Details

.configured_authentication_paramsObject



21
22
23
24
25
26
# File 'lib/hosted_solr/api/solr_cores_api_client.rb', line 21

def configured_authentication_params
  {
    api_token: configuration.api_token,
    secret_token: configuration.secret_token
  }
end

.solr_cores_path(suffix = '') ⇒ Object



17
18
19
# File 'lib/hosted_solr/api/solr_cores_api_client.rb', line 17

def solr_cores_path(suffix = '')
  "/solr_cores#{suffix}"
end