Class: Wakame::Event::JobEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/wakame/event.rb

Direct Known Subclasses

JobComplete, JobFailed, JobStart

Instance Attribute Summary collapse

Attributes inherited from Base

#time

Instance Method Summary collapse

Constructor Details

#initialize(job_id) ⇒ JobEvent

Returns a new instance of JobEvent.



188
189
190
191
# File 'lib/wakame/event.rb', line 188

def initialize(job_id)
  super()
  @job_id = job_id
end

Instance Attribute Details

#job_idObject (readonly)

Returns the value of attribute job_id.



187
188
189
# File 'lib/wakame/event.rb', line 187

def job_id
  @job_id
end

Instance Method Details

#log_messageObject



193
194
195
# File 'lib/wakame/event.rb', line 193

def log_message
  "#{@job_id}"
end