Sha256: 676ff05eedd815f27e06a058e4705828724c8af86faa00914819514c1d1ba96e

Contents?: true

Size: 340 Bytes

Versions: 67

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Sentry
  class DummyTransport < Transport
    attr_accessor :events, :envelopes

    def initialize(*)
      super
      @events = []
      @envelopes = []
    end

    def send_event(event)
      @events << event
    end

    def send_envelope(envelope)
      @envelopes << envelope
    end
  end
end

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
sentry-ruby-5.4.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.4.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.4.0 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.3.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.3.0 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.2.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.2.0 lib/sentry/transport/dummy_transport.rb