Sha256: c0e16ece4e52212ff7f675034d651143fcb516114f1ffd35ea2ceecb65460de7
Contents?: true
Size: 323 Bytes
Versions: 29
Compression:
Stored size: 323 Bytes
Contents
module Ratis class Config attr_accessor :endpoint, :namespace, :proxy, :timeout, :log, :log_level def valid? return false if endpoint.nil? or namespace.nil? return false if endpoint.empty? or namespace.empty? true end private def initialize @timeout = 5 end end end
Version data entries
29 entries across 29 versions & 1 rubygems