Class: SearchCountRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

SearchCount

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query = nil) ⇒ SearchCountRequest

Returns a new instance of SearchCountRequest.



2230
2231
2232
# File 'lib/FlightXML2REST.rb', line 2230

def initialize(query = nil)
  @query = query
end

Instance Attribute Details

#queryObject

Returns the value of attribute query.



2229
2230
2231
# File 'lib/FlightXML2REST.rb', line 2229

def query
  @query
end

Instance Method Details

#postObject



2233
2234
2235
# File 'lib/FlightXML2REST.rb', line 2233

def post
  "query=#@query"
end