Sha256: 53934b844a02a8794cbf97bd82f9a0ae855834a466b9dd4ba38036a682b3f413
Contents?: true
Size: 318 Bytes
Versions: 8
Compression:
Stored size: 318 Bytes
Contents
module Ratis class Config attr_accessor :appid, :endpoint, :log, :log_level, :namespace, :proxy, :timeout def valid? !(endpoint.nil? || endpoint.empty? || namespace.nil? || namespace.empty? || appid.nil? || appid.empty?) end private def initialize @timeout = 5 end end end
Version data entries
8 entries across 8 versions & 1 rubygems