Sha256: 314b77338b53da2a11860f300f8d66ded9a022d69d0754e7d9e9ece2f2313a1e

Contents?: true

Size: 330 Bytes

Versions: 37

Compression:

Stored size: 330 Bytes

Contents

module Bugsnag
  module Delivery
    class << self
      def register(name, delivery_method)
        delivery_methods[name.to_sym] = delivery_method
      end

      def [](name)
        delivery_methods[name.to_sym]
      end

      private
      def delivery_methods
        @delivery_methods ||= {}
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
bugsnag-5.5.0 lib/bugsnag/delivery.rb
bugsnag-5.4.1 lib/bugsnag/delivery.rb
bugsnag-5.4.0 lib/bugsnag/delivery.rb
bugsnag-5.3.3 lib/bugsnag/delivery.rb
bugsnag-5.3.2 lib/bugsnag/delivery.rb
bugsnag-5.3.1 lib/bugsnag/delivery.rb
bugsnag-5.3.0 lib/bugsnag/delivery.rb
bugsnag-5.2.0 lib/bugsnag/delivery.rb
bugsnag-5.1.0 lib/bugsnag/delivery.rb
bugsnag-5.0.1 lib/bugsnag/delivery.rb
bugsnag-5.0.0 lib/bugsnag/delivery.rb
bugsnag-4.2.1 lib/bugsnag/delivery.rb
bugsnag-4.2.0 lib/bugsnag/delivery.rb
bugsnag-4.1.0 lib/bugsnag/delivery.rb
bugsnag-4.0.2 lib/bugsnag/delivery.rb
bugsnag-4.0.1 lib/bugsnag/delivery.rb
bugsnag-4.0.0 lib/bugsnag/delivery.rb
bugsnag-3.0.0 lib/bugsnag/delivery.rb
bugsnag-2.8.13 lib/bugsnag/delivery.rb
bugsnag-maglev--2.8.12 lib/bugsnag/delivery.rb