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