Exception: User::PermissionsNotConfigured
- Inherits:
-
StandardError
- Object
- StandardError
- User::PermissionsNotConfigured
- Defined in:
- app/models/user.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(controller, action) ⇒ PermissionsNotConfigured
constructor
A new instance of PermissionsNotConfigured.
Constructor Details
#initialize(controller, action) ⇒ PermissionsNotConfigured
Returns a new instance of PermissionsNotConfigured.
42 43 44 |
# File 'app/models/user.rb', line 42 def initialize(controller,action) @message = "Permissions not yet configured for #{controller}/#{action}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
41 42 43 |
# File 'app/models/user.rb', line 41 def @message end |