Sha256: 4c038aa5f2cfeea43ecb2310e308b75f10a4590f8408b1df44bdf07ec3f4cb98

Contents?: true

Size: 261 Bytes

Versions: 8

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

require 'ostruct'
module Uffizzi
  def self.configuration
    @configuration ||= OpenStruct.new
  end

  def self.configure
    yield(configuration)
  end

  configure do |config|
    config.hostname = 'http://web:7000'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
uffizzi-cli-0.2.2 config/uffizzi.rb
uffizzi-cli-0.2.1 config/uffizzi.rb
uffizzi-cli-0.2.0 config/uffizzi.rb
uffizzi-cli-0.1.4.3 config/uffizzi.rb
uffizzi-cli-0.1.4.2 config/uffizzi.rb
uffizzi-cli-0.1.3 config/uffizzi.rb
uffizzi-cli-0.1.2 config/uffizzi.rb
uffizzi-cli-0.1.0 config/uffizzi.rb