Class: Seatsio::Events
- Inherits:
-
Object
- Object
- Seatsio::Events
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
Instance Method Summary collapse
-
#initialize(data) ⇒ Events
constructor
A new instance of Events.
Constructor Details
#initialize(data) ⇒ Events
Returns a new instance of Events.
161 162 163 |
# File 'lib/seatsio/domain.rb', line 161 def initialize(data) @events = Event.create_list(data['events']) if data['events'] end |
Instance Attribute Details
#events ⇒ Object
Returns the value of attribute events.
159 160 161 |
# File 'lib/seatsio/domain.rb', line 159 def events @events end |