class Sentry::Transport::Configuration

Attributes

encoding[RW]
faraday_builder[RW]
http_adapter[RW]
open_timeout[RW]
proxy[RW]
ssl[RW]
ssl_ca_file[RW]
ssl_verification[RW]
timeout[RW]
transport_class[R]

Public Class Methods

new() click to toggle source
# File lib/sentry/transport/configuration.rb, line 8
def initialize
  @ssl_verification = true
  @open_timeout = 1
  @timeout = 2
  @encoding = HTTPTransport::GZIP_ENCODING
end

Public Instance Methods

transport_class=(klass) click to toggle source
# File lib/sentry/transport/configuration.rb, line 15
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