Class: Workarea::Order::Status::ZipReferred

Inherits:
Object
  • Object
show all
Includes:
StatusCalculator::Status
Defined in:
app/models/workarea/order/status/zip_referred.rb

Instance Method Summary collapse

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/workarea/order/status/zip_referred.rb', line 7

def in_status?
  !order.placed? && order.zipco_referred? && !order.canceled?
end