Class: FlightStats::Airline

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

Instance Attribute Summary collapse

Attributes inherited from Resource

#attributes, #etag, #response, #uri

Method Summary

Methods inherited from Resource

from_json, from_parsed_json, from_response, #initialize, string_to_model, string_to_model_with_caching, #to_param, #underscore_with_caching

Constructor Details

This class inherits a constructor from FlightStats::Resource

Instance Attribute Details

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#fsObject

Returns the value of attribute fs.



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

def fs
  @fs
end

#iataObject

Returns the value of attribute iata.



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

def iata
  @iata
end

#icaoObject

Returns the value of attribute icao.



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

def icao
  @icao
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#phone_numberObject

Returns the value of attribute phone_number.



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

def phone_number
  @phone_number
end