Sha256: 1e0c170be257e0472bce14cc100b426cae75209d14e7899e9bb7f9759e6db2ea

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true

require "zeitwerk"
require "logger"
require "active_support/core_ext/module/attribute_accessors"

loader = Zeitwerk::Loader.for_gem
loader.setup
loader.ignore("#{__dir__}/boom_nats/railtie.rb")
loader.ignore("#{__dir__}/generators/**/*.rb")

module BoomNats
  class Error < StandardError; end

  extend BoomNats::Serializer
  extend BoomNats::Setup
  extend BoomNats::Requester

  mattr_accessor :logger
end

BoomNats.logger = Logger.new(STDOUT)

require "boom_nats/railtie" if defined?(::Rails::Railtie)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boom_nats-0.1.5 lib/boom_nats.rb
boom_nats-0.1.4 lib/boom_nats.rb
boom_nats-0.1.3 lib/boom_nats.rb