Class: Core::Endpoint::BasicHandler
- Inherits:
-
Object
- Object
- Core::Endpoint::BasicHandler
- Extended by:
- Actions::Standard
- Includes:
- Actions, Associations::BelongsTo, Associations::HasFile, Associations::HasMany, Handlers, Json
- Defined in:
- app/api/core/endpoint/basic_handler.rb
Direct Known Subclasses
Core::Endpoint::Base::InstanceBehaviour::Handler, Core::Endpoint::Base::ModelBehaviour::Handler, Actions::Bound::Handler, Actions::Factory::Nested, Associations::HasMany::Handler
Defined Under Namespace
Modules: Json
Instance Method Summary collapse
-
#initialize(&block) ⇒ BasicHandler
constructor
A new instance of BasicHandler.
Constructor Details
#initialize(&block) ⇒ BasicHandler
Returns a new instance of BasicHandler.
57 58 59 60 61 |
# File 'app/api/core/endpoint/basic_handler.rb', line 57 def initialize(&block) @actions = self.class.standard_actions.dup super instance_eval(&block) if block end |