Class: AirlineFlightInfoStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bag_claim = nil, codeshares = [], faFlightID = nil, gate_dest = nil, gate_orig = nil, ident = nil, meal_service = nil, seats_cabin_business = nil, seats_cabin_coach = nil, seats_cabin_first = nil, tailnumber = nil, terminal_dest = nil, terminal_orig = nil) ⇒ AirlineFlightInfoStruct

Returns a new instance of AirlineFlightInfoStruct.



95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/FlightXML2REST.rb', line 95

def initialize (bag_claim = nil, 
                codeshares = [], 
                faFlightID = nil, 
                gate_dest = nil, 
                gate_orig = nil, 
                ident = nil, 
                meal_service = nil, 
                seats_cabin_business = nil,
                seats_cabin_coach = nil,
                seats_cabin_first = nil,
                tailnumber = nil,
                terminal_dest = nil,
                terminal_orig = nil)
  @bag_claim = bag_claim 
  @codeshares = codeshares
  @faFlightID = faFlightID 
  @gate_dest = gate_dest 
  @gate_orig = gate_orig
  @ident = ident
  @meal_service = meal_service 
  @seats_cabin_business = seats_cabin_business
  @seats_cabin_coach = seats_cabin_coach
  @seats_cabin_first = seats_cabin_first
  @tailnumber = tailnumber
  @terminal_dest = terminal_dest
  @terminal_orig = terminal_orig
end

Instance Attribute Details

#bag_claimObject

Returns the value of attribute bag_claim.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def bag_claim
  @bag_claim
end

#codesharesObject

Returns the value of attribute codeshares.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def codeshares
  @codeshares
end

#faFlightIDObject

Returns the value of attribute faFlightID.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def faFlightID
  @faFlightID
end

#gate_destObject

Returns the value of attribute gate_dest.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def gate_dest
  @gate_dest
end

#gate_origObject

Returns the value of attribute gate_orig.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def gate_orig
  @gate_orig
end

#identObject

Returns the value of attribute ident.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def ident
  @ident
end

#meal_serviceObject

Returns the value of attribute meal_service.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def meal_service
  @meal_service
end

#seats_cabin_businessObject

Returns the value of attribute seats_cabin_business.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def seats_cabin_business
  @seats_cabin_business
end

#seats_cabin_coachObject

Returns the value of attribute seats_cabin_coach.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def seats_cabin_coach
  @seats_cabin_coach
end

#seats_cabin_firstObject

Returns the value of attribute seats_cabin_first.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def seats_cabin_first
  @seats_cabin_first
end

#tailnumberObject

Returns the value of attribute tailnumber.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def tailnumber
  @tailnumber
end

#terminal_destObject

Returns the value of attribute terminal_dest.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def terminal_dest
  @terminal_dest
end

#terminal_origObject

Returns the value of attribute terminal_orig.



81
82
83
# File 'lib/FlightXML2REST.rb', line 81

def terminal_orig
  @terminal_orig
end