Module: ServiceActor::Base

Included in:
Actor
Defined in:
lib/service_actor/base.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/service_actor/base.rb', line 7

def included(base)
  # Essential mechanics
  base.include(ServiceActor::Core)
  base.include(ServiceActor::Configurable)
  base.include(ServiceActor::Attributable)
  base.include(ServiceActor::Playable)

  # Extra concerns
  base.include(ServiceActor::Checkable)
  base.include(ServiceActor::Defaultable)
  base.include(ServiceActor::Failable)
  base.include(ServiceActor::Valuable)
end