Class: SeatGeek::Query::EventType
- Inherits:
-
Object
- Object
- SeatGeek::Query::EventType
- Defined in:
- lib/seat_geek/query/event_type.rb
Instance Method Summary collapse
-
#initialize(event_type) ⇒ EventType
constructor
A new instance of EventType.
- #query ⇒ Object
Constructor Details
#initialize(event_type) ⇒ EventType
Returns a new instance of EventType.
4 5 6 |
# File 'lib/seat_geek/query/event_type.rb', line 4 def initialize(event_type) @event_type = event_type end |
Instance Method Details
#query ⇒ Object
8 9 10 |
# File 'lib/seat_geek/query/event_type.rb', line 8 def query "&taxonomies.name=#{@event_type}" end |