Module: Cuprum::Rails::Controller
- Defined in:
- lib/cuprum/rails/controller.rb
Overview
Provides a DSL for defining actions and responses.
Defined Under Namespace
Classes: UndefinedResourceError, UnknownFormatError
Instance Method Summary collapse
- #action_options ⇒ Object private
Instance Method Details
#action_options ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
53 54 55 56 57 58 |
# File 'lib/cuprum/rails/controller.rb', line 53 def { repository: self.class.repository, resource: self.class.resource } end |