Sha256: 8192fe9205b9c24e87591b724ae06abbfd7f6e7c566c800833f8d52339bd4102

Contents?: true

Size: 537 Bytes

Versions: 39

Compression:

Stored size: 537 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

      def event(payload)
        StubbedResponse.new
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
honeybadger-5.26.2 lib/honeybadger/backend/null.rb
honeybadger-5.26.1 lib/honeybadger/backend/null.rb
honeybadger-5.26.0 lib/honeybadger/backend/null.rb
honeybadger-5.25.0 lib/honeybadger/backend/null.rb
honeybadger-5.24.0 lib/honeybadger/backend/null.rb
honeybadger-5.23.0 lib/honeybadger/backend/null.rb
honeybadger-5.22.0 lib/honeybadger/backend/null.rb
honeybadger-5.21.0 lib/honeybadger/backend/null.rb
honeybadger-5.20.1 lib/honeybadger/backend/null.rb
honeybadger-5.20.0 lib/honeybadger/backend/null.rb
honeybadger-5.19.2 lib/honeybadger/backend/null.rb
honeybadger-5.19.1 lib/honeybadger/backend/null.rb
honeybadger-5.19.0 lib/honeybadger/backend/null.rb
honeybadger-5.18.0 lib/honeybadger/backend/null.rb
honeybadger-5.17.0 lib/honeybadger/backend/null.rb
honeybadger-5.16.0 lib/honeybadger/backend/null.rb
honeybadger-5.15.6 lib/honeybadger/backend/null.rb
honeybadger-5.15.5 lib/honeybadger/backend/null.rb
honeybadger-5.15.4 lib/honeybadger/backend/null.rb
honeybadger-5.15.3 lib/honeybadger/backend/null.rb