Sha256: 42909891f496e588d7cedfa42c25f11a8c818198f2bca8498c3e5c16e9bb3a68

Contents?: true

Size: 625 Bytes

Versions: 15

Compression:

Stored size: 625 Bytes

Contents

module Sentry
  class Transport
    class Configuration
      attr_accessor :timeout, :open_timeout, :proxy, :ssl, :ssl_ca_file, :ssl_verification, :http_adapter, :faraday_builder,
        :transport_class, :encoding

      def initialize
        @ssl_verification = true
        @open_timeout = 1
        @timeout = 2
        @encoding = HTTPTransport::GZIP_ENCODING
      end

      def transport_class=(klass)
        unless klass.is_a?(Class)
          raise Sentry::Error.new("config.transport.transport_class must a class. got: #{klass.class}")
        end

        @transport_class = klass
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sentry-ruby-core-4.6.2 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.6.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.6.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.6.0.pre.beta.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.5.2 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.5.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.5.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.5.0.pre.beta.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.4.2 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.4.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.4.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.4.0.pre.beta.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.3.2 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.3.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.3.0 lib/sentry/transport/configuration.rb