Class: AdminAssistant::Request::ParamsForSave::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/admin_assistant/request/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message, options)
  @attribute, @message, @options = attribute, message, options
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message


219
220
221
# File 'lib/admin_assistant/request/base.rb', line 219

def message
  @message
end