Sha256: 729bf163c1dc1031f76923e40d7fab11bd94136c92079185b6dc13db85349426

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

require "sharedcount/data"
require "sharedcount/api"
require "sharedcount/version"

module Sharedcount

  def self.configure(&block)
    yield @config ||= Configuration.new
  end

  def self.config
    @config
  end

  class Configuration
    attr_accessor :apikey, :endpoint
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sharedcount-0.0.2 lib/sharedcount.rb
sharedcount-0.0.1 lib/sharedcount.rb