Sha256: cfb689e58c29d4385fd658fd3857a8aad74ef4382c6bd654efed6d327c4bb566

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

require 'easy_swagger_ui/engine'
require 'easy_swagger_ui/version'
require 'easy_swagger_ui/configuration'
require 'easy_swagger_ui/route_matcher'

module EasySwaggerUi
  class << self
    # Get configuration easily
    delegate(*Configuration::OPTIONS, to: :configuration)

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
easy_swagger_ui-0.1.3 lib/easy_swagger_ui.rb
easy_swagger_ui-0.1.2 lib/easy_swagger_ui.rb
easy_swagger_ui-0.1.1 lib/easy_swagger_ui.rb
easy_swagger_ui-0.1.0 lib/easy_swagger_ui.rb