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


55
56
57
58
59
# File 'app/api/core/endpoint/basic_handler.rb', line 55

def initialize(&block)
  @actions = self.class.standard_actions.dup
  super
  instance_eval(&block) if block_given?
end