Exception: Shamu::JsonApi::NoPresenter

Inherits:
Error
  • Object
show all
Defined in:
lib/shamu/json_api/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource, namespaces) ⇒ NoPresenter

Returns a new instance of NoPresenter.



23
24
25
# File 'lib/shamu/json_api/error.rb', line 23

def initialize( resource, namespaces )
  super translate( :no_presenter, class: resource.class, namespaces: namespaces )
end