Class: I18nAdmin::Errors::ResourceNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/i18n_admin/errors/resource_not_found.rb

Instance Attribute Summary collapse

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

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/i18n_admin/errors/resource_not_found.rb', line 4

def id
  @id
end

#keyObject

Returns the value of attribute key.



4
5
6
# File 'lib/i18n_admin/errors/resource_not_found.rb', line 4

def key
  @key
end

#model_nameObject

Returns the value of attribute model_name.



4
5
6
# File 'lib/i18n_admin/errors/resource_not_found.rb', line 4

def model_name
  @model_name
end