Sha256: f4089021628190663c3209bd32ef1d9732d6eb92345f7ab19d9e936d1fedc175

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 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
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
motorcycle-0.0.8 lib/motorcycle/data.rb
motorcycle-0.0.7 lib/motorcycle/data.rb
motorcycle-0.0.6 lib/motorcycle/data.rb
motorcycle-0.0.5 lib/motorcycle/data.rb
motorcycle-0.0.4 lib/motorcycle/data.rb
motorcycle-0.0.3 lib/motorcycle/data.rb