Module: HetznerDNS

Defined in:
lib/hetzner_dns.rb,
lib/hetzner_dns/error.rb,
lib/hetzner_dns/client.rb,
lib/hetzner_dns/object.rb,
lib/hetzner_dns/version.rb,
lib/hetzner_dns/collection.rb,
lib/hetzner_dns/models/zone.rb,
lib/hetzner_dns/configuration.rb

Defined Under Namespace

Classes: Client, Collection, Configuration, Error, Object, Zone

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



21
22
23
# File 'lib/hetzner_dns.rb', line 21

def self.config
  @config ||= HetznerDNS::Configuration.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/hetzner_dns.rb', line 17

def self.configure
  yield(config) if block_given?
end