Method: Spree::Adjustment#cancellation?
- Defined in:
- app/models/spree/adjustment.rb
#cancellation? ⇒ Boolean
Returns true when this is a cancellation adjustment (Cancellation adjustments have a UnitCancel source).
97 98 99 |
# File 'app/models/spree/adjustment.rb', line 97 def cancellation? source_type == 'Spree::UnitCancel' end |