lib/seatsio/domain.rb in seatsio-47.1.0 vs lib/seatsio/domain.rb in seatsio-47.2.0
- old
+ new
@@ -160,11 +160,11 @@
attr_accessor :id, :key, :chart_key, :name, :date, :supports_best_available,
:table_booking_config, :for_sale_config, :created_on, :updated_on, :channels,
:is_top_level_season, :is_partial_season,
:is_event_in_season, :top_level_season_key,
- :object_categories, :categories, :is_in_the_past
+ :object_categories, :categories, :is_in_the_past, :partial_season_keys_for_event
def initialize(data)
@id = data['id']
@key = data['key']
@chart_key = data['chartKey']
@@ -183,9 +183,10 @@
@is_event_in_season = data['isEventInSeason']
@top_level_season_key = data['topLevelSeasonKey']
@object_categories = data['objectCategories']
@categories = Category.create_list(data['categories']) if data['categories']
@is_in_the_past = data['isInThePast']
+ @partial_season_keys_for_event = data['partialSeasonKeysForEvent']
end
def is_season
false
end