Module: BrighterPlanet::Purchase::Characterization
- Defined in:
- lib/purchase/characterization.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/purchase/characterization.rb', line 6 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 |