Sha256: a7c78c9ae122344863c5075664086ed613b96a479d230b239b1e2f53f93fcdd0

Contents?: true

Size: 557 Bytes

Versions: 17

Compression:

Stored size: 557 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

      def initialize
        @ssl_verification = true
        @open_timeout = 1
        @timeout = 2
      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

17 entries across 17 versions & 2 rubygems

Version Path
sentry-ruby-core-4.2.2 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.2.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.2.0 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.1.6 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.1.5 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.1.5.pre.beta.1 lib/sentry/transport/configuration.rb
sentry-ruby-core-4.1.5.pre.beta.0 lib/sentry/transport/configuration.rb
sentry-ruby-4.1.4 lib/sentry/transport/configuration.rb
sentry-ruby-4.1.3 lib/sentry/transport/configuration.rb
sentry-ruby-4.1.2 lib/sentry/transport/configuration.rb
sentry-ruby-4.1.1 lib/sentry/transport/configuration.rb
sentry-ruby-4.1.0 lib/sentry/transport/configuration.rb
sentry-ruby-4.0.1 lib/sentry/transport/configuration.rb
sentry-ruby-4.0.0 lib/sentry/transport/configuration.rb
sentry-ruby-0.3.0 lib/sentry/transport/configuration.rb
sentry-ruby-0.2.0 lib/sentry/transport/configuration.rb
sentry-ruby-0.1.3 lib/sentry/transport/configuration.rb