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.



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_identObject

Returns the value of attribute actual_ident.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def actual_ident
  @actual_ident
end

#aircrafttypeObject

Returns the value of attribute aircrafttype.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def aircrafttype
  @aircrafttype
end

#arrivaltimeObject

Returns the value of attribute arrivaltime.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def arrivaltime
  @arrivaltime
end

#departuretimeObject

Returns the value of attribute departuretime.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def departuretime
  @departuretime
end

#destinationObject

Returns the value of attribute destination.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def destination
  @destination
end

#identObject

Returns the value of attribute ident.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def ident
  @ident
end

#meal_serviceObject

Returns the value of attribute meal_service.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def meal_service
  @meal_service
end

#originObject

Returns the value of attribute origin.



147
148
149
# File 'lib/FlightXML2REST.rb', line 147

def origin
  @origin
end

#seats_cabin_businessObject

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_coachObject

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_firstObject

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