Sha256: 221017e9405ac85392251b8cfc0356c0c873d554ddfad1b04427e190b40c6076

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require 'dry/swagger'
require 'rails'

module Dry
  module Swagger
    class Railtie < Rails::Railtie
      railtie_name :dry-swagger

      rake_tasks do
        path = File.expand_path(__dir__)
        Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-swagger-0.6.3 lib/dry/swagger/railtie.rb