Class: Workarea::Payment::Status::Authorized
- Inherits:
-
Object
- Object
- Workarea::Payment::Status::Authorized
- 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
23 24 25 26 27 28 |
# File 'app/models/workarea/payment/status.rb', line 23 def in_status? order.tenders.all? do |tender| tender. == tender.amount && tender.captured_amount == 0 end end |