Class: SpreeCmCommissioner::EventTicketAggregator
- Inherits:
-
Object
- Object
- SpreeCmCommissioner::EventTicketAggregator
- Defined in:
- app/serializables/spree_cm_commissioner/event_ticket_aggregator.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(id:, value:) ⇒ EventTicketAggregator
constructor
A new instance of EventTicketAggregator.
Constructor Details
#initialize(id:, value:) ⇒ EventTicketAggregator
Returns a new instance of EventTicketAggregator.
5 6 7 8 |
# File 'app/serializables/spree_cm_commissioner/event_ticket_aggregator.rb', line 5 def initialize(id:, value:) @id = id @value = value end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'app/serializables/spree_cm_commissioner/event_ticket_aggregator.rb', line 3 def id @id end |
#value ⇒ Object
Returns the value of attribute value.
3 4 5 |
# File 'app/serializables/spree_cm_commissioner/event_ticket_aggregator.rb', line 3 def value @value end |