Module: Fried::Service::OnBuild

Defined in:
lib/fried/service/on_build.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
10
11
12
# File 'lib/fried/service/on_build.rb', line 7

def self.included(klass)
  klass.instance_eval do
    include ::Fried::Call::OnNew
    include Fried::Dependency::Schema
  end
end

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/fried/service/on_build.rb', line 14

def call
  raise NotImplementedError, "A service needs a #call method"
end