Class: FlightStats::Airline
- Defined in:
- lib/flightstats/airline.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#fs ⇒ Object
Returns the value of attribute fs.
-
#iata ⇒ Object
Returns the value of attribute iata.
-
#icao ⇒ Object
Returns the value of attribute icao.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
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
#active ⇒ Object
Returns the value of attribute active.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def active @active end |
#fs ⇒ Object
Returns the value of attribute fs.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def fs @fs end |
#iata ⇒ Object
Returns the value of attribute iata.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def iata @iata end |
#icao ⇒ Object
Returns the value of attribute icao.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def icao @icao end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def name @name end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
3 4 5 |
# File 'lib/flightstats/airline.rb', line 3 def phone_number @phone_number end |