mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Refactor
This commit is contained in:
parent
e20b138644
commit
6d257ecc2c
4 changed files with 24 additions and 14 deletions
6
app/helpers/epp/sessions_helper.rb
Normal file
6
app/helpers/epp/sessions_helper.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
module Epp::SessionsHelper
|
||||
def login_params
|
||||
login_params = parsed_frame.css('epp command login')
|
||||
{ username: login_params.css('clID').text, password: login_params.css('pw').text }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue