Sha256: 16615a460034e11d07794c586afa939769c732414c21db7472bf7429b87f622d

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

module Namecheap
  class Users < Api
    def get_pricing(options = {})
      args = options.clone
      api_call('namecheap.users.getPricing', args)
    end

    def get_balances(options = {})
      args = options.clone
      api_call('namecheap.users.getBalances', args)
    end

    def change_password(options = {})
      args = options.clone
      api_call('namecheap.users.changePassword', args)
    end

    def update(options = {})
      args = options.clone
      api_call('namecheap.users.update', args)
    end

    def create_add_funds_request(options = {})
      args = options.clone
      api_call('namecheap.users.createaddfundsrequest', args)
    end

    def get_add_funds_status(id, options = {})
      args = options.clone
      args['TokenId'] = id
      api_call('namecheap.users.getAddFundsStatus', args)
    end

    def login(options = {})
      args = options.clone
      api_call('namecheap.users.login', args)
    end

    def reset_password(options = {})
      args = options.clone
      api_call('namecheap.users.resetPassword', args)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
namecheap-0.2.0 lib/namecheap/users.rb