module Namecheap

Constants

VERSION

Attributes

dns[RW]
domains[RW]
ns[RW]
ssl[RW]
transfers[RW]
users[RW]
whois_guard[RW]

Public Instance Methods

config()
Alias for: configure
configure() { |Config| ... } click to toggle source

Sets the Namecheap configuration options. Best used by passing a block.

@example Set up configuration options.

Namecheap.configure do |config|
  config.key = "apikey"
  config.username = "apiuser"
  config.client_ip = "127.0.0.1"
end

@return [ Config ] The configuration obejct.

# File lib/namecheap.rb, line 27
def configure
  block_given? ? yield(Config) : Config
end
Also aliased as: config