Class: Funktor::Aws::Sqs::Event
- Inherits:
-
Object
- Object
- Funktor::Aws::Sqs::Event
- Defined in:
- lib/funktor/aws/sqs/event.rb
Instance Attribute Summary collapse
-
#event_data ⇒ Object
Returns the value of attribute event_data.
Instance Method Summary collapse
-
#initialize(event_data) ⇒ Event
constructor
A new instance of Event.
- #jobs ⇒ Object
- #records ⇒ Object
Constructor Details
#initialize(event_data) ⇒ Event
Returns a new instance of Event.
6 7 8 |
# File 'lib/funktor/aws/sqs/event.rb', line 6 def initialize(event_data) @event_data = event_data end |
Instance Attribute Details
#event_data ⇒ Object
Returns the value of attribute event_data.
5 6 7 |
# File 'lib/funktor/aws/sqs/event.rb', line 5 def event_data @event_data end |
Instance Method Details
#jobs ⇒ Object
14 15 16 |
# File 'lib/funktor/aws/sqs/event.rb', line 14 def jobs records.map(&:job) end |