Exception: Avo::ResourceNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Avo::ResourceNotFoundError
- Defined in:
- lib/avo.rb
Instance Method Summary collapse
-
#initialize(resource_name) ⇒ ResourceNotFoundError
constructor
A new instance of ResourceNotFoundError.
Constructor Details
#initialize(resource_name) ⇒ ResourceNotFoundError
Returns a new instance of ResourceNotFoundError.
59 60 61 62 63 64 |
# File 'lib/avo.rb', line 59 def initialize(resource_name) super( "Resource for '#{resource_name}' not found.\n" \ "You can generate a resource for it by running 'rails generate avo:resource #{resource_name}'." ) end |