Sha256: 6981f98a776ebba9d9628ad8bd4defaddf385f7d266d49174d88370c0dee502b
Contents?: true
Size: 436 Bytes
Versions: 19
Compression:
Stored size: 436 Bytes
Contents
module Dboard class Config @@config ||= {} def self.basic_auth(opts = {}) @@config[:basic_auth] = opts Dboard::Api::Client.basic_auth(opts[:user], opts[:password]) end def self.memcache(opts = {}) @@config[:memcache] = opts end def self.api(opts = {}) @@config[:api] = opts Dboard::Api::Client.base_uri opts[:uri] end def self.config @@config end end end
Version data entries
19 entries across 19 versions & 1 rubygems