Class: Groonga::Command::ConfigSet

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/command/config-set.rb

Overview

A command class that represents config_set command.

Since:

  • 1.1.5

Instance Attribute Summary

Attributes inherited from Base

#arguments, #command_name, #original_format, #original_source, #path_prefix

Class Method Summary collapse

Instance Method Summary collapse

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

.parameter_namesObject

Since:

  • 1.1.5



28
29
30
31
32
33
# File 'lib/groonga/command/config-set.rb', line 28

def parameter_names
  [
    :key,
    :value,
  ]
end

Instance Method Details

#keyString

Returns key parameter value.

Returns:

  • (String)

    key parameter value.

Since:

  • 1.1.4



39
40
41
# File 'lib/groonga/command/config-set.rb', line 39

def key
  self[:key]
end

#valueString

Returns value parameter value.

Returns:

  • (String)

    value parameter value.

Since:

  • 1.1.4



46
47
48
# File 'lib/groonga/command/config-set.rb', line 46

def value
  self[:value]
end