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.



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

#identObject

Returns the value of attribute ident.



1755
1756
1757
# File 'lib/FlightXML2REST.rb', line 1755

def ident
  @ident
end

#mapHeightObject

Returns the value of attribute mapHeight.



1755
1756
1757
# File 'lib/FlightXML2REST.rb', line 1755

def mapHeight
  @mapHeight
end

#mapWidthObject

Returns the value of attribute mapWidth.



1755
1756
1757
# File 'lib/FlightXML2REST.rb', line 1755

def mapWidth
  @mapWidth
end

Instance Method Details

#postObject



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

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