Class: SeatGeek::Taxonomies::Concert
- Inherits:
-
Object
- Object
- SeatGeek::Taxonomies::Concert
- Defined in:
- lib/seat_geek/Taxonomies/concert.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:) ⇒ Concert
constructor
A new instance of Concert.
- #name ⇒ Object
Constructor Details
#initialize(parent_object:, sub_taxonomies:) ⇒ Concert
Returns a new instance of Concert.
4 5 6 7 |
# File 'lib/seat_geek/Taxonomies/concert.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/concert.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/concert.rb', line 13 def sub_taxonomies @sub_taxonomies end |
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'lib/seat_geek/Taxonomies/concert.rb', line 9 def name parent_object['name'] end |