Module: Legitbot::Config::Resolver
- Included in:
- Validators::Domains::ClassMethods
- Defined in:
- lib/legitbot/config/resolver.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#resolver ⇒ Object
12 13 14 15 |
# File 'lib/legitbot/config/resolver.rb', line 12 def resolver @resolver_config ||= Legitbot.resolver_config @resolver ||= Resolv::DNS.new @resolver_config end |
#resolver_config(options = nil) ⇒ Object
8 9 10 |
# File 'lib/legitbot/config/resolver.rb', line 8 def resolver_config( = nil) @resolver_config = end |