Class: Appfuel::Handler::Action

Inherits:
Base
  • Object
show all
Defined in:
lib/appfuel/handler/action.rb

Constant Summary

Constants included from InjectDsl

InjectDsl::TYPES

Instance Attribute Summary

Attributes inherited from Base

#data

Class Method Summary collapse

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_typeObject



5
6
7
# File 'lib/appfuel/handler/action.rb', line 5

def container_class_type
  'actions'
end

.container_relative_keyString

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.

Returns:

  • (String)


14
15
16
# File 'lib/appfuel/handler/action.rb', line 14

def container_relative_key
  "actions.#{super}"
end