class Namecheap::Users

Public Instance Methods

change_password(options = {}) click to toggle source

Changes the password for a user. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:changepassword

# File lib/namecheap/users.rb, line 23
def change_password(options = {})
  get 'users.changePassword', options
end
create(options = {}) click to toggle source

Creates a new user account at NameCheap. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:create

# File lib/namecheap/users.rb, line 5
def create(options = {})
  get 'users.create', options
end
create_add_funds_request(options = {}) click to toggle source

Allows you to add funds to a user account. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:createaddfundsrequest

# File lib/namecheap/users.rb, line 35
def create_add_funds_request(options = {})
  get 'users.createaddfundsrequest', options
end
get_add_funds_status(id, options = {}) click to toggle source

Gets the status of add funds request. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:getaddfundsstatus

# File lib/namecheap/users.rb, line 41
def get_add_funds_status(id, options = {})
  options = {:TokenId => id}.merge(options)
  get 'users.getAddFundsStatus', options
end
get_balances(options = {}) click to toggle source

Gets information about fund in the user’s account. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:getbalances

# File lib/namecheap/users.rb, line 17
def get_balances(options = {})
  get 'users.getBalances', options
end
get_pricing(options = {}) click to toggle source

Returns pricing information for a requested product type. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:getpricing

# File lib/namecheap/users.rb, line 11
def get_pricing(options = {})
  get 'users.getPricing', options
end
login(options = {}) click to toggle source

Validates the username and password of user accounts you have created. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:login

# File lib/namecheap/users.rb, line 48
def login(options = {})
  get 'users.login', options
end
reset_password(options = {}) click to toggle source

Sends a reset password link to user. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:resetpassword

# File lib/namecheap/users.rb, line 54
def reset_password(options = {})
  get 'users.resetPassword', options
end
update(options = {}) click to toggle source

Updates user account information for the particular user. @see developer.namecheap.com/docs/doku.php?id=api-reference:users:update

# File lib/namecheap/users.rb, line 29
def update(options = {})
  get 'users.update', options
end