Sha256: 53146490a9b15f91499db32e6ae4f41c7eb34a62f2f10eb0c9907f9d2f346ab8
Contents?: true
Size: 1011 Bytes
Versions: 7
Compression:
Stored size: 1011 Bytes
Contents
require 'data_miner' module BrighterPlanet module Flight module Data def self.included(base) base.data_miner do schema do float 'aviation_multiplier' float 'distance_estimate' string 'distance_class_name' string 'fuel_type_name' integer 'seats_estimate' float 'load_factor' integer 'trips' string 'seat_class_name' string 'country_iso_3166_code' date 'date' string 'origin_airport_iata_code' string 'destination_airport_iata_code' string 'aircraft_bp_code' string 'aircraft_class_code' string 'airline_iata_code' integer 'segments_per_trip' end process "pull orphans" do FlightSegment.run_data_miner! end process :run_data_miner_on_belongs_to_associations end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems