Class: Appfuel::Handler::Action
- Defined in:
- lib/appfuel/handler/action.rb
Constant Summary
Constants included from InjectDsl
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
- .container_class_type ⇒ Object
-
.container_relative_key ⇒ String
In order to reduce the length of namespaces actions are not required to be inside an Actions namespace, but, it is namespaced with in the application container, so we adjust for that here.
Methods inherited from Base
#build_criteria, #call, create_response, error, #error, inherited, #initialize, ok, #ok, #present, response?, response_handler, run, #search
Methods included from ValidatorDsl
#default_validator_name, #load_validator, #resolve_inputs, #skip_validation!, #skip_validation?, #validator, #validators, #validators?
Methods included from InjectDsl
#inject, #injections, #resolve_dependencies
Methods included from Application::AppContainer
#app_container, included, #qualify_container_key
Constructor Details
This class inherits a constructor from Appfuel::Handler::Base
Class Method Details
.container_class_type ⇒ Object
5 6 7 |
# File 'lib/appfuel/handler/action.rb', line 5 def container_class_type 'actions' end |
.container_relative_key ⇒ String
In order to reduce the length of namespaces actions are not required to be inside an Actions namespace, but, it is namespaced with in the application container, so we adjust for that here.
14 15 16 |
# File 'lib/appfuel/handler/action.rb', line 14 def container_relative_key "actions.#{super}" end |