Class: AdminAssistant::Request::ParamsForSave::Error
- Inherits:
-
Object
- Object
- AdminAssistant::Request::ParamsForSave::Error
- Defined in:
- lib/admin_assistant/request/base.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(attribute, message, options) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(attribute, message, options) ⇒ Error
Returns a new instance of Error.
221 222 223 |
# File 'lib/admin_assistant/request/base.rb', line 221 def initialize(attribute, , ) @attribute, @message, @options = attribute, , end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
219 220 221 |
# File 'lib/admin_assistant/request/base.rb', line 219 def @message end |