Class: NeetoCommonsBackend::SampleData::Common::DatabaseCleanupService

Inherits:
Base
  • Object
show all
Defined in:
app/services/neeto_commons_backend/sample_data/common/database_cleanup_service.rb

Instance Method Summary collapse

Methods inherited from Base

#admin, #app_secrets, #description, #heroku_or_development_env?, #load!, #organization, #print_description, #print_success, #skip?

Instance Method Details

#process!Object



7
8
9
# File 'app/services/neeto_commons_backend/sample_data/common/database_cleanup_service.rb', line 7

def process!
  DatabaseCleaner.clean_with :truncation
end