Sha256: 9b8e154f33953746403900d1a3dcdce0642dd3815a5015358ca8a052354858a6

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

require 'semantic_logger'

#
# RubySkynet Service
#
# Supports
#   Hosting Skynet Services
#   Skynet Service registration
#
module RubySkynet
  module Service

    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 Doozer when the server is running
      Server.register_service(base)
    end

  end
end


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_skynet-0.8.1 lib/ruby_skynet/service.rb
ruby_skynet-0.8.0 lib/ruby_skynet/service.rb
ruby_skynet-0.7.0 lib/ruby_skynet/service.rb
ruby_skynet-0.6.0 lib/ruby_skynet/service.rb
ruby_skynet-0.5.0 lib/ruby_skynet/service.rb