Class: Integrations::Exclusions::DestroyService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/integrations/exclusions/destroy_service.rb

Instance Method Summary collapse

Methods inherited from BaseService

#initialize

Constructor Details

This class inherits a constructor from Integrations::Exclusions::BaseService

Instance Method Details

#executeObject



6
7
8
9
10
11
# File 'app/services/integrations/exclusions/destroy_service.rb', line 6

def execute
  result = validate
  return result if result.present?

  destroy_exclusions
end