Sha256: c57ba16f782f928faf60202f22d5e3d3ab0b2d6f4b7d2956ff28e85d1b566628
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
require 'characterizable' module BrighterPlanet module Purchase module Characterization def self.included(base) base.send :include, Characterizable base.characterize do has :purchase_amount has :merchant has :merchant_category has :naics_code has :total # full purchase amount has :tax # tax portion of purchase has :cost # cost before tax has :date end base.add_implicit_characteristics end end end end
Version data entries
7 entries across 7 versions & 1 rubygems