Class: SeatGeek::Taxonomies::Theater

Inherits:
Object
  • Object
show all
Defined in:
lib/seat_geek/Taxonomies/theater.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_objectObject

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_taxonomiesObject

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

#nameObject



9
10
11
# File 'lib/seat_geek/Taxonomies/theater.rb', line 9

def name
  parent_object['name']
end