class Namecheap::Ns
Public Instance Methods
create(sld, tld, options = {})
click to toggle source
Creates a new nameserver. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.ns:create
# File lib/namecheap/ns.rb, line 5 def create(sld, tld, options = {}) options = {:SLD => sld, :TLD => tld}.merge(options) get 'domains.ns.create', options end
delete(sld, tld, options = {})
click to toggle source
Deletes a nameserver associated with the requested domain. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.ns:delete
# File lib/namecheap/ns.rb, line 12 def delete(sld, tld, options = {}) options = {:SLD => sld, :TLD => tld}.merge(options) get 'domains.ns.delete', options end
get_info(sld, tld, options = {})
click to toggle source
Retrieves information about a registered nameserver. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.ns:getinfo
# File lib/namecheap/ns.rb, line 19 def get_info(sld, tld, options = {}) options = {:SLD => sld, :TLD => tld}.merge(options) get 'domains.ns.getInfo', options end
update(sld, tld, options = {})
click to toggle source
Updates the IP address of a registered nameserver. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.ns:update
# File lib/namecheap/ns.rb, line 26 def update(sld, tld, options = {}) options = {:SLD => sld, :TLD => tld}.merge(options) get 'domains.ns.update', options end