Class: AirportInfoStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(latitude = nil, location = nil, longitude = nil, name = nil, timezone = nil) ⇒ AirportInfoStruct

Returns a new instance of AirportInfoStruct.



397
398
399
400
401
402
403
# File 'lib/FlightXML2REST.rb', line 397

def initialize (latitude = nil, location = nil, longitude = nil, name = nil, timezone = nil)
  @latitude = latitude
  @location = location
  @longitude = longitude
  @name = name
  @timezone = timezone
end

Instance Attribute Details

#latitudeObject

Returns the value of attribute latitude.



396
397
398
# File 'lib/FlightXML2REST.rb', line 396

def latitude
  @latitude
end

#locationObject

Returns the value of attribute location.



396
397
398
# File 'lib/FlightXML2REST.rb', line 396

def location
  @location
end

#longitudeObject

Returns the value of attribute longitude.



396
397
398
# File 'lib/FlightXML2REST.rb', line 396

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



396
397
398
# File 'lib/FlightXML2REST.rb', line 396

def name
  @name
end

#timezoneObject

Returns the value of attribute timezone.



396
397
398
# File 'lib/FlightXML2REST.rb', line 396

def timezone
  @timezone
end