mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Hide methods
This commit is contained in:
parent
03c81c4c5d
commit
9341f658fd
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,8 @@ module Epp
|
||||||
helper_method :current_user
|
helper_method :current_user
|
||||||
helper_method :resource
|
helper_method :resource
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def validate_against_schema
|
def validate_against_schema
|
||||||
return if ['hello', 'error', 'keyrelay'].include?(params[:action])
|
return if ['hello', 'error', 'keyrelay'].include?(params[:action])
|
||||||
schema.validate(params[:nokogiri_frame]).each do |error|
|
schema.validate(params[:nokogiri_frame]).each do |error|
|
||||||
|
@ -348,8 +350,6 @@ module Epp
|
||||||
instance_variable_get("@#{name}")
|
instance_variable_get("@#{name}")
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def signed_in?
|
def signed_in?
|
||||||
epp_session
|
epp_session
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue