Class: Groonga::Command::LogPut
- Defined in:
- lib/groonga/command/log-put.rb
Overview
A command class that represents log_put
command.
Instance Attribute Summary
Attributes inherited from Base
#arguments, #name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#level ⇒ String
level
parameter value. -
#message ⇒ String
message
parameter value.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #output_type, #to_command_format, #to_uri_format, #uri_format?
Constructor Details
This class inherits a constructor from Groonga::Command::Base
Class Method Details
.parameter_names ⇒ Object
28 29 30 31 32 33 |
# File 'lib/groonga/command/log-put.rb', line 28 def parameter_names [ :level, :message, ] end |
Instance Method Details
#level ⇒ String
Returns level
parameter value.
39 40 41 |
# File 'lib/groonga/command/log-put.rb', line 39 def level self[:level] end |
#message ⇒ String
Returns message
parameter value.
46 47 48 |
# File 'lib/groonga/command/log-put.rb', line 46 def self[:message] end |