Class: WideEvent::Setup::Checker::Result
- Inherits:
-
Struct
- Object
- Struct
- WideEvent::Setup::Checker::Result
- Defined in:
- lib/wide_event/setup/checker.rb
Instance Attribute Summary collapse
-
#checks ⇒ Object
Returns the value of attribute checks.
-
#message ⇒ Object
Returns the value of attribute message.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#checks ⇒ Object
Returns the value of attribute checks
56 57 58 |
# File 'lib/wide_event/setup/checker.rb', line 56 def checks @checks end |
#message ⇒ Object
Returns the value of attribute message
56 57 58 |
# File 'lib/wide_event/setup/checker.rb', line 56 def @message end |
#state ⇒ Object
Returns the value of attribute state
56 57 58 |
# File 'lib/wide_event/setup/checker.rb', line 56 def state @state end |
Instance Method Details
#success? ⇒ Boolean
57 58 59 |
# File 'lib/wide_event/setup/checker.rb', line 57 def success? state == "healthy" end |