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.
2230 2231 2232 |
# File 'lib/FlightXML2REST.rb', line 2230 def initialize(query = nil) @query = query end |
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
2229 2230 2231 |
# File 'lib/FlightXML2REST.rb', line 2229 def query @query end |
Instance Method Details
#post ⇒ Object
2233 2234 2235 |
# File 'lib/FlightXML2REST.rb', line 2233 def post "query=#@query" end |