class Activejob::PerformLater::Proxy

Public Class Methods

new(target, options) click to toggle source
# File lib/activejob/perform_later/proxy.rb, line 4
def initialize(target, options)
  @target = Util.proxiable_object(target)
  @options = options
end

Public Instance Methods

method_missing(method_name, *args) click to toggle source
# File lib/activejob/perform_later/proxy.rb, line 9
def method_missing(method_name, *args)
  Job.new(@target, method_name.to_s, args).enqueue @options
end