Class: FlightStats::Flight

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

Defined Under Namespace

Classes: Codeshare

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFlight

Returns a new instance of Flight.



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

def initialize
  @codeshares = []
end

Instance Attribute Details

#actual_air_timeObject

Returns the value of attribute actual_air_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_air_time
  @actual_air_time
end

#actual_aircraft_typeObject

Returns the value of attribute actual_aircraft_type.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_aircraft_type
  @actual_aircraft_type
end

#actual_block_timeObject

Returns the value of attribute actual_block_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_block_time
  @actual_block_time
end

#actual_local_gate_arrival_timeObject

Returns the value of attribute actual_local_gate_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_local_gate_arrival_time
  @actual_local_gate_arrival_time
end

#actual_local_gate_departure_timeObject

Returns the value of attribute actual_local_gate_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_local_gate_departure_time
  @actual_local_gate_departure_time
end

#actual_local_runway_arrival_timeObject

Returns the value of attribute actual_local_runway_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_local_runway_arrival_time
  @actual_local_runway_arrival_time
end

#actual_local_runway_departure_timeObject

Returns the value of attribute actual_local_runway_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def actual_local_runway_departure_time
  @actual_local_runway_departure_time
end

#airlineObject

Returns the value of attribute airline.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def airline
  @airline
end

#arrival_airport_timezone_offsetObject

Returns the value of attribute arrival_airport_timezone_offset.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def arrival_airport_timezone_offset
  @arrival_airport_timezone_offset
end

#arrival_gateObject

Returns the value of attribute arrival_gate.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def arrival_gate
  @arrival_gate
end

#arrival_terminalObject

Returns the value of attribute arrival_terminal.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def arrival_terminal
  @arrival_terminal
end

#baggage_claimObject

Returns the value of attribute baggage_claim.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def baggage_claim
  @baggage_claim
end

#codesharesObject

Returns the value of attribute codeshares.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def codeshares
  @codeshares
end

#creator_codeObject

Returns the value of attribute creator_code.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def creator_code
  @creator_code
end

#departure_airport_timezone_offsetObject

Returns the value of attribute departure_airport_timezone_offset.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def departure_airport_timezone_offset
  @departure_airport_timezone_offset
end

#departure_gateObject

Returns the value of attribute departure_gate.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def departure_gate
  @departure_gate
end

#departure_terminalObject

Returns the value of attribute departure_terminal.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def departure_terminal
  @departure_terminal
end

#destinationObject

Returns the value of attribute destination.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def destination
  @destination
end

#divertedObject

Returns the value of attribute diverted.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def diverted
  @diverted
end

#diverted_airport_timezone_offsetObject

Returns the value of attribute diverted_airport_timezone_offset.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def diverted_airport_timezone_offset
  @diverted_airport_timezone_offset
end

#estimated_local_gate_arrival_timeObject

Returns the value of attribute estimated_local_gate_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def estimated_local_gate_arrival_time
  @estimated_local_gate_arrival_time
end

#estimated_local_gate_departure_timeObject

Returns the value of attribute estimated_local_gate_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def estimated_local_gate_departure_time
  @estimated_local_gate_departure_time
end

#estimated_local_runway_arrival_timeObject

Returns the value of attribute estimated_local_runway_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def estimated_local_runway_arrival_time
  @estimated_local_runway_arrival_time
end

#estimated_local_runway_departure_timeObject

Returns the value of attribute estimated_local_runway_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def estimated_local_runway_departure_time
  @estimated_local_runway_departure_time
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def id
  @id
end

#local_arrival_timeObject

Returns the value of attribute local_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def local_arrival_time
  @local_arrival_time
end

#local_departure_timeObject

Returns the value of attribute local_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def local_departure_time
  @local_departure_time
end

#numberObject

Returns the value of attribute number.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def number
  @number
end

#originObject

Returns the value of attribute origin.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def origin
  @origin
end

#published_local_arrival_timeObject

Returns the value of attribute published_local_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def published_local_arrival_time
  @published_local_arrival_time
end

#published_local_departure_timeObject

Returns the value of attribute published_local_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def published_local_departure_time
  @published_local_departure_time
end

#scheduled_air_timeObject

Returns the value of attribute scheduled_air_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_air_time
  @scheduled_air_time
end

#scheduled_aircraft_typeObject

Returns the value of attribute scheduled_aircraft_type.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_aircraft_type
  @scheduled_aircraft_type
end

#scheduled_block_timeObject

Returns the value of attribute scheduled_block_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_block_time
  @scheduled_block_time
end

#scheduled_local_gate_arrival_timeObject

Returns the value of attribute scheduled_local_gate_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_local_gate_arrival_time
  @scheduled_local_gate_arrival_time
end

#scheduled_local_gate_departure_timeObject

Returns the value of attribute scheduled_local_gate_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_local_gate_departure_time
  @scheduled_local_gate_departure_time
end

#scheduled_local_runway_arrival_timeObject

Returns the value of attribute scheduled_local_runway_arrival_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_local_runway_arrival_time
  @scheduled_local_runway_arrival_time
end

#scheduled_local_runway_departure_timeObject

Returns the value of attribute scheduled_local_runway_departure_time.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def scheduled_local_runway_departure_time
  @scheduled_local_runway_departure_time
end

#statusObject

Returns the value of attribute status.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def status
  @status
end

#status_codeObject

Returns the value of attribute status_code.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def status_code
  @status_code
end

#tail_numberObject

Returns the value of attribute tail_number.



7
8
9
# File 'lib/flightstats/flight.rb', line 7

def tail_number
  @tail_number
end