Sha256: 7a4dcbbeddcdd934596fb0d57204bd8b444ebf769d4ebad1e90e1c3c3324fdf8

Contents?: true

Size: 509 Bytes

Versions: 14

Compression:

Stored size: 509 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 services registry when the server is running
      Server.register_service(base)
    end

  end
end


Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ruby_skynet-1.3.0.alpha3 lib/ruby_skynet/service.rb
ruby_skynet-1.3.0.alpha2 lib/ruby_skynet/service.rb
ruby_skynet-1.3.0.alpha1 lib/ruby_skynet/service.rb
ruby_skynet-1.2.7 lib/ruby_skynet/service.rb
ruby_skynet-1.2.6 lib/ruby_skynet/service.rb
ruby_skynet-1.2.5 lib/ruby_skynet/service.rb
ruby_skynet-1.2.4 lib/ruby_skynet/service.rb
ruby_skynet-1.2.3 lib/ruby_skynet/service.rb
ruby_skynet-1.2.2 lib/ruby_skynet/service.rb
ruby_skynet-1.2.1 lib/ruby_skynet/service.rb
ruby_skynet-1.2.0 lib/ruby_skynet/service.rb
ruby_skynet-1.1.1 lib/ruby_skynet/service.rb
ruby_skynet-1.1.0 lib/ruby_skynet/service.rb
ruby_skynet-1.0.0 lib/ruby_skynet/service.rb