Class: LogStash::Modules::KibanaSettings::Setting
- Inherits:
-
Object
- Object
- LogStash::Modules::KibanaSettings::Setting
- Defined in:
- lib/logstash/modules/kibana_settings.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ Setting
constructor
A new instance of Setting.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/logstash/modules/kibana_settings.rb', line 8 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/logstash/modules/kibana_settings.rb', line 8 def value @value end |