Class: LittleGhost::AgentInterruptions::Batch
- Inherits:
-
Data
- Object
- Data
- LittleGhost::AgentInterruptions::Batch
- Defined in:
- lib/little_ghost/agent_interruptions.rb
Instance Attribute Summary collapse
-
#tickets ⇒ Object
readonly
Returns the value of attribute tickets.
Instance Method Summary collapse
Instance Attribute Details
#tickets ⇒ Object (readonly)
Returns the value of attribute tickets
23 24 25 |
# File 'lib/little_ghost/agent_interruptions.rb', line 23 def tickets @tickets end |
Instance Method Details
#batch_key ⇒ Object
25 |
# File 'lib/little_ghost/agent_interruptions.rb', line 25 def batch_key = tickets.first&.batch_key |
#interruption_ids ⇒ Object
24 |
# File 'lib/little_ghost/agent_interruptions.rb', line 24 def interruption_ids = tickets.map(&:id) |
#metadata ⇒ Object
26 |
# File 'lib/little_ghost/agent_interruptions.rb', line 26 def = tickets.last&. |