Class: SeatGeek::Taxonomies::Theater
- Inherits:
-
Object
- Object
- SeatGeek::Taxonomies::Theater
- Defined in:
- lib/seat_geek/Taxonomies/theater.rb
Instance Attribute Summary collapse
-
#parent_object ⇒ Object
Returns the value of attribute parent_object.
-
#sub_taxonomies ⇒ Object
Returns the value of attribute sub_taxonomies.
Instance Method Summary collapse
-
#initialize(parent_object:, sub_taxonomies:) ⇒ Theater
constructor
A new instance of Theater.
- #name ⇒ Object
Constructor Details
#initialize(parent_object:, sub_taxonomies:) ⇒ Theater
Returns a new instance of Theater.
4 5 6 7 |
# File 'lib/seat_geek/Taxonomies/theater.rb', line 4 def initialize(parent_object:, sub_taxonomies:) @parent_object = parent_object @sub_taxonomies = sub_taxonomies end |
Instance Attribute Details
#parent_object ⇒ Object
Returns the value of attribute parent_object.
13 14 15 |
# File 'lib/seat_geek/Taxonomies/theater.rb', line 13 def parent_object @parent_object end |
#sub_taxonomies ⇒ Object
Returns the value of attribute sub_taxonomies.
13 14 15 |
# File 'lib/seat_geek/Taxonomies/theater.rb', line 13 def sub_taxonomies @sub_taxonomies end |
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'lib/seat_geek/Taxonomies/theater.rb', line 9 def name parent_object['name'] end |