Module: RegApi2::User
Overview
REG.API user category
Instance Method Summary (collapse)
-
- (String) create(opts = {})
New user registration.
-
- (Hash(currency, prepay, blocked, credit)) get_balance(opts = {})
View current balance.
-
- (Hash(costs_for_period, active_domains_cnt, active_domains_get_ctrl_cnt, renew_domains_cnt, ...)) get_statistics(opts = {})
Get user statistics.
-
- (void) nop
Accessibility testing.
-
- (Hash(total_payment, ...)) refill_balance(opts = {})
Add funds to the account.
Methods included from Builder
Instance Method Details
- (String) create(opts = {})
Note:
Accessability: partners
New user registration.
28 |
# File 'lib/reg_api2/user.rb', line 28 define :create, required: %w[ user_login user_password user_email user_country_code ], field: :user_id |
- (Hash(currency, prepay, blocked, credit)) get_balance(opts = {})
Note:
Accessability: clients
Note:
Support of service lists: no
View current balance.
47 |
# File 'lib/reg_api2/user.rb', line 47 define :get_balance, required: %w[ currency ] |
- (Hash(costs_for_period, active_domains_cnt, active_domains_get_ctrl_cnt, renew_domains_cnt, ...)) get_statistics(opts = {})
Note:
Accessability: clients
Note:
Support of service lists: no
Get user statistics.
38 |
# File 'lib/reg_api2/user.rb', line 38 define :get_statistics, optional: %w[ date_till date_from ] |
- (void) nop
This method returns an undefined value.
Accessibility testing.
17 |
# File 'lib/reg_api2/user.rb', line 17 define :nop |
- (Hash(total_payment, ...)) refill_balance(opts = {})
Note:
Accessability: clients
Note:
Support of service lists: no
Add funds to the account. Allows sending invoices to WebMoney and Yandex.Dengi.
61 |
# File 'lib/reg_api2/user.rb', line 61 define :refill_balance, required: %w[ pay_type wmid currency amount ] |