Class: FlightStats::Flight
- Inherits:
-
Object
- Object
- FlightStats::Flight
- Defined in:
- lib/flightstats/flight.rb
Defined Under Namespace
Classes: Codeshare
Instance Attribute Summary collapse
-
#actual_air_time ⇒ Object
Returns the value of attribute actual_air_time.
-
#actual_aircraft_type ⇒ Object
Returns the value of attribute actual_aircraft_type.
-
#actual_block_time ⇒ Object
Returns the value of attribute actual_block_time.
-
#actual_local_gate_arrival_time ⇒ Object
Returns the value of attribute actual_local_gate_arrival_time.
-
#actual_local_gate_departure_time ⇒ Object
Returns the value of attribute actual_local_gate_departure_time.
-
#actual_local_runway_arrival_time ⇒ Object
Returns the value of attribute actual_local_runway_arrival_time.
-
#actual_local_runway_departure_time ⇒ Object
Returns the value of attribute actual_local_runway_departure_time.
-
#airline ⇒ Object
Returns the value of attribute airline.
-
#arrival_airport_timezone_offset ⇒ Object
Returns the value of attribute arrival_airport_timezone_offset.
-
#arrival_gate ⇒ Object
Returns the value of attribute arrival_gate.
-
#arrival_terminal ⇒ Object
Returns the value of attribute arrival_terminal.
-
#baggage_claim ⇒ Object
Returns the value of attribute baggage_claim.
-
#codeshares ⇒ Object
Returns the value of attribute codeshares.
-
#creator_code ⇒ Object
Returns the value of attribute creator_code.
-
#departure_airport_timezone_offset ⇒ Object
Returns the value of attribute departure_airport_timezone_offset.
-
#departure_gate ⇒ Object
Returns the value of attribute departure_gate.
-
#departure_terminal ⇒ Object
Returns the value of attribute departure_terminal.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#diverted ⇒ Object
Returns the value of attribute diverted.
-
#diverted_airport_timezone_offset ⇒ Object
Returns the value of attribute diverted_airport_timezone_offset.
-
#estimated_local_gate_arrival_time ⇒ Object
Returns the value of attribute estimated_local_gate_arrival_time.
-
#estimated_local_gate_departure_time ⇒ Object
Returns the value of attribute estimated_local_gate_departure_time.
-
#estimated_local_runway_arrival_time ⇒ Object
Returns the value of attribute estimated_local_runway_arrival_time.
-
#estimated_local_runway_departure_time ⇒ Object
Returns the value of attribute estimated_local_runway_departure_time.
-
#id ⇒ Object
Returns the value of attribute id.
-
#local_arrival_time ⇒ Object
Returns the value of attribute local_arrival_time.
-
#local_departure_time ⇒ Object
Returns the value of attribute local_departure_time.
-
#number ⇒ Object
Returns the value of attribute number.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#published_local_arrival_time ⇒ Object
Returns the value of attribute published_local_arrival_time.
-
#published_local_departure_time ⇒ Object
Returns the value of attribute published_local_departure_time.
-
#scheduled_air_time ⇒ Object
Returns the value of attribute scheduled_air_time.
-
#scheduled_aircraft_type ⇒ Object
Returns the value of attribute scheduled_aircraft_type.
-
#scheduled_block_time ⇒ Object
Returns the value of attribute scheduled_block_time.
-
#scheduled_local_gate_arrival_time ⇒ Object
Returns the value of attribute scheduled_local_gate_arrival_time.
-
#scheduled_local_gate_departure_time ⇒ Object
Returns the value of attribute scheduled_local_gate_departure_time.
-
#scheduled_local_runway_arrival_time ⇒ Object
Returns the value of attribute scheduled_local_runway_arrival_time.
-
#scheduled_local_runway_departure_time ⇒ Object
Returns the value of attribute scheduled_local_runway_departure_time.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
-
#tail_number ⇒ Object
Returns the value of attribute tail_number.
Instance Method Summary collapse
-
#initialize ⇒ Flight
constructor
A new instance of Flight.
Constructor Details
#initialize ⇒ Flight
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_time ⇒ Object
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_type ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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 |
#airline ⇒ Object
Returns the value of attribute airline.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def airline @airline end |
#arrival_airport_timezone_offset ⇒ Object
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_gate ⇒ Object
Returns the value of attribute arrival_gate.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def arrival_gate @arrival_gate end |
#arrival_terminal ⇒ Object
Returns the value of attribute arrival_terminal.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def arrival_terminal @arrival_terminal end |
#baggage_claim ⇒ Object
Returns the value of attribute baggage_claim.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def baggage_claim @baggage_claim end |
#codeshares ⇒ Object
Returns the value of attribute codeshares.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def codeshares @codeshares end |
#creator_code ⇒ Object
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_offset ⇒ Object
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_gate ⇒ Object
Returns the value of attribute departure_gate.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def departure_gate @departure_gate end |
#departure_terminal ⇒ Object
Returns the value of attribute departure_terminal.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def departure_terminal @departure_terminal end |
#destination ⇒ Object
Returns the value of attribute destination.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def destination @destination end |
#diverted ⇒ Object
Returns the value of attribute diverted.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def diverted @diverted end |
#diverted_airport_timezone_offset ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def id @id end |
#local_arrival_time ⇒ Object
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_time ⇒ Object
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 |
#number ⇒ Object
Returns the value of attribute number.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def number @number end |
#origin ⇒ Object
Returns the value of attribute origin.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def origin @origin end |
#published_local_arrival_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_type ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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_time ⇒ Object
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 |
#status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def status @status end |
#status_code ⇒ Object
Returns the value of attribute status_code.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def status_code @status_code end |
#tail_number ⇒ Object
Returns the value of attribute tail_number.
7 8 9 |
# File 'lib/flightstats/flight.rb', line 7 def tail_number @tail_number end |