Class: FlightStats::Codeshare

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

#flight_numberObject

Returns the value of attribute flight_number.



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

def flight_number
  @flight_number
end

#fs_codeObject

Returns the value of attribute fs_code.



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

def fs_code
  @fs_code
end

#relationshipObject

Returns the value of attribute relationship.



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

def relationship
  @relationship
end