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.
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
#latitude ⇒ Object
Returns the value of attribute latitude.
396 397 398 |
# File 'lib/FlightXML2REST.rb', line 396 def latitude @latitude end |
#location ⇒ Object
Returns the value of attribute location.
396 397 398 |
# File 'lib/FlightXML2REST.rb', line 396 def location @location end |
#longitude ⇒ Object
Returns the value of attribute longitude.
396 397 398 |
# File 'lib/FlightXML2REST.rb', line 396 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
396 397 398 |
# File 'lib/FlightXML2REST.rb', line 396 def name @name end |
#timezone ⇒ Object
Returns the value of attribute timezone.
396 397 398 |
# File 'lib/FlightXML2REST.rb', line 396 def timezone @timezone end |