This commit is contained in:
Martin Lensment 2014-06-20 17:37:39 +03:00
parent e20b138644
commit 6d257ecc2c
4 changed files with 24 additions and 14 deletions

View file

@ -0,0 +1,15 @@
module Epp::Common
extend ActiveSupport::Concern
included do
protect_from_forgery with: :null_session
end
def proxy
send(params[:command])
end
def parsed_frame
Nokogiri::XML(params[:frame]).remove_namespaces!
end
end