Sha256: 8a6685219f81de2a6e3c4d4161ffddf148c4e3c99eca7616fd8ed706667e78da

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

require 'rswag3/ui/middleware'

module Rswag3
  module Ui
    class Engine < ::Rails::Engine
      isolate_namespace Rswag3::Ui

      initializer 'rswag3-ui.initialize' do |app|
        middleware.use Rswag3::Ui::Middleware, Rswag3::Ui.config
      end

      rake_tasks do
        load File.expand_path('../../../tasks/rswag3-ui_tasks.rake', __FILE__)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rswag3-ui-0.0.2 lib/rswag3/ui/engine.rb
rswag3-ui-0.0.1 lib/rswag3/ui/engine.rb