Class: Groonga::Command::RequestCancel
- Defined in:
- lib/groonga/command/request-cancel.rb
Overview
A command class that represents request_cancel
command.
Instance Attribute Summary
Attributes inherited from Base
#arguments, #command_name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#id ⇒ String
id
parameter value.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #name, #output_type, #request_id, #to_command_format, #to_uri_format, #uri_format?
Constructor Details
This class inherits a constructor from Groonga::Command::Base
Class Method Details
.command_name ⇒ Object
26 27 28 |
# File 'lib/groonga/command/request-cancel.rb', line 26 def command_name "request_cancel" end |
.parameter_names ⇒ Object
30 31 32 33 34 |
# File 'lib/groonga/command/request-cancel.rb', line 30 def parameter_names [ :id, ] end |
Instance Method Details
#id ⇒ String
Returns id
parameter value.
41 42 43 |
# File 'lib/groonga/command/request-cancel.rb', line 41 def id self[:id] end |