require 'bookyt_pos'
require 'rails'

module BookytPos
  class Railtie < Rails::Engine
    initializer :after_initialize do
      Bookyt::Engine.register_engine 'bookyt_pos'
    end
  end
end

require 'bookyt_pos'
require 'rails'

module BookytPos
  class Railtie < Rails::Engine
    initializer :after_initialize do |app|
      app.config.bookyt.engines << 'bookyt_pos'
    end
  end
end

Use app.config.bookyt.engines to register engines with bookyt.
Use app.config.bookyt.engines to register engines with bookyt.
