Class: Workarea::Fulfillment::Status::PartiallyRefunded
- Inherits:
-
Object
- Object
- Workarea::Fulfillment::Status::PartiallyRefunded
- Includes:
- StatusCalculator::Status
- Defined in:
- app/models/workarea/fulfillment/status/partially_refunded.rb
Instance Method Summary collapse
Instance Method Details
#in_status? ⇒ Boolean
7 8 9 |
# File 'app/models/workarea/fulfillment/status/partially_refunded.rb', line 7 def in_status? order.items.any? { |i| i.quantity_refunded >= i.quantity } end |