Sha256: 6bbda729b1a6051a1a16bfaeb71e0812a240414d10f6c831173592f1368e52f5

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

module GarnetClient
  class Engine < ::Rails::Engine
    isolate_namespace GarnetClient

    initializer 'GarnetClient', group: :all do |app|
      Rails.application.routes.prepend do
        mount GarnetClient::Engine, at: '/api/garnet_client'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
garnet_client-0.1.13 lib/garnet_client/engine.rb
garnet_client-0.1.12 lib/garnet_client/engine.rb
garnet_client-0.1.11 lib/garnet_client/engine.rb
garnet_client-0.1.10 lib/garnet_client/engine.rb