mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Fix Rubocop warnings
This commit is contained in:
parent
02aad0d781
commit
a651ac8cab
13 changed files with 26 additions and 20 deletions
|
@ -21,7 +21,8 @@ class Registrar
|
|||
uri = URI.parse("#{ENV['repp_url']}domain_transfers")
|
||||
request = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
||||
request.body = { data: { domainTransfers: domain_transfers } }.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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue