lib/message_bus/rails/railtie.rb in message_bus-2.1.6 vs lib/message_bus/rails/railtie.rb in message_bus-2.2.0.pre

- old
+ new

@@ -1,6 +1,7 @@ # frozen_string_literal: true + module MessageBus; module Rails; end; end # rails engine for asset pipeline class MessageBus::Rails::Engine < ::Rails::Engine; end @@ -23,9 +24,10 @@ MessageBus.logger = Rails.logger end def api_only?(config) return false unless config.respond_to?(:api_only) + config.api_only end def flash_middleware_deleted?(middleware) ops = middleware.instance_variable_get(:@operations)