Sha256: 01dc6d6a2dbce7fa335c876a0d96bc02e71e86b4839d8e9f5ab6f18aa8b9afb2

Contents?: true

Size: 747 Bytes

Versions: 3

Compression:

Stored size: 747 Bytes

Contents

require 'characterizable'

module BrighterPlanet
  module Flight
    module Characterization
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flight-0.1.11 lib/flight/characterization.rb
flight-0.1.10 lib/flight/characterization.rb
flight-0.1.9 lib/flight/characterization.rb