Sha256: 2d265156c85f80551ea44add71c62faa27a02e32a3c59e6f9827a4195280d4a5

Contents?: true

Size: 922 Bytes

Versions: 4

Compression:

Stored size: 922 Bytes

Contents

module BrighterPlanet
  module Flight
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'origin_airport_id'
            string   'destination_airport_id'
            integer  'trips'
            integer  'emplanements_per_trip'
            float    'distance_estimate'
            string   'distance_class_id'
            string   'aircraft_id'
            string   'aircraft_class_id'
            string   'propulsion_id'
            string   'fuel_type_id'
            string   'airline_id'
            string   'seat_class_id'
            integer  'seats_estimate'
            float    'load_factor'
            string   'domesticity_id'
            date     'date'
            integer  'year'
            time     'time_of_day'
          end
          
          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flight-0.0.22 lib/flight/data.rb
flight-0.0.21 lib/flight/data.rb
flight-0.0.20 lib/flight/data.rb
flight-0.0.19 lib/flight/data.rb