Class: Workarea::Payment::Status::Refunded
- Inherits:
-
Object
- Object
- Workarea::Payment::Status::Refunded
- Includes:
- StatusCalculator::Status
- Defined in:
- app/models/workarea/payment/status.rb
Instance Method Summary collapse
Methods included from StatusCalculator::Status
Instance Method Details
#in_status? ⇒ Boolean
56 57 58 59 60 |
# File 'app/models/workarea/payment/status.rb', line 56 def in_status? order.tenders.all? do |tender| tender.refunded_amount == tender.amount end end |