Module: ActionService::Container

Defined in:
lib/action_service/container.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: ContainerError

Constant Summary collapse

DirectDispatching =
:direct
DelegatedDispatching =
:delegated

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object

:nodoc:



9
10
11
12
13
14
# File 'lib/action_service/container.rb', line 9

def self.append_features(base) # :nodoc:
  super
  base.class_inheritable_option(:service_dispatching_mode, DirectDispatching)
  base.extend(ClassMethods)
  base.send(:include, ActionService::Container::InstanceMethods)
end