Sha256: 49cfd2f3fac914140def10b5ecb800174382b37ec2ea2cdcaedd39e9c171726e
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
module CoinMarketCap module Api module Config module Logger ATTRIBUTES = %i[ instance options proc ].freeze class << self attr_accessor(*ATTRIBUTES) def reset! self.instance = nil self.options = {} self.proc = nil end end module Accessor def logger block_given? ? yield(Config::Logger) : Config::Logger end def logger=(instance) logger.instance = instance end end end end end end CoinMarketCap::Api::Config::Logger.reset!
Version data entries
3 entries across 3 versions & 1 rubygems