Sha256: 445b007f1efd477261cd9e08ac3c4cb67676c44c38c0821da3209de751e6c002

Contents?: true

Size: 236 Bytes

Versions: 11

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module Sentry
  class DummyTransport < Transport
    attr_accessor :events

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

    def send_event(event)
      @events << event
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sentry-ruby-core-5.1.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.1.0 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.0.2 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.0.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-5.0.0 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.9.2 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.9.1 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.9.0 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.8.3 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.8.2 lib/sentry/transport/dummy_transport.rb
sentry-ruby-core-4.8.1 lib/sentry/transport/dummy_transport.rb