Sha256: b85f4e251dbba2c575c205c2dff9c25a0b87b9e48001440e8b2785665707c729

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 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=
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bloodbath-1.1.0 lib/bloodbath.rb
bloodbath-1.0.0 lib/bloodbath.rb