Class: I18nAdmin::Errors::ResourceInvalid
- Defined in:
- lib/i18n_admin/errors/resource_invalid.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#resource ⇒ Object
Returns the value of attribute resource.
Method Summary
Methods inherited from Base
#assign_attributes, #initialize, #messages, #type
Constructor Details
This class inherits a constructor from I18nAdmin::Errors::Base
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/i18n_admin/errors/resource_invalid.rb', line 4 def key @key end |
#resource ⇒ Object
Returns the value of attribute resource.
4 5 6 |
# File 'lib/i18n_admin/errors/resource_invalid.rb', line 4 def resource @resource end |