Module: MLserver

Defined in:
lib/MLserver.rb,
lib/MLserver/logger.rb,
lib/MLserver/server.rb,
lib/MLserver/request.rb,
lib/MLserver/response.rb,
lib/MLserver/settings.rb,
lib/MLserver/client_handler.rb,
lib/MLserver/error_response.rb,
lib/MLserver/request_parser.rb,
lib/MLserver/redirect_response.rb

Defined Under Namespace

Modules: RequestParser, Server Classes: ClientHandler, ErrorResponse, Logger, RedirectResponse, Request, Response, Settings

Constant Summary collapse

DefaultLogger =
Logger.new(out: STDOUT, err: STDERR, log_colors: dlcolors)
@@settings =
nil

Class Method Summary collapse

Class Method Details

.settingsObject



25
26
27
# File 'lib/MLserver/settings.rb', line 25

def self.settings
  @@settings
end

.settings=(x) ⇒ Object



29
30
31
# File 'lib/MLserver/settings.rb', line 29

def self.settings=(x)
  @@settings=x
end

.versionObject



2
3
4
# File 'lib/MLserver.rb', line 2

def self.version
  "1.0.4"
end