lib/purchase/characterization.rb in purchase-0.0.4 vs lib/purchase/characterization.rb in purchase-0.1.0
- old
+ new
@@ -6,18 +6,13 @@
def self.included(base)
base.send :include, Characterizable
base.characterize do
has :merchant
has :merchant_category
- has :industry_shares
- has :product_line_shares
- has :sector_shares
- has :purchase_amount # full purchase amount
+ has :naics_code
+ has :total # full purchase amount
has :tax # tax portion of purchase
has :cost # cost before tax
- has :line_item # text describing what was purchased
- has :customer_code
- has :zip_code
has :date
end
end
end
end