Sha256: d1e2e24ecef72665de0f6118ec7910a61dd00d3ff66e4b8ac91528db2faaab9c

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

module DocJuan

  def self.configure
    yield config
  end

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

  class Configuration
    attr_accessor :host, :secret,
                  :username, :password
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doc_juan-1.2.2 lib/doc_juan/config.rb
doc_juan-1.2.1 lib/doc_juan/config.rb
doc_juan-1.2.0 lib/doc_juan/config.rb
doc_juan-1.1.0 lib/doc_juan/config.rb