Sha256: 78a56740b32ce84010d39f5dca6ff65f84436b9b57e2a8bd32db331fa7602fa9

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

require 'singleton'

# Root Crunchbase
module Crunchbase
  # Config
  class Config
    include Singleton
    attr_accessor :user_key, :debug
  end

  def self.config
    yield Config.instance if block_given?

    Config.instance
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
crunchbase4-0.1.8 lib/crunchbase/config.rb
crunchbase4-0.1.7 lib/crunchbase/config.rb
crunchbase4-0.1.6 lib/crunchbase/config.rb
crunchbase4-0.1.5 lib/crunchbase/config.rb
crunchbase4-0.1.4 lib/crunchbase/config.rb
crunchbase4-0.1.3 lib/crunchbase/config.rb
crunchbase4-0.1.2 lib/crunchbase/config.rb
crunchbase4-0.1.1 lib/crunchbase/config.rb