Class: LogStash::Modules::KibanaSettings::Setting

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/modules/kibana_settings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value) ⇒ Setting

Returns a new instance of Setting.



9
10
11
# File 'lib/logstash/modules/kibana_settings.rb', line 9

def initialize(name, value)
  @name, @value = name, value
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/logstash/modules/kibana_settings.rb', line 8

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



8
9
10
# File 'lib/logstash/modules/kibana_settings.rb', line 8

def value
  @value
end