Class: AirlineFlightScheduleStruct
- Inherits:
-
Object
- Object
- AirlineFlightScheduleStruct
- Defined in:
- lib/FlightXML2REST.rb
Instance Attribute Summary collapse
-
#actual_ident ⇒ Object
Returns the value of attribute actual_ident.
-
#aircrafttype ⇒ Object
Returns the value of attribute aircrafttype.
-
#arrivaltime ⇒ Object
Returns the value of attribute arrivaltime.
-
#departuretime ⇒ Object
Returns the value of attribute departuretime.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#ident ⇒ Object
Returns the value of attribute ident.
-
#meal_service ⇒ Object
Returns the value of attribute meal_service.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#seats_cabin_business ⇒ Object
Returns the value of attribute seats_cabin_business.
-
#seats_cabin_coach ⇒ Object
Returns the value of attribute seats_cabin_coach.
-
#seats_cabin_first ⇒ Object
Returns the value of attribute seats_cabin_first.
Instance Method Summary collapse
-
#initialize(actual_ident = nil, aircrafttype = nil, arrivaltime = nil, departuretime = nil, destination = nil, ident = nil, meal_service = nil, origin = nil, seats_cabin_business = nil, seats_cabin_coach = nil, seats_cabin_first = nil) ⇒ AirlineFlightScheduleStruct
constructor
A new instance of AirlineFlightScheduleStruct.
Constructor Details
#initialize(actual_ident = nil, aircrafttype = nil, arrivaltime = nil, departuretime = nil, destination = nil, ident = nil, meal_service = nil, origin = nil, seats_cabin_business = nil, seats_cabin_coach = nil, seats_cabin_first = nil) ⇒ AirlineFlightScheduleStruct
Returns a new instance of AirlineFlightScheduleStruct.
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'lib/FlightXML2REST.rb', line 159 def initialize (actual_ident = nil, aircrafttype = nil, arrivaltime = nil, departuretime = nil, destination = nil, ident = nil, meal_service = nil, origin = nil, seats_cabin_business = nil, seats_cabin_coach = nil, seats_cabin_first = nil ) @actual_ident = actual_ident @aircrafttype = aircrafttype @arrivaltime = arrivaltime @departuretime = departuretime @destination = destination @ident = ident @meal_service = meal_service @origin = origin @seats_cabin_business = seats_cabin_business @seats_cabin_coach = seats_cabin_coach @seats_cabin_first = seats_cabin_first end |
Instance Attribute Details
#actual_ident ⇒ Object
Returns the value of attribute actual_ident.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def actual_ident @actual_ident end |
#aircrafttype ⇒ Object
Returns the value of attribute aircrafttype.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def aircrafttype @aircrafttype end |
#arrivaltime ⇒ Object
Returns the value of attribute arrivaltime.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def arrivaltime @arrivaltime end |
#departuretime ⇒ Object
Returns the value of attribute departuretime.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def departuretime @departuretime end |
#destination ⇒ Object
Returns the value of attribute destination.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def destination @destination end |
#ident ⇒ Object
Returns the value of attribute ident.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def ident @ident end |
#meal_service ⇒ Object
Returns the value of attribute meal_service.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def meal_service @meal_service end |
#origin ⇒ Object
Returns the value of attribute origin.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def origin @origin end |
#seats_cabin_business ⇒ Object
Returns the value of attribute seats_cabin_business.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def seats_cabin_business @seats_cabin_business end |
#seats_cabin_coach ⇒ Object
Returns the value of attribute seats_cabin_coach.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def seats_cabin_coach @seats_cabin_coach end |
#seats_cabin_first ⇒ Object
Returns the value of attribute seats_cabin_first.
147 148 149 |
# File 'lib/FlightXML2REST.rb', line 147 def seats_cabin_first @seats_cabin_first end |