Exception: Projects::HousekeepingService::LeaseTaken

Inherits:
StandardError
  • Object
show all
Defined in:
app/services/projects/housekeeping_service.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject


17
18
19
# File 'app/services/projects/housekeeping_service.rb', line 17

def to_s
  "Somebody already triggered housekeeping for this project in the past #{LEASE_TIMEOUT / 60} minutes"
end