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