Class: AirportInfoStruct
- Inherits:
-
Object
- Object
- AirportInfoStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#location ⇒ Object
Returns the value of attribute location.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
Instance Method Summary collapse
-
#initialize(latitude = nil, location = nil, longitude = nil, name = nil, timezone = nil) ⇒ AirportInfoStruct
constructor
A new instance of AirportInfoStruct.
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
#latitude ⇒ Object
Returns the value of attribute latitude.
358 359 360 |
# File 'lib/FlightXML2REST.rb', line 358 def latitude @latitude end |
#location ⇒ Object
Returns the value of attribute location.
358 359 360 |
# File 'lib/FlightXML2REST.rb', line 358 def location @location end |
#longitude ⇒ Object
Returns the value of attribute longitude.
358 359 360 |
# File 'lib/FlightXML2REST.rb', line 358 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
358 359 360 |
# File 'lib/FlightXML2REST.rb', line 358 def name @name end |
#timezone ⇒ Object
Returns the value of attribute timezone.
358 359 360 |
# File 'lib/FlightXML2REST.rb', line 358 def timezone @timezone end |