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_origin = 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.



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/FlightXML2REST.rb', line 77

def initialize (bag_claim = nil, 
                codeshares = [], 
                faFlightID = nil, 
                gate_dest = nil, 
                gate_origin = 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_origin = gate_origin
  @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.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def bag_claim
  @bag_claim
end

#codesharesObject

Returns the value of attribute codeshares.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def codeshares
  @codeshares
end

#faFlightIDObject

Returns the value of attribute faFlightID.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def faFlightID
  @faFlightID
end

#gate_destObject

Returns the value of attribute gate_dest.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def gate_dest
  @gate_dest
end

#gate_origObject

Returns the value of attribute gate_orig.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def gate_orig
  @gate_orig
end

#identObject

Returns the value of attribute ident.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def ident
  @ident
end

#meal_serviceObject

Returns the value of attribute meal_service.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def meal_service
  @meal_service
end

#seats_cabin_businessObject

Returns the value of attribute seats_cabin_business.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def seats_cabin_business
  @seats_cabin_business
end

#seats_cabin_coachObject

Returns the value of attribute seats_cabin_coach.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def seats_cabin_coach
  @seats_cabin_coach
end

#seats_cabin_firstObject

Returns the value of attribute seats_cabin_first.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def seats_cabin_first
  @seats_cabin_first
end

#tailnumberObject

Returns the value of attribute tailnumber.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def tailnumber
  @tailnumber
end

#terminal_destObject

Returns the value of attribute terminal_dest.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def terminal_dest
  @terminal_dest
end

#terminal_origObject

Returns the value of attribute terminal_orig.



63
64
65
# File 'lib/FlightXML2REST.rb', line 63

def terminal_orig
  @terminal_orig
end