Sha256: c5ac02fa3a448d2a88de2f7d3b0d8b836cda93e6ca3a9c2488363e245496b442

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

module RestPack::Web
  class Configuration
    attr_accessor :authentication_port

    def initialize
      @authentication_port = nil
    end
  end

  mattr_accessor :config
  @@config = Configuration.new

  def self.setup
    yield @@config
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restpack_web-0.4.1 lib/restpack_web/configuration.rb
restpack_web-0.0.5 lib/restpack_web/configuration.rb