Exception: Shamu::JsonApi::NoPresenter
- Defined in:
- lib/shamu/json_api/error.rb
Instance Method Summary collapse
-
#initialize(resource, namespaces) ⇒ NoPresenter
constructor
A new instance of NoPresenter.
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 |