Sha256: ae0b000e4329ff1c4f2dfa8be727ea89718f2b1153a34569478b85fdd4cc8b99

Contents?: true

Size: 477 Bytes

Versions: 17

Compression:

Stored size: 477 Bytes

Contents

module Biro
  class Error < StandardError; end

  class << self
    def config
      Configuration.instance
    end

    def log(level, message)
      config.logger.send(level, message)
    end

    def configure
      yield config
    end

    def development?
      config.development?
    end

    def gateways
      @gateways ||= {}
    end
  end
end

require 'biro/version'
require 'biro/utils'
require "biro/configuration"
require "biro/response"
require "biro/gateways"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
biro-0.7.1 lib/biro.rb
biro-0.7.0 lib/biro.rb
biro-0.6.10 lib/biro.rb
biro-0.6.9 lib/biro.rb
biro-0.6.8 lib/biro.rb
biro-0.6.7 lib/biro.rb
biro-0.6.6 lib/biro.rb
biro-0.6.5 lib/biro.rb
biro-0.6.4 lib/biro.rb
biro-0.6.3 lib/biro.rb
biro-0.6.2 lib/biro.rb
biro-0.6.1 lib/biro.rb
biro-0.5.1 lib/biro.rb
biro-0.4.1 lib/biro.rb
biro-0.4.0 lib/biro.rb
biro-0.3.0 lib/biro.rb
biro-0.2.0 lib/biro.rb