Module: RubySkynet::Service

Defined in:
lib/ruby_skynet/service.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/ruby_skynet/service.rb', line 13

def self.included(base)
  base.extend ::RubySkynet::Base::ClassMethods
  base.class_eval do
    include SemanticLogger::Loggable
  end
  # Register the service with the Server
  # The server will publish the server to services registry when the server is running
  Server.register_service(base)
end