Class: FlightStats::Equipment

Inherits:
Resource
  • Object
show all
Defined in:
lib/flightstats/equipment.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

#iataObject

Returns the value of attribute iata.



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

def iata
  @iata
end

#jetObject

Returns the value of attribute jet.



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

def jet
  @jet
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#regionalObject

Returns the value of attribute regional.



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

def regional
  @regional
end

#turbo_propObject

Returns the value of attribute turbo_prop.



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

def turbo_prop
  @turbo_prop
end

#widebodyObject

Returns the value of attribute widebody.



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

def widebody
  @widebody
end