Class: Core::Endpoint::BasicHandler

Inherits:
Object
  • Object
show all
Extended by:
Actions::Standard
Includes:
Actions, Associations::BelongsTo, Associations::HasFile, Associations::HasMany, Handlers, Json
Defined in:
app/api/core/endpoint/basic_handler.rb

Defined Under Namespace

Modules: Json

Instance Method Summary collapse

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