Exception: ActiveEntry::NotPerformedError
- Defined in:
- lib/active_entry/errors.rb
Direct Known Subclasses
AuthenticationNotPerformedError, AuthorizationNotPerformedError
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(class_name, method) ⇒ NotPerformedError
constructor
A new instance of NotPerformedError.
Constructor Details
#initialize(class_name, method) ⇒ NotPerformedError
Returns a new instance of NotPerformedError.
27 28 29 30 31 32 33 |
# File 'lib/active_entry/errors.rb', line 27 def initialize class_name, method @class_name = class_name @method = method @message = "Auth not performed for #{@class_name}##{@method}." super @message end |
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
25 26 27 |
# File 'lib/active_entry/errors.rb', line 25 def class_name @class_name end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
25 26 27 |
# File 'lib/active_entry/errors.rb', line 25 def method @method end |