class Namecheap::Whois_Guard

Public Instance Methods

allot(id, domain, options = {}) click to toggle source

Allots WhoisGuard privacy protection. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:allot

# File lib/namecheap/whois_guard.rb, line 5
def allot(id, domain, options = {})
  options = {:WhoisguardId => id, :DomainName => domain}.merge(options)
  get 'whoisguard.allot', options
end
change_email_address(id, options = {}) click to toggle source

Changes WhoisGuard email address. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:changeemailaddress

# File lib/namecheap/whois_guard.rb, line 40
def change_email_address(id, options = {})
  options = {:WhoisguardId => id}.merge(options)
  get 'whoisguard.changeemailaddress', options
end
disable(id, options = {}) click to toggle source

Disables WhoisGuard privacy protection for the WhoisguardID. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:disable

# File lib/namecheap/whois_guard.rb, line 26
def disable(id, options = {})
  options = {:WhoisguardId => id}.merge(options)
  get 'whoisguard.disable', options
end
discard(id, options = {}) click to toggle source

Discards the WhoisGuard. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:discard

# File lib/namecheap/whois_guard.rb, line 12
def discard(id, options = {})
  options = {:WhoisguardId => id}.merge(options)
  get 'whoisguard.discard', options
end
enable(id, options = {}) click to toggle source

Enables WhoisGuard privacy protection for the WhoisguardID. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:enable

# File lib/namecheap/whois_guard.rb, line 33
def enable(id, options = {})
  options = {:WhoisguardId => id}.merge(options)
  get 'whoisguard.enable', options
end
unallot(id, options = {}) click to toggle source

Unallots WhoisGuard privacy protection for the WhoisguardID. @see developer.namecheap.com/docs/doku.php?id=api-reference:whoisguard:unallot

# File lib/namecheap/whois_guard.rb, line 19
def unallot(id, options = {})
  options = {:WhoisguardId => id}.merge(options)
  get 'whoisguard.unallot', options
end