mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Unit support for domain creating
This commit is contained in:
parent
2220846b9f
commit
cb2a5f0723
5 changed files with 49 additions and 9 deletions
|
@ -20,6 +20,10 @@ module Epp::Common
|
|||
@params_hash ||= Hash.from_xml(params[:frame]).with_indifferent_access
|
||||
end
|
||||
|
||||
def parsed_frame
|
||||
@parsed_frame ||= Nokogiri::XML(params[:frame]).remove_namespaces!
|
||||
end
|
||||
|
||||
def epp_session
|
||||
EppSession.find_or_initialize_by(session_id: cookies['session'])
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue