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.



359
360
361
362
363
364
365
# File 'lib/FlightXML2REST.rb', line 359

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.



358
359
360
# File 'lib/FlightXML2REST.rb', line 358

def latitude
  @latitude
end

#locationObject

Returns the value of attribute location.



358
359
360
# File 'lib/FlightXML2REST.rb', line 358

def location
  @location
end

#longitudeObject

Returns the value of attribute longitude.



358
359
360
# File 'lib/FlightXML2REST.rb', line 358

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



358
359
360
# File 'lib/FlightXML2REST.rb', line 358

def name
  @name
end

#timezoneObject

Returns the value of attribute timezone.



358
359
360
# File 'lib/FlightXML2REST.rb', line 358

def timezone
  @timezone
end