Class: ScheduledRequest
- Inherits:
-
Object
- Object
- ScheduledRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
Scheduled
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) ⇒ ScheduledRequest
constructor
A new instance of ScheduledRequest.
- #post ⇒ Object
Constructor Details
#initialize(airport = nil, filter = nil, howMany = nil, offset = nil) ⇒ ScheduledRequest
Returns a new instance of ScheduledRequest.
2156 2157 2158 2159 2160 2161 |
# File 'lib/FlightXML2REST.rb', line 2156 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.
2155 2156 2157 |
# File 'lib/FlightXML2REST.rb', line 2155 def airport @airport end |
#filter ⇒ Object
Returns the value of attribute filter.
2155 2156 2157 |
# File 'lib/FlightXML2REST.rb', line 2155 def filter @filter end |
#howMany ⇒ Object
Returns the value of attribute howMany.
2155 2156 2157 |
# File 'lib/FlightXML2REST.rb', line 2155 def howMany @howMany end |
#offset ⇒ Object
Returns the value of attribute offset.
2155 2156 2157 |
# File 'lib/FlightXML2REST.rb', line 2155 def offset @offset end |
Instance Method Details
#post ⇒ Object
2162 2163 2164 |
# File 'lib/FlightXML2REST.rb', line 2162 def post "airport=#@airport&filter=#@filter&howMany=#@howMany&offset=#@offset" end |