Sha256: b0134c93200d2982429d241e2ab562f32617c98c3d5994352b678584bde0e767
Contents?: true
Size: 389 Bytes
Versions: 14
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect class Railtie < Rails::Railtie # Allow ActiveJob to serialize DjiMqttConnect::Message objects config.active_job.custom_serializers << Railties::MessageSerializer # Replace default logger with Rails logger initializer "dji_mqtt_connect.configure_logger" do DjiMqttConnect.logger = Rails.logger end end end
Version data entries
14 entries across 14 versions & 1 rubygems