Sha256: e82ba099c2c5e418e4a42d01ab6638e8e5e0793ab44436b1307d9663b17fe8f7

Contents?: true

Size: 441 Bytes

Versions: 8

Compression:

Stored size: 441 Bytes

Contents

require 'raven/error'

module Raven
  module Transports
    class Transport
      attr_accessor :configuration

      def initialize(configuration)
        @configuration = configuration
      end

      def send_event # (auth_header, data, options = {})
        raise NotImplementedError, 'Abstract method not implemented'
      end

      protected

      def verify_configuration
        configuration.verify!
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sentry-raven-2.1.4 lib/raven/transports.rb
sentry-raven-2.1.3 lib/raven/transports.rb
sentry-raven-2.1.2 lib/raven/transports.rb
sentry-raven-2.1.1 lib/raven/transports.rb
sentry-raven-2.1.0 lib/raven/transports.rb
sentry-raven-2.0.2 lib/raven/transports.rb
sentry-raven-2.0.1 lib/raven/transports.rb
sentry-raven-2.0.0 lib/raven/transports.rb