mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +02:00
Fixed codeclimate issues
This commit is contained in:
parent
6bf3819894
commit
0069d57c6f
4 changed files with 7 additions and 3 deletions
|
@ -25,6 +25,7 @@ module Repp
|
|||
types_for_select: AccountActivity.types_for_select })
|
||||
end
|
||||
|
||||
# rubocop:disable Metrics/MethodLength
|
||||
api :get, '/repp/v1/accounts/details'
|
||||
desc 'Get current registrar account details'
|
||||
def details
|
||||
|
@ -42,6 +43,7 @@ module Repp
|
|||
interfaces: WhiteIp::INTERFACES }
|
||||
render_success(data: resp)
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
||||
api :put, '/repp/v1/accounts'
|
||||
desc 'Update current registrar account details'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue