lib/seatsio/domain.rb in seatsio-24.0.0 vs lib/seatsio/domain.rb in seatsio-24.1.0
- old
+ new
@@ -282,11 +282,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
+ :left_neighbour, :right_neighbour, :is_selectable, :is_disabled_by_social_distancing
def initialize(data)
@status = data['status']
@label = data['label']
@labels = data['labels']
@@ -308,9 +308,11 @@
@is_companion_seat = data['isCompanionSeat']
@has_restricted_view = data['hasRestrictedView']
@displayed_object_type = data['displayedObjectType']
@left_neighbour = data['leftNeighbour']
@right_neighbour = data['rightNeighbour']
+ @is_selectable = data['isSelectable']
+ @is_disabled_by_social_distancing = data['isDisabledBySocialDistancing']
end
end
class UsageSummaryForAllMoths
attr_reader :items