Sha256: 5d93d4bd4aca46bc824a12935b08ff13c8eea905f5c1ce5bc2e256d43452d9d1
Contents?: true
Size: 740 Bytes
Versions: 3
Compression:
Stored size: 740 Bytes
Contents
# Copyright 2009 Zerigo, Inc. See MIT-LICENSE for license information. # Visit http://www.zerigo.com/docs/managed-dns for updates and documentation. require 'activeresource-ext' require 'zerigodns/base' require 'zerigodns/config' require 'zerigodns/host' require 'zerigodns/zone' require 'zerigodns/zone_template' require 'zerigodns/host_template' require 'zerigodns/tools' module ZerigoDNS class <<self ## Instantiates and memoizes a new +Config+ object # # @return [Config] the cached configuration instance def config @config ||= Config.new end # Exposes a block with the +Config+ instance # # @yield [Config] the config instance def configure yield config end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zerigodns-1.0.2 | lib/zerigodns.rb |
zerigodns-1.0.1 | lib/zerigodns.rb |
zerigodns-1.0.0 | lib/zerigodns.rb |