def railtie(name, log_subscriber, controller_runtime)
      Class.new(Rails::Railtie) do
        railtie_name name
        initializer "#{name}.notifications" do
          SweetNotifications::Railtie.initialize_rails(name,
                                                       log_subscriber,
                                                       controller_runtime)
        end
      end
    end
def railtie(name, log_subscriber, controller_runtime)
      Class.new(Rails::Railtie) do
        railtie_name name
        initializer "#{name}.notifications" do
          SweetNotifications::Railtie.initialize_rails(name,
                                                       log_subscriber,
                                                       controller_runtime)
        end
      end
    end
Create a Railtie for LogSubscriber and ControllerRuntime mixin

 @param name [Symbol] Notifications namespace
 @param log_subscriber [LogSubscriber] subscriber to be attached
 @param controller_runtime [Module] mixin that logs runtime
 @return [Rails::Railtie] Rails initializer