Class: DomainDriven::Service

Inherits:
Object
  • Object
show all
Includes:
Interactor, Pundit
Defined in:
lib/domain_driven/service.rb

Instance Method Summary collapse

Instance Method Details

#performObject



9
10
11
12
13
14
15
16
17
# File 'lib/domain_driven/service.rb', line 9

def perform
  perform_main
rescue DomainDriven::RecordNotFound
  raise
rescue Pundit::NotAuthorizedError
  raise
# rescue => x
#   perform_rescue(x)
end