Sha256: 7fa9c9dec72e797664192264fdc67689c699818c6402bccc0c085700dd0be2ba

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

require "forwardable"

require_relative "bloodbath/version"
require_relative "bloodbath/configuration"
require_relative "bloodbath/event"

module Bloodbath
  class Error < StandardError; end
  @config = Bloodbath::Configuration.new

  class << self
    extend Forwardable

    attr_reader :config

    def_delegators :@config, :api_key, :api_key=
    def_delegators :@config, :api_base, :api_base=
    def_delegators :@config, :verbose, :verbose=
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bloodbath-1.1.1 lib/bloodbath.rb