Class: Drnbench::HttpDroongaClient
- Inherits:
-
HttpClient
- Object
- HttpClient
- Drnbench::HttpDroongaClient
- Defined in:
- lib/drnbench/client/http-droonga.rb
Constant Summary collapse
- DEFAULT_PATH_BASE =
"/droonga"
- DEFAULT_COMMAND =
"search"
- DEFAULT_METHOD =
"POST"
Constants inherited from HttpClient
Drnbench::HttpClient::SUPPORTED_HTTP_METHODS
Instance Attribute Summary
Attributes inherited from HttpClient
Instance Method Summary collapse
-
#initialize(params) ⇒ HttpDroongaClient
constructor
A new instance of HttpDroongaClient.
Methods inherited from HttpClient
Constructor Details
#initialize(params) ⇒ HttpDroongaClient
Returns a new instance of HttpDroongaClient.
22 23 24 25 |
# File 'lib/drnbench/client/http-droonga.rb', line 22 def initialize(params) super @command = params[:command] || DEFAULT_COMMAND end |