Sha256: 7a3e3ecdb2a08fb36cf6244281242a2e7e269cdf8e69ff42923f990b81b3984b

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
motorcycle-0.0.13 lib/motorcycle/data.rb
motorcycle-0.0.12 lib/motorcycle/data.rb
motorcycle-0.0.11 lib/motorcycle/data.rb
motorcycle-0.0.10 lib/motorcycle/data.rb