Class: Seatsio::ChartDraft
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
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
-
#initialize(data) ⇒ ChartDraft
constructor
A new instance of ChartDraft.
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
#version ⇒ Object (readonly)
Returns the value of attribute version.
70 71 72 |
# File 'lib/seatsio/domain.rb', line 70 def version @version end |