Class: Funktor::Aws::Sqs::Record
- Inherits:
-
Object
- Object
- Funktor::Aws::Sqs::Record
- Defined in:
- lib/funktor/aws/sqs/record.rb
Instance Attribute Summary collapse
-
#job ⇒ Object
Returns the value of attribute job.
-
#record_data ⇒ Object
Returns the value of attribute record_data.
Instance Method Summary collapse
-
#initialize(record_data) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(record_data) ⇒ Record
Returns a new instance of Record.
7 8 9 10 |
# File 'lib/funktor/aws/sqs/record.rb', line 7 def initialize(record_data) @record_data = record_data @job = Funktor::Job.new(record_data["body"]) end |
Instance Attribute Details
#job ⇒ Object
Returns the value of attribute job.
6 7 8 |
# File 'lib/funktor/aws/sqs/record.rb', line 6 def job @job end |
#record_data ⇒ Object
Returns the value of attribute record_data.
5 6 7 |
# File 'lib/funktor/aws/sqs/record.rb', line 5 def record_data @record_data end |