Sha256: 1763ca8171b3540206305d0876996c5d1de181a98f738f789525a6f8106f62d9

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

require "banana_bits/version"
require "banana_bits/configuration"
require "banana_bits/client"

module BananaBits
  class Error < StandardError; end

  class << self
    attr_writer :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end

    def reset!
      @configuration = Configuration.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
banana_bits-0.2.2 lib/banana_bits.rb
banana_bits-0.2.1 lib/banana_bits.rb
banana_bits-0.2.0 lib/banana_bits.rb