Class: Mammoth::DeliveryProgressCoordinator::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/mammoth/delivery_progress_coordinator.rb

Overview

Mutable source transaction tracked by the coordinator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items:, closed:) ⇒ Group

Returns a new instance of Group.

Parameters:



18
19
20
21
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 18

def initialize(items:, closed:)
  @items = items
  @closed = closed
end

Instance Attribute Details

#closedObject

Returns the value of attribute closed.



14
15
16
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 14

def closed
  @closed
end

#itemsObject (readonly)

Returns the value of attribute items.



13
14
15
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 13

def items
  @items
end