Class: SeatGeek::Query::EventType

Inherits:
Object
  • Object
show all
Defined in:
lib/seat_geek/query/event_type.rb

Instance Method Summary collapse

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

#queryObject



8
9
10
# File 'lib/seat_geek/query/event_type.rb', line 8

def query
  "&taxonomies.name=#{@event_type}"
end