Method: Esearch::Request#initialize
- Defined in:
- lib/esearch/request.rb
#initialize(verb, path, body = EMPTY_HASH, params = EMPTY_HASH) ⇒ undefined
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.
Initialize object
54 55 56 |
# File 'lib/esearch/request.rb', line 54 def initialize(verb, path, body = EMPTY_HASH, params = EMPTY_HASH) @verb, @path, @body, @params = verb, path.to_s, body, params end |