lib/seatsio/domain.rb in seatsio-25.2.0 vs lib/seatsio/domain.rb in seatsio-25.3.0
- old
+ new
@@ -284,11 +284,11 @@
class EventReportItem
attr_reader :labels, :label, :order_id, :extra_data, :capacity, :status,
:category_key, :entrance, :object_type, :hold_token, :category_label,
:ticket_type, :num_booked, :num_free, :num_held, :for_sale, :section,
:is_accessible, :is_companion_seat, :has_restricted_view, :displayed_object_type,
- :left_neighbour, :right_neighbour, :is_selectable, :is_disabled_by_social_distancing
+ :left_neighbour, :right_neighbour, :is_selectable, :is_disabled_by_social_distancing, :channel
def initialize(data)
@status = data['status']
@label = data['label']
@labels = data['labels']
@@ -312,9 +312,10 @@
@displayed_object_type = data['displayedObjectType']
@left_neighbour = data['leftNeighbour']
@right_neighbour = data['rightNeighbour']
@is_selectable = data['isSelectable']
@is_disabled_by_social_distancing = data['isDisabledBySocialDistancing']
+ @channel = data['channel']
end
end
class UsageSummaryForAllMoths
attr_reader :items