Class: MapFlightRequest
- Inherits:
-
Object
- Object
- MapFlightRequest
- Defined in:
- lib/FlightXML2REST.rb
Overview
MapFlight
Instance Attribute Summary collapse
-
#ident ⇒ Object
Returns the value of attribute ident.
-
#mapHeight ⇒ Object
Returns the value of attribute mapHeight.
-
#mapWidth ⇒ Object
Returns the value of attribute mapWidth.
Instance Method Summary collapse
-
#initialize(ident = nil, mapHeight = nil, mapWidth = nil) ⇒ MapFlightRequest
constructor
A new instance of MapFlightRequest.
- #post ⇒ Object
Constructor Details
#initialize(ident = nil, mapHeight = nil, mapWidth = nil) ⇒ MapFlightRequest
Returns a new instance of MapFlightRequest.
1756 1757 1758 1759 1760 |
# File 'lib/FlightXML2REST.rb', line 1756 def initialize(ident = nil, mapHeight = nil, mapWidth = nil) @ident = ident @mapHeight = mapHeight @mapWidth = mapWidth end |
Instance Attribute Details
#ident ⇒ Object
Returns the value of attribute ident.
1755 1756 1757 |
# File 'lib/FlightXML2REST.rb', line 1755 def ident @ident end |
#mapHeight ⇒ Object
Returns the value of attribute mapHeight.
1755 1756 1757 |
# File 'lib/FlightXML2REST.rb', line 1755 def mapHeight @mapHeight end |
#mapWidth ⇒ Object
Returns the value of attribute mapWidth.
1755 1756 1757 |
# File 'lib/FlightXML2REST.rb', line 1755 def mapWidth @mapWidth end |
Instance Method Details
#post ⇒ Object
1761 1762 1763 |
# File 'lib/FlightXML2REST.rb', line 1761 def post "ident=#@ident&mapHeight=#@mapHeight&mapWidth=#@mapWidth" end |