Sha256: 1c30522a087df03a4b611611a7137aea46df6c97d89028040f7705e33375f022
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
module Namecheap class Whois_Guard < Api def allot(id, domain, options = {}) args = options.clone args['WhoisguardId'] = id args['DomainName'] = domain api_call('namecheap.whoisguard.allot', args) end def discard(id, options = {}) args = options.clone args['WhoisguardId'] = id api_call('namecheap.whoisguard.discard', args) end def unallot(id, options = {}) args = options.clone args['WhoisguardId'] = id api_call('namecheap.whoisguard.unallot', args) end def disable(id, options = {}) args = options.clone args['WhoisguardId'] = id api_call('namecheap.whoisguard.disable', args) end def enable(id, options = {}) args = options.clone args['WhoisguardId'] = id api_call('namecheap.whoisguard.enable', args) end def change_email_address(id, options = {}) args = options.clone args['WhoisguardId'] = id api_call('namecheap.whoisguard.changeemailaddress', args) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
namecheap-0.2.0 | lib/namecheap/whois_guard.rb |