Class: FlightStats::Airline

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

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/flightstats/airline.rb', line 3

def code
  @code
end

#faa_codeObject

Returns the value of attribute faa_code.



3
4
5
# File 'lib/flightstats/airline.rb', line 3

def faa_code
  @faa_code
end

#iata_codeObject

Returns the value of attribute iata_code.



3
4
5
# File 'lib/flightstats/airline.rb', line 3

def iata_code
  @iata_code
end

#icao_codeObject

Returns the value of attribute icao_code.



3
4
5
# File 'lib/flightstats/airline.rb', line 3

def icao_code
  @icao_code
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/flightstats/airline.rb', line 3

def name
  @name
end