module Textris::Delay::ActiveJob

Public Instance Methods

deliver_later(options = {}) click to toggle source
# File lib/textris/delay/active_job.rb, line 8
def deliver_later(options = {})
  job = Textris::Delay::ActiveJob::Job

  job.new(texter(:raw => true).to_s, action.to_s, args).enqueue(options)
end
deliver_now() click to toggle source
# File lib/textris/delay/active_job.rb, line 4
def deliver_now
  deliver
end