Sha256: dccec21ba449ac3b894cbf472ec6f539633c6dea6888f69ef16cbaf6eb36a504

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

module FeishuApi
  class Engine < ::Rails::Engine
    isolate_namespace FeishuApi

    initializer('feishu-api', after: :load_config_initializers) do |_app|
      Rails.application.routes.prepend do
        mount FeishuApi::Engine, at: '/feishu-api'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
feishu-api-0.3.0 lib/feishu-api/engine.rb
feishu-api-0.2.0 lib/feishu-api/engine.rb
feishu-api-0.1.0 lib/feishu-api/engine.rb