Class: SeatGeek::Query::State

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

Instance Method Summary collapse

Constructor Details

#initialize(state) ⇒ State

Returns a new instance of State.



4
5
6
# File 'lib/seat_geek/query/state.rb', line 4

def initialize(state)
  @state = state
end

Instance Method Details

#queryObject



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

def query
  "&venue.state=#{@state}"
end