class Namecheap::Transfers

Public Instance Methods

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

Transfers a domain to Namecheap. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.transfer:create

# File lib/namecheap/transfers.rb, line 5
def create(domain, options = {})
  options = {:DomainName => domain}.merge(options)
  get 'domains.transfer.create', options
end
get_list(options = {}) click to toggle source

Gets the list of domain transfers. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.transfer:getlist

# File lib/namecheap/transfers.rb, line 26
def get_list(options = {})
  get 'domains.transfer.getList', options
end
get_status(id, options = {}) click to toggle source

Gets the status of a particular transfer. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.transfer:getstatus

# File lib/namecheap/transfers.rb, line 12
def get_status(id, options = {})
  options = {:TransferID => id}.merge(options)
  get 'domains.transfer.getStatus', options
end
update_status(id, options = {}) click to toggle source

Updates the status of a particular transfer. @see developer.namecheap.com/docs/doku.php?id=api-reference:domains.transfer:updatestatus

# File lib/namecheap/transfers.rb, line 19
def update_status(id, options = {})
  options = {:TransferID => id}.merge(options)
  get 'domains.transfer.updateStatus', options
end