lib/seatsio/domain.rb in seatsio-40.0.0 vs lib/seatsio/domain.rb in seatsio-40.1.0
- old
+ new
@@ -313,11 +313,11 @@
end
class ChartObjectInfo
attr_reader :label, :labels, :ids, :category_key, :category_label, :section, :entrance, :capacity, :object_type,
- :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point
+ :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point, :num_seats
def initialize(data)
@label = data['label']
@labels = data['labels']
@ids = data['ids']
@@ -329,10 +329,11 @@
@object_type = data['objectType']
@left_neighbour = data['leftNeighbour']
@right_neighbour = data['rightNeighbour']
@book_as_a_whole = data['bookAsAWhole']
@distance_to_focal_point = data['distanceToFocalPoint']
+ @num_seats = data['numSeats']
end
end
class ChartReport
@@ -384,11 +385,11 @@
attr_reader :labels, :ids, :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_available, :is_disabled_by_social_distancing, :channel,
- :book_as_a_whole, :distance_to_focal_point, :holds
+ :book_as_a_whole, :distance_to_focal_point, :holds, :num_seats
def initialize(data)
@status = data['status']
@label = data['label']
@labels = data['labels']
@@ -417,9 +418,10 @@
@is_disabled_by_social_distancing = data['isDisabledBySocialDistancing']
@channel = data['channel']
@book_as_a_whole = data['bookAsAWhole']
@distance_to_focal_point = data['distanceToFocalPoint']
@holds = data['holds']
+ @num_seats = data['numSeats']
end
end
class UsageSummaryForAllMoths
attr_reader :items