Module: BrighterPlanet::Flight::Characterization

Defined in:
lib/flight/characterization.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/flight/characterization.rb', line 6

def self.included(base)
  base.send :include, Characterizable
  base.characterize do
    # sabshere 12/13/10 should this really be a user input?
    has :aviation_multiplier
    has :distance_estimate
    has :distance_class
    has :fuel_type
    has :seats_estimate
    has :load_factor
    has :trips
    has :seat_class
    has :country
    has :date
    has :origin_airport
    has :destination_airport
    has :aircraft
    has :aircraft_class
    has :airline
    has :segments_per_trip
  end
end