mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Fix Rubocop warnings
This commit is contained in:
parent
02aad0d781
commit
a651ac8cab
13 changed files with 26 additions and 20 deletions
|
@ -12,7 +12,8 @@ class Registrar
|
|||
attributes: { hostname: params[:new_hostname],
|
||||
ipv4: ipv4,
|
||||
ipv6: ipv6 } } }.to_json
|
||||
request.basic_auth(current_registrar_user.username, current_registrar_user.plain_text_password)
|
||||
request.basic_auth(current_registrar_user.username,
|
||||
current_registrar_user.plain_text_password)
|
||||
|
||||
if Rails.env.test?
|
||||
response = Net::HTTP.start(uri.hostname, uri.port,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue