module Quebert::AsyncSender::Instance::InstanceMethods
Public Instance Methods
build_job(meth, *args)
click to toggle source
Build a job that uses the @__initialize_args
# File lib/quebert/async_sender/instance.rb, line 31 def build_job(meth, *args) InstanceJob.new(self.class.name, @__initialize_args, meth, *args) end
initialize_with_async_sender(*args)
click to toggle source
Remember the args used to initialize the class so that we can serialize them into a Job
.
# File lib/quebert/async_sender/instance.rb, line 37 def initialize_with_async_sender(*args) initialize_without_async_sender(*(@__initialize_args = args)) end