Sha256: d9737339f79a612b6bc109d83b229b89bc20dfc887f3418241f950260b132ea1

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

require 'data_miner'

module BrighterPlanet
  module Motorcycle
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'name'
            date     'date' # ?
            float    'fuel_efficiency'
            float    'annual_distance_estimate'
            float    'weekly_distance_estimate'
            date     'acquisition'
            date     'retirement'
          end
          
          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motorcycle-0.0.9 lib/motorcycle/data.rb