Class: Workarea::Fulfillment::Status::Open

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

Instance Method Summary collapse

Methods included from StatusCalculator::Status

#initialize

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/workarea/fulfillment/status.rb', line 15

def in_status?
  model.items.blank? || model.events.blank?
end