Class: Namecheap::Users

Inherits:
Api
  • Object
show all
Defined in:
lib/namecheap/users.rb

Constant Summary

Constants inherited from Api

Api::ENDPOINT, Api::ENVIRONMENT, Api::PRODUCTION, Api::SANDBOX

Instance Method Summary collapse

Methods inherited from Api

#api_call, #init_args

Instance Method Details

#change_password(options = {}) ⇒ Object



13
14
15
16
# File 'lib/namecheap/users.rb', line 13

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

#create_add_funds_request(options = {}) ⇒ Object



23
24
25
26
# File 'lib/namecheap/users.rb', line 23

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

#get_add_funds_status(id, options = {}) ⇒ Object



28
29
30
31
32
# File 'lib/namecheap/users.rb', line 28

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

#get_balances(options = {}) ⇒ Object



8
9
10
11
# File 'lib/namecheap/users.rb', line 8

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

#get_pricing(options = {}) ⇒ Object



3
4
5
6
# File 'lib/namecheap/users.rb', line 3

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

#login(options = {}) ⇒ Object



34
35
36
37
# File 'lib/namecheap/users.rb', line 34

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

#reset_password(options = {}) ⇒ Object



39
40
41
42
# File 'lib/namecheap/users.rb', line 39

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

#update(options = {}) ⇒ Object



18
19
20
21
# File 'lib/namecheap/users.rb', line 18

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