Class: AirlineInfoStruct
- Inherits:
-
Object
- Object
- AirlineInfoStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#callsign ⇒ Object
Returns the value of attribute callsign.
-
#country ⇒ Object
Returns the value of attribute country.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#shortname ⇒ Object
Returns the value of attribute shortname.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(callsign = nil, country = nil, location = nil, name = nil, phone = nil, shortname = nil, url = nil) ⇒ AirlineInfoStruct
constructor
A new instance of AirlineInfoStruct.
Constructor Details
#initialize(callsign = nil, country = nil, location = nil, name = nil, phone = nil, shortname = nil, url = nil) ⇒ AirlineInfoStruct
Returns a new instance of AirlineInfoStruct.
250 251 252 253 254 255 256 257 258 |
# File 'lib/FlightXML2REST.rb', line 250 def initialize (callsign = nil, country = nil, location = nil, name = nil, phone = nil, shortname = nil, url = nil) @callsign = callsign @country = country @location = location @name = name @phone = phone @shortname = shortname @url = url end |
Instance Attribute Details
#callsign ⇒ Object
Returns the value of attribute callsign.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def callsign @callsign end |
#country ⇒ Object
Returns the value of attribute country.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def country @country end |
#location ⇒ Object
Returns the value of attribute location.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def phone @phone end |
#shortname ⇒ Object
Returns the value of attribute shortname.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def shortname @shortname end |
#url ⇒ Object
Returns the value of attribute url.
249 250 251 |
# File 'lib/FlightXML2REST.rb', line 249 def url @url end |