Sha256: a0339a24cf9e333bf60a26e277641982407e9b49f2fb4460df4b527ed2cf23a1
Contents?: true
Size: 973 Bytes
Versions: 9
Compression:
Stored size: 973 Bytes
Contents
require 'data_miner' module BrighterPlanet module Purchase module Data def self.included(base) base.data_miner do schema do string 'merchant_id' string 'mcc' string 'naics_code' string 'ps_code' string 'io_code' float 'purchase_amount' string 'purchase_amount_units' float 'tax' string 'tax_units' float 'cost' string 'cost_units' string 'line_item' string 'customer_code' string 'zip_code_name' date 'date' float 'adjusted_cost' string 'adjusted_cost_units' float 'emission_factor' string 'emission_factor_units' end process "Pull dependencies" do run_data_miner_on_belongs_to_associations end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems