mirror of
https://github.com/internetee/registry.git
synced 2025-05-31 09:53:56 +02:00
Update registrant
This commit is contained in:
parent
99eeeae89f
commit
0ddd2b6f32
2 changed files with 1 additions and 7 deletions
|
@ -1,11 +1,5 @@
|
||||||
class Registrant::WhoisController < RegistrantController
|
class Registrant::WhoisController < RegistrantController
|
||||||
def index
|
def index
|
||||||
authorize! :view, Registrant::Whois
|
authorize! :view, Registrant::Whois
|
||||||
if params[:domain_name].present?
|
|
||||||
whois_url = "#{ENV['restful_whois_url']}/v1/#{params[:domain_name]}"
|
|
||||||
binding.pry
|
|
||||||
page = Nokogiri::HTML(open(whois_url))
|
|
||||||
@results = 'ee'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -67,7 +67,7 @@ module Registry
|
||||||
password: ENV['smtp_password'],
|
password: ENV['smtp_password'],
|
||||||
authentication: ENV['smtp_authentication'],
|
authentication: ENV['smtp_authentication'],
|
||||||
domain: ENV['smtp_domain'],
|
domain: ENV['smtp_domain'],
|
||||||
openssl_verify_mode: ENV['smtp_openssl_verify_mode'],
|
openssl_verify_mode: ENV['smtp_openssl_verify_mode']
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue