Sha256: 41541e7f79004c3d210a7da5496646f5317f1e1cd25861d8a4dc689cba6b59f4
Contents?: true
Size: 354 Bytes
Versions: 40
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require 'resolv' module Legitbot module Config module Resolver # :nodoc: def resolver_config(options = nil) @resolver_config = options end def resolver @resolver_config ||= Legitbot.resolver_config @resolver ||= Resolv::DNS.new @resolver_config end end end end
Version data entries
40 entries across 40 versions & 1 rubygems