lib/seatsio/domain.rb in seatsio-48.4.0 vs lib/seatsio/domain.rb in seatsio-48.5.0

- old
+ new

@@ -6,11 +6,11 @@ class Chart attr_reader :id, :key, :status, :name, :published_version_thumbnail_url, :draft_version_thumbnail_url, :events, :tags, :archived, - :categories, :validation + :categories, :validation, :venue_type def initialize(data) @id = data['id'] @key = data['key'] @status = data['status'] @@ -19,9 +19,10 @@ @draft_version_thumbnail_url = data['draftVersionThumbnailUrl'] @events = Event.create_list(data['events']) if data['events'] @tags = data['tags'] @archived = data['archived'] @validation = data['validation'] + @venue_type = data['venueType'] end end class ChartValidationResult attr_reader :errors, :warnings