Sha256: 34cf5e0a4055cbe907a01784a6f562689f7fe0784aa35bf6298b823a9d162bfb

Contents?: true

Size: 497 Bytes

Versions: 22

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true
require 'qa_server/engine'
require 'qa_server/version'

module QaServer
  extend ActiveSupport::Autoload

  autoload :Configuration

  # @api public
  #
  # Exposes the Questioning Authority configuration
  #
  # @yield [Qa::Configuration] if a block is passed
  # @return [Qa::Configuration]
  # @see Qa::Configuration for configuration options
  def self.config(&block)
    @config ||= QaServer::Configuration.new

    yield @config if block

    @config
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
qa_server-5.1.0 lib/qa_server.rb
qa_server-5.0.3 lib/qa_server.rb
qa_server-5.0.2 lib/qa_server.rb
qa_server-5.0.1 lib/qa_server.rb
qa_server-5.0.0 lib/qa_server.rb
qa_server-4.0.0 lib/qa_server.rb
qa_server-3.0.3 lib/qa_server.rb
qa_server-3.0.2 lib/qa_server.rb
qa_server-3.0.1 lib/qa_server.rb
qa_server-3.0.0 lib/qa_server.rb
qa_server-2.2.3 lib/qa_server.rb
qa_server-2.2.2 lib/qa_server.rb
qa_server-2.2.1 lib/qa_server.rb
qa_server-2.2.0 lib/qa_server.rb
qa_server-2.1.0 lib/qa_server.rb
qa_server-2.0.0 lib/qa_server.rb
qa_server-1.2.3 lib/qa_server.rb
qa_server-1.2.2 lib/qa_server.rb
qa_server-1.2.1 lib/qa_server.rb
qa_server-1.2.0 lib/qa_server.rb