Sha256: 416d085ee9d18e380d449e49586588281bb8754e3fe56eb468bbd5b84c1a8e15

Contents?: true

Size: 473 Bytes

Versions: 41

Compression:

Stored size: 473 Bytes

Contents

require 'honeybadger/backend/base'

module Honeybadger
  module Backend
    class Null < Base
      class StubbedResponse < Response
        def initialize
          super(:stubbed, '{}'.freeze)
        end

        def success?
          true
        end
      end

      def initialize(*args)
        super
      end

      def notify(feature, payload)
        StubbedResponse.new
      end

      def check_in(id)
        StubbedResponse.new
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
honeybadger-5.4.1 lib/honeybadger/backend/null.rb
honeybadger-5.4.0 lib/honeybadger/backend/null.rb
honeybadger-5.3.0 lib/honeybadger/backend/null.rb
honeybadger-5.2.1 lib/honeybadger/backend/null.rb
honeybadger-5.0.2 lib/honeybadger/backend/null.rb
honeybadger-5.0.1 lib/honeybadger/backend/null.rb
honeybadger-5.0.0 lib/honeybadger/backend/null.rb
honeybadger-5.0.0.beta1 lib/honeybadger/backend/null.rb
honeybadger-4.12.2 lib/honeybadger/backend/null.rb
honeybadger-4.12.1 lib/honeybadger/backend/null.rb
honeybadger-4.12.0 lib/honeybadger/backend/null.rb
honeybadger-4.11.0 lib/honeybadger/backend/null.rb
honeybadger-4.10.0 lib/honeybadger/backend/null.rb
honeybadger-4.9.0 lib/honeybadger/backend/null.rb
honeybadger-4.8.0 lib/honeybadger/backend/null.rb
honeybadger-4.7.3 lib/honeybadger/backend/null.rb
honeybadger-4.7.2 lib/honeybadger/backend/null.rb
honeybadger-4.7.1 lib/honeybadger/backend/null.rb
honeybadger-4.7.0 lib/honeybadger/backend/null.rb
honeybadger-4.6.0 lib/honeybadger/backend/null.rb