Refactor epp requests closer to international standard

This commit is contained in:
Martin Lensment 2014-07-03 17:47:53 +03:00
parent 4684b311a2
commit 9def6a7c27
11 changed files with 81 additions and 70 deletions

View file

@ -27,7 +27,7 @@ class Epp::SessionsController < ApplicationController
### HELPER METHODS ###
def login_params
ph = get_params_hash('epp command login')[:login]
ph = params_hash['epp']['command']['login']
{ username: ph[:clID], password: ph[:pw] }
end
end