Class: SearchCountRequest
- Inherits:
-
Object
- Object
- SearchCountRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
SearchCount
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query = nil) ⇒ SearchCountRequest
constructor
A new instance of SearchCountRequest.
- #post ⇒ Object
Constructor Details
#initialize(query = nil) ⇒ SearchCountRequest
Returns a new instance of SearchCountRequest.
2437 2438 2439 |
# File 'lib/FlightXML2REST.rb', line 2437 def initialize(query = nil) @query = query end |
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
2436 2437 2438 |
# File 'lib/FlightXML2REST.rb', line 2436 def query @query end |
Instance Method Details
#post ⇒ Object
2440 2441 2442 |
# File 'lib/FlightXML2REST.rb', line 2440 def post "query=#@query" end |