Sha256: 2a7248ca60f9ed128d90d1efdc32fdad4672d1e4a5bb289702f7ebf79dc5f0c2

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

require 'swagger_ui_engine/engine'
require 'swagger_ui_engine/version'
require 'swagger_ui_engine/configuration'
require 'swagger_ui_engine/defaults'

module SwaggerUiEngine
  class << self
    delegate(*Configuration::OPTIONS, to: :configuration)

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swagger_ui_engine-1.1.2 lib/swagger_ui_engine.rb
swagger_ui_engine-1.1.1 lib/swagger_ui_engine.rb
swagger_ui_engine-1.1.0 lib/swagger_ui_engine.rb