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.



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

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

Instance Attribute Details

#queryObject

Returns the value of attribute query.



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

def query
  @query
end

Instance Method Details

#postObject



2444
2445
2446
# File 'lib/FlightXML2REST.rb', line 2444

def post
  "query=#@query"
end