Merge pull request #1318 from internetee/hide-methods

Hide methods
This commit is contained in:
Timo Võhmar 2019-09-16 16:58:33 +03:00 committed by GitHub
commit 7ad4c23a17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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