lib/seatsio/domain.rb in seatsio-32.1.0 vs lib/seatsio/domain.rb in seatsio-32.2.0

- old
+ new

@@ -262,11 +262,11 @@ end class ChartReportItem attr_reader :label, :labels, :category_key, :category_label, :section, :entrance, :capacity, :object_type, - :left_neighbour, :right_neighbour, :book_as_a_whole + :left_neighbour, :right_neighbour, :book_as_a_whole, :distance_to_focal_point def initialize(data) @label = data['label'] @labels = data['labels'] @category_label = data['categoryLabel'] @@ -276,10 +276,11 @@ @capacity = data['capacity'] @object_type = data['objectType'] @left_neighbour = data['leftNeighbour'] @right_neighbour = data['rightNeighbour'] @book_as_a_whole = data['bookAsAWhole'] + @distance_to_focal_point = data['distanceToFocalPoint'] end end class ChartReport @@ -327,11 +328,11 @@ 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, :channel, - :book_as_a_whole + :book_as_a_whole, :distance_to_focal_point def initialize(data) @status = data['status'] @label = data['label'] @labels = data['labels'] @@ -357,9 +358,10 @@ @right_neighbour = data['rightNeighbour'] @is_selectable = data['isSelectable'] @is_disabled_by_social_distancing = data['isDisabledBySocialDistancing'] @channel = data['channel'] @book_as_a_whole = data['bookAsAWhole'] + @distance_to_focal_point = data['distanceToFocalPoint'] end end class UsageSummaryForAllMoths attr_reader :items