Class: InvoicedRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- InvoicedRecord
- Defined in:
- app/models/invoiced_record.rb
Instance Method Summary collapse
-
#taxed? ⇒ Boolean
Weather or not this item is taxed.
Instance Method Details
#taxed? ⇒ Boolean
Weather or not this item is taxed
9 10 11 12 13 14 15 16 17 |
# File 'app/models/invoiced_record.rb', line 9 def taxed? if invoiceable_item.respond_to?(:taxed?) invoiceable_item.taxed? elsif invoiceable_item.respond_to?(:taxable?) invoiceable_item.taxable? else false end end |