Exception: Shaf::ResourceUris::UriHelperMethodAlreadyExistError

Inherits:
Error
  • Object
show all
Defined in:
lib/shaf/extensions/resource_uris.rb

Instance Method Summary collapse

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