Class: MapFlightRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Overview

MapFlight

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ident = nil, mapHeight = nil, mapWidth = nil) ⇒ MapFlightRequest

Returns a new instance of MapFlightRequest.



1760
1761
1762
1763
1764
# File 'lib/FlightXML2REST.rb', line 1760

def initialize(ident = nil, mapHeight = nil, mapWidth = nil)
  @ident = ident
  @mapHeight = mapHeight
  @mapWidth = mapWidth
end

Instance Attribute Details

#identObject

Returns the value of attribute ident.



1759
1760
1761
# File 'lib/FlightXML2REST.rb', line 1759

def ident
  @ident
end

#mapHeightObject

Returns the value of attribute mapHeight.



1759
1760
1761
# File 'lib/FlightXML2REST.rb', line 1759

def mapHeight
  @mapHeight
end

#mapWidthObject

Returns the value of attribute mapWidth.



1759
1760
1761
# File 'lib/FlightXML2REST.rb', line 1759

def mapWidth
  @mapWidth
end

Instance Method Details

#postObject



1765
1766
1767
# File 'lib/FlightXML2REST.rb', line 1765

def post
  "ident=#@ident&mapHeight=#@mapHeight&mapWidth=#@mapWidth"
end