Module: Porkbun

Defined in:
lib/porkbun.rb,
lib/porkbun/error.rb,
lib/porkbun/client.rb,
lib/porkbun/object.rb,
lib/porkbun/version.rb,
lib/porkbun/collection.rb,
lib/porkbun/configuration.rb,
lib/porkbun/models/domain.rb,
lib/porkbun/models/record.rb,
lib/porkbun/models/forward.rb,
lib/porkbun/models/name_server.rb

Defined Under Namespace

Classes: Client, Collection, Configuration, Domain, Error, Forward, NameServer, Object, Record

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



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

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

Class Method Details

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

Yields:



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

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