Class: Barbeque::Message::JobExecution

Inherits:
Base
  • Object
show all
Defined in:
lib/barbeque/message/job_execution.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#id, #receipt_handle, #sent_timestamp, #type

Method Summary

Methods inherited from Base

#initialize, #valid?

Constructor Details

This class inherits a constructor from Barbeque::Message::Base

Instance Attribute Details

#applicationObject (readonly)

String

To specify ‘job_definitions.app.name`



7
8
9
# File 'lib/barbeque/message/job_execution.rb', line 7

def application
  @application
end

#bodyObject (readonly)

Object

free-format JSON



6
7
8
# File 'lib/barbeque/message/job_execution.rb', line 6

def body
  @body
end

#jobObject (readonly)

String

To specify ‘job_definitions.job`



8
9
10
# File 'lib/barbeque/message/job_execution.rb', line 8

def job
  @job
end