Sha256: c4daff895071662a2a6154ed914e8dfa9502e337883e3c6ef7f3c99cae16f34d
Contents?: true
Size: 384 Bytes
Versions: 8
Compression:
Stored size: 384 Bytes
Contents
module Wework class << self attr_accessor :config def configure yield config end def config @config ||= Config.new end def redis config.redis end def http_timeout_options config.http_timeout_options || {write: 5, connect: 5, read: 5} end end class Config attr_accessor :redis, :http_timeout_options end end
Version data entries
8 entries across 8 versions & 1 rubygems