Class: SearchFlip::HTTPClient Private
- Inherits:
-
Object
- Object
- SearchFlip::HTTPClient
- Extended by:
- Forwardable
- Defined in:
- lib/search_flip/http_client.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The SearchFlip::HTTPClient class wraps the http gem, is for internal use and responsible for the http request/response handling, ie communicating with Elasticsearch.
Instance Attribute Summary collapse
- #request ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ HTTPClient
constructor
private
A new instance of HTTPClient.
Constructor Details
#initialize ⇒ HTTPClient
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of HTTPClient.
12 13 14 |
# File 'lib/search_flip/http_client.rb', line 12 def initialize self.request = HTTP end |
Instance Attribute Details
#request ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 |
# File 'lib/search_flip/http_client.rb', line 10 def request @request end |