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.



2438
2439
2440
# File 'lib/FlightXML2REST.rb', line 2438

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

Instance Attribute Details

#queryObject

Returns the value of attribute query.



2437
2438
2439
# File 'lib/FlightXML2REST.rb', line 2437

def query
  @query
end

Instance Method Details

#postObject



2441
2442
2443
# File 'lib/FlightXML2REST.rb', line 2441

def post
  "query=#@query"
end