Exception: SimpleAdmin::ActionNotAllowed
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleAdmin::ActionNotAllowed
- Defined in:
- lib/simple_admin.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(action) ⇒ ActionNotAllowed
constructor
A new instance of ActionNotAllowed.
Constructor Details
#initialize(action) ⇒ ActionNotAllowed
Returns a new instance of ActionNotAllowed.
118 119 120 |
# File 'lib/simple_admin.rb', line 118 def initialize(action) @message = "SimpleAdmin #{action} action undefined, make sure you have allowed this action in your interface definition." end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
116 117 118 |
# File 'lib/simple_admin.rb', line 116 def @message end |