Class: SeatGeek::Query::State
- Inherits:
-
Object
- Object
- SeatGeek::Query::State
- Defined in:
- lib/seat_geek/query/state.rb
Instance Method Summary collapse
-
#initialize(state) ⇒ State
constructor
A new instance of State.
- #query ⇒ Object
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
#query ⇒ Object
8 9 10 |
# File 'lib/seat_geek/query/state.rb', line 8 def query "&venue.state=#{@state}" end |