class Omniperm::AuthorizationRequired

is working

Public Class Methods

__before_method() click to toggle source
# File lib/omniperm/decorators.rb, line 79
def self.__before_method
  # Warning: method name will be dected as __before_method
  unless service_authorized?
    return false # stop execution
  end
  return # allow execution to continue
end

Public Instance Methods

__before_method() click to toggle source
# File lib/omniperm/decorators.rb, line 87
def __before_method
  # Warning: method name will be dected as __before_method
  unless service_authorized?
    return false # stop execution
  end
  return # allow execution to continue
end