Class: AirlineFlightScheduleStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# File 'lib/FlightXML2REST.rb', line 182

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_identObject

Returns the value of attribute actual_ident.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def actual_ident
  @actual_ident
end

#aircrafttypeObject

Returns the value of attribute aircrafttype.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def aircrafttype
  @aircrafttype
end

#arrivaltimeObject

Returns the value of attribute arrivaltime.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def arrivaltime
  @arrivaltime
end

#departuretimeObject

Returns the value of attribute departuretime.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def departuretime
  @departuretime
end

#destinationObject

Returns the value of attribute destination.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def destination
  @destination
end

#identObject

Returns the value of attribute ident.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def ident
  @ident
end

#meal_serviceObject

Returns the value of attribute meal_service.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def meal_service
  @meal_service
end

#originObject

Returns the value of attribute origin.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def origin
  @origin
end

#seats_cabin_businessObject

Returns the value of attribute seats_cabin_business.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def seats_cabin_business
  @seats_cabin_business
end

#seats_cabin_coachObject

Returns the value of attribute seats_cabin_coach.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def seats_cabin_coach
  @seats_cabin_coach
end

#seats_cabin_firstObject

Returns the value of attribute seats_cabin_first.



170
171
172
# File 'lib/FlightXML2REST.rb', line 170

def seats_cabin_first
  @seats_cabin_first
end