Exception: Shaf::ResourceUris::UriHelperMethodAlreadyExistError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Shaf::ResourceUris::UriHelperMethodAlreadyExistError
- Defined in:
- lib/shaf/extensions/resource_uris.rb
Instance Method Summary collapse
-
#initialize(resource_name, method_name) ⇒ UriHelperMethodAlreadyExistError
constructor
A new instance of UriHelperMethodAlreadyExistError.
Constructor Details
#initialize(resource_name, method_name) ⇒ UriHelperMethodAlreadyExistError
Returns a new instance of UriHelperMethodAlreadyExistError.
6 7 8 9 10 11 |
# File 'lib/shaf/extensions/resource_uris.rb', line 6 def initialize(resource_name, method_name) super( "resource uri #{resource_name} can't be registered. " \ "Method :#{method_name} already exist!" ) end |