Class: Wakame::Event::ClusterStatusChanged
- Defined in:
- lib/wakame/event.rb
Instance Attribute Summary collapse
-
#instance_id ⇒ Object
readonly
Returns the value of attribute instance_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(instance_id, status) ⇒ ClusterStatusChanged
constructor
A new instance of ClusterStatusChanged.
- #log_message ⇒ Object
Constructor Details
#initialize(instance_id, status) ⇒ ClusterStatusChanged
Returns a new instance of ClusterStatusChanged.
19 20 21 22 23 |
# File 'lib/wakame/event.rb', line 19 def initialize(instance_id, status) super() @instance_id = instance_id @status = status end |
Instance Attribute Details
#instance_id ⇒ Object (readonly)
Returns the value of attribute instance_id.
18 19 20 |
# File 'lib/wakame/event.rb', line 18 def instance_id @instance_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
18 19 20 |
# File 'lib/wakame/event.rb', line 18 def status @status end |
Instance Method Details
#log_message ⇒ Object
25 26 27 |
# File 'lib/wakame/event.rb', line 25 def "#{instance_id}, #{@status}" end |