Sha256: a7028385ddc184e3820b76277eec8a26af46f22036e85cacc8beaae98bd4a483

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

require "wing/configuration"
require "wing/version"
require "wing/client"

module Wing
  class Error < StandardError; end

  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset_configuration
    @configuration = Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wing.rb-0.1.2 lib/wing.rb
wing.rb-0.1.1 lib/wing.rb