Exception: Authentication::AuthenticationError
- Inherits:
-
StandardError
- Object
- StandardError
- Authentication::AuthenticationError
- Defined in:
- lib/patch/action_controller/concerns/authentication.rb
Overview
Используется для сигнализации ошибки во время аутентификации
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(param) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
45 46 47 48 |
# File 'lib/patch/action_controller/concerns/authentication.rb', line 45 def initialize(param) @param = param super("Ошибка аутентификации: #{param}") end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
43 44 45 |
# File 'lib/patch/action_controller/concerns/authentication.rb', line 43 def param @param end |