def job_url(*args)
      path = if args.size == 0
               @job_base
             else
               raise ArgumentError unless args.first =~ JOB_PATH_REGEX
               args.join('/')
             end

      URI.encode(@host + path)
    end
def job_url(*args)
      path = if args.size == 0
               @job_base
             else
               raise ArgumentError unless args.first =~ JOB_PATH_REGEX
               args.join('/')
             end

      URI.encode(@host + path)
    end
Returns a full URL for a given path to a job.