Sha256: 2ef3395b7cfa0d3ac28cac1b8bfa49870c3b721cb368ea4e11fdaa313d248777

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

require "paw_client/version"
require "paw_client/configuration"
require "paw_client/client"

module PawClient

  def self.config(reload=false)
    if !@config||reload
      @config=Configuration.new
    end
    @config
  end

  def self.config=(value)
    @config=value
  end

  def self.configure(reload=false)
    yield(config(reload))
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paw_client-0.0.7 lib/paw_client.rb
paw_client-0.0.1 lib/paw_client.rb