Sha256: cac1e0bbb516727b612b28192acd665ab09435d7152e7a731c653f11f8cb81cc

Contents?: true

Size: 444 Bytes

Versions: 10

Compression:

Stored size: 444 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.new('Abstract method not implemented')
      end

      protected

      def verify_configuration
        configuration.verify!
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sentry-raven-1.2.3 lib/raven/transports.rb
sentry-raven-1.2.2 lib/raven/transports.rb
sentry-raven-1.2.1 lib/raven/transports.rb
sentry-raven-1.2.0 lib/raven/transports.rb
sentry-raven-1.1.0 lib/raven/transports.rb
sentry-raven-1.0.0 lib/raven/transports.rb
sentry-raven-0.15.6 lib/raven/transports.rb
sentry-raven-0.15.5 lib/raven/transports.rb
sentry-raven-0.15.4 lib/raven/transports.rb
sentry-raven-0.15.3 lib/raven/transports.rb