mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
19 lines
284 B
Ruby
19 lines
284 B
Ruby
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
|
|
|
|
def error
|
|
render 'error'
|
|
end
|
|
end
|