Class: Wakame::Event::JobEvent
Direct Known Subclasses
Instance Attribute Summary collapse
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(job_id) ⇒ JobEvent
constructor
A new instance of JobEvent.
- #log_message ⇒ Object
Constructor Details
#initialize(job_id) ⇒ JobEvent
Returns a new instance of JobEvent.
171 172 173 174 |
# File 'lib/wakame/event.rb', line 171 def initialize(job_id) super() @action = job_id end |
Instance Attribute Details
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
170 171 172 |
# File 'lib/wakame/event.rb', line 170 def job_id @job_id end |
Instance Method Details
#log_message ⇒ Object
176 177 178 |
# File 'lib/wakame/event.rb', line 176 def "#{@action.class}" end |