Class: Seatsio::ChartObjectInfo
- Inherits:
-
Object
- Object
- Seatsio::ChartObjectInfo
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#book_as_a_whole ⇒ Object
readonly
Returns the value of attribute book_as_a_whole.
-
#capacity ⇒ Object
readonly
Returns the value of attribute capacity.
-
#category_key ⇒ Object
readonly
Returns the value of attribute category_key.
-
#category_label ⇒ Object
readonly
Returns the value of attribute category_label.
-
#distance_to_focal_point ⇒ Object
readonly
Returns the value of attribute distance_to_focal_point.
-
#entrance ⇒ Object
readonly
Returns the value of attribute entrance.
-
#floor ⇒ Object
readonly
Returns the value of attribute floor.
-
#has_restricted_view ⇒ Object
readonly
Returns the value of attribute has_restricted_view.
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
-
#is_accessible ⇒ Object
readonly
Returns the value of attribute is_accessible.
-
#is_companion_seat ⇒ Object
readonly
Returns the value of attribute is_companion_seat.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#left_neighbour ⇒ Object
readonly
Returns the value of attribute left_neighbour.
-
#num_seats ⇒ Object
readonly
Returns the value of attribute num_seats.
-
#object_type ⇒ Object
readonly
Returns the value of attribute object_type.
-
#right_neighbour ⇒ Object
readonly
Returns the value of attribute right_neighbour.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#zone ⇒ Object
readonly
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(data) ⇒ ChartObjectInfo
constructor
A new instance of ChartObjectInfo.
Constructor Details
#initialize(data) ⇒ ChartObjectInfo
Returns a new instance of ChartObjectInfo.
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 |
# File 'lib/seatsio/domain.rb', line 353 def initialize(data) @label = data['label'] @labels = data['labels'] @ids = data['ids'] @category_label = data['categoryLabel'] @category_key = data['categoryKey'] @section = data['section'] @entrance = data['entrance'] @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'] @num_seats = data['numSeats'] @is_accessible = data['isAccessible'] @is_companion_seat = data['isCompanionSeat'] @has_restricted_view = data['hasRestrictedView'] @zone = data['zone'] @floor = data['floor'] end |
Instance Attribute Details
#book_as_a_whole ⇒ Object (readonly)
Returns the value of attribute book_as_a_whole.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def book_as_a_whole @book_as_a_whole end |
#capacity ⇒ Object (readonly)
Returns the value of attribute capacity.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def capacity @capacity end |
#category_key ⇒ Object (readonly)
Returns the value of attribute category_key.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def category_key @category_key end |
#category_label ⇒ Object (readonly)
Returns the value of attribute category_label.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def category_label @category_label end |
#distance_to_focal_point ⇒ Object (readonly)
Returns the value of attribute distance_to_focal_point.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def distance_to_focal_point @distance_to_focal_point end |
#entrance ⇒ Object (readonly)
Returns the value of attribute entrance.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def entrance @entrance end |
#floor ⇒ Object (readonly)
Returns the value of attribute floor.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def floor @floor end |
#has_restricted_view ⇒ Object (readonly)
Returns the value of attribute has_restricted_view.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def has_restricted_view @has_restricted_view end |
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def ids @ids end |
#is_accessible ⇒ Object (readonly)
Returns the value of attribute is_accessible.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def is_accessible @is_accessible end |
#is_companion_seat ⇒ Object (readonly)
Returns the value of attribute is_companion_seat.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def is_companion_seat @is_companion_seat end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def label @label end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def labels @labels end |
#left_neighbour ⇒ Object (readonly)
Returns the value of attribute left_neighbour.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def left_neighbour @left_neighbour end |
#num_seats ⇒ Object (readonly)
Returns the value of attribute num_seats.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def num_seats @num_seats end |
#object_type ⇒ Object (readonly)
Returns the value of attribute object_type.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def object_type @object_type end |
#right_neighbour ⇒ Object (readonly)
Returns the value of attribute right_neighbour.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def right_neighbour @right_neighbour end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def section @section end |
#zone ⇒ Object (readonly)
Returns the value of attribute zone.
349 350 351 |
# File 'lib/seatsio/domain.rb', line 349 def zone @zone end |