Class: LcpRuby::BackgroundJobs::Declarative::SendNotificationAction

Inherits:
BaseAction show all
Defined in:
lib/lcp_ruby/background_jobs/declarative/send_notification_action.rb

Instance Attribute Summary

Attributes inherited from BaseHandler

#definition, #execution

Instance Method Summary collapse

Methods inherited from BaseAction

#config

Methods inherited from BaseHandler

#attach_result!, #check_cancellation!, #flush_log!, #initialize, #log!, #params, #set_result_url!, #target_record, #triggered_by, #update_progress!

Constructor Details

This class inherits a constructor from LcpRuby::BackgroundJobs::BaseHandler

Instance Method Details

#performObject

Raises:

  • (NotImplementedError)


5
6
7
8
9
# File 'lib/lcp_ruby/background_jobs/declarative/send_notification_action.rb', line 5

def perform
  raise NotImplementedError,
    "send_notification action depends on the notifications module which is not yet implemented. " \
    "Configure a custom handler class instead."
end