Module: ZerigoDNS
- Defined in:
- lib/zerigodns.rb,
lib/zerigodns/base.rb,
lib/zerigodns/config.rb
Defined Under Namespace
Classes: Base, Config, Host, HostTemplate, Tools, Zone, ZoneTemplate
Class Method Summary collapse
-
.config ⇒ Config
Instantiates and memoizes a new
Configobject. -
.configure {|Config| ... } ⇒ Object
Exposes a block with the
Configinstance.
Class Method Details
.config ⇒ Config
Instantiates and memoizes a new Config object
17 18 19 |
# File 'lib/zerigodns.rb', line 17 def config @config ||= Config.new end |
.configure {|Config| ... } ⇒ Object
Exposes a block with the Config instance
25 26 27 |
# File 'lib/zerigodns.rb', line 25 def configure yield config end |