Class: Elastics::HttpClients::Dummy

Inherits:
Object
  • Object
show all
Defined in:
lib/elastics/http_clients/loader.rb

Instance Method Summary collapse

Instance Method Details

#requestObject



5
6
7
8
9
# File 'lib/elastics/http_clients/loader.rb', line 5

def request(*)
  raise MissingHttpClientError,
        'you should install the gem "patron" (recommended for performances) or "rest-client", ' +
        'or provide your own http-client interface and set Elastics::Configuration.http_client'
end