lib/background_job_tracking/config.rb
# wrapper for options passed to
# background_job_tracking class method
wrapper for options passed to
background_job_tracking class method
wrapper for options passed to background_job_tracking class method
def check_for_required_arguments(opts)
      raise ArgumentError("option :on required for background_job_tracking") unless opts[:on]
      raise ArgumentError("option :method_name required for background_job_tracking") unless opts[:method_name]
      warn "not going to update jobs on changes for #{opts[:method_name]}" unless opts[:update_if]
    end
def check_for_required_arguments ( opts ) raise ArgumentError ( "option :on required for background_job_tracking" ) unless opts [ :on ] raise ArgumentError ( "option :method_name required for background_job_tracking" ) unless opts [ :method_name ] warn "not going to update jobs on changes for #{opts[:method_name]}" unless opts [ :update_if ] end
wrapper for options passed to
background_job_tracking class method
wrapper for options passed to background_job_tracking class method
opts