Class: ArrivedRequest
- Inherits:
-
Object
- Object
- ArrivedRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
Arrived
Instance Attribute Summary collapse
-
#airport ⇒ Object
Returns the value of attribute airport.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#howMany ⇒ Object
Returns the value of attribute howMany.
-
#offset ⇒ Object
Returns the value of attribute offset.
Instance Method Summary collapse
-
#initialize(airport = nil, filter = nil, howMany = nil, offset = nil) ⇒ ArrivedRequest
constructor
A new instance of ArrivedRequest.
- #post ⇒ Object
Constructor Details
#initialize(airport = nil, filter = nil, howMany = nil, offset = nil) ⇒ ArrivedRequest
Returns a new instance of ArrivedRequest.
466 467 468 469 470 471 |
# File 'lib/FlightXML2REST.rb', line 466 def initialize(airport = nil, filter = nil, howMany = nil, offset = nil) @airport = airport @filter = filter @howMany = howMany @offset = offset end |
Instance Attribute Details
#airport ⇒ Object
Returns the value of attribute airport.
465 466 467 |
# File 'lib/FlightXML2REST.rb', line 465 def airport @airport end |
#filter ⇒ Object
Returns the value of attribute filter.
465 466 467 |
# File 'lib/FlightXML2REST.rb', line 465 def filter @filter end |
#howMany ⇒ Object
Returns the value of attribute howMany.
465 466 467 |
# File 'lib/FlightXML2REST.rb', line 465 def howMany @howMany end |
#offset ⇒ Object
Returns the value of attribute offset.
465 466 467 |
# File 'lib/FlightXML2REST.rb', line 465 def offset @offset end |
Instance Method Details
#post ⇒ Object
472 473 474 |
# File 'lib/FlightXML2REST.rb', line 472 def post "airport=#@airport&filter=#@filter&howMany=#@howMany&offset=#@offset" end |