Sha256: e4e94e84be62b2080850fbd8c5e086ffae2215cd71e0eb234e7a035c8f9f3858

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

require 'data_miner'

module BrighterPlanet
  module Lodging
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string  'lodging_class_name'
            string  'zip_code_name'
            string  'state_postal_abbreviation'
            integer 'rooms'
            integer 'nights'
          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
lodging-0.0.5 lib/lodging/data.rb