Class: Seatsio::ChartDraft

Inherits:
Chart
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Attributes inherited from Chart

#archived, #categories, #draft_version_thumbnail_url, #events, #id, #key, #name, #published_version_thumbnail_url, #status, #tags, #validation, #venue_type, #zones

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ChartDraft

Returns a new instance of ChartDraft.



72
73
74
75
# File 'lib/seatsio/domain.rb', line 72

def initialize(data)
  super(data)
  @version = data['version']
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



70
71
72
# File 'lib/seatsio/domain.rb', line 70

def version
  @version
end