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


15
16
17
# File 'app/services/projects/housekeeping_service.rb', line 15

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