class Textris::Delay::ActiveJob::Job

Public Instance Methods

perform(texter, action, args) click to toggle source
# File lib/textris/delay/active_job/job.rb, line 7
def perform(texter, action, args)
  texter = texter.safe_constantize

  if texter.present?
    texter.new(action, *args).call_action.deliver_now
  end
end