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.
265 266 267 |
# File 'lib/seatsio/domain.rb', line 265 def initialize(data) @events = Event.create_list(data['events']) if data['events'] end |
Instance Attribute Details
#events ⇒ Object
Returns the value of attribute events.
263 264 265 |
# File 'lib/seatsio/domain.rb', line 263 def events @events end |