Class: Sentry::Transport::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/transport/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



7
8
9
10
11
12
# File 'lib/sentry/transport/configuration.rb', line 7

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

Instance Attribute Details

#encodingObject

Returns the value of attribute encoding.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def encoding
  @encoding
end

#faraday_builderObject

Returns the value of attribute faraday_builder.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def faraday_builder
  @faraday_builder
end

#http_adapterObject

Returns the value of attribute http_adapter.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def http_adapter
  @http_adapter
end

#open_timeoutObject

Returns the value of attribute open_timeout.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def open_timeout
  @open_timeout
end

#proxyObject

Returns the value of attribute proxy.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def proxy
  @proxy
end

#sslObject

Returns the value of attribute ssl.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def ssl
  @ssl
end

#ssl_ca_fileObject

Returns the value of attribute ssl_ca_file.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def ssl_ca_file
  @ssl_ca_file
end

#ssl_verificationObject

Returns the value of attribute ssl_verification.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def ssl_verification
  @ssl_verification
end

#timeoutObject

Returns the value of attribute timeout.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def timeout
  @timeout
end

#transport_classObject

Returns the value of attribute transport_class.



4
5
6
# File 'lib/sentry/transport/configuration.rb', line 4

def transport_class
  @transport_class
end