Class: Sentry::Transport::Configuration
- Defined in:
- lib/sentry/transport/configuration.rb
Instance Attribute Summary collapse
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#faraday_builder ⇒ Object
Returns the value of attribute faraday_builder.
-
#http_adapter ⇒ Object
Returns the value of attribute http_adapter.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
-
#ssl_ca_file ⇒ Object
Returns the value of attribute ssl_ca_file.
-
#ssl_verification ⇒ Object
Returns the value of attribute ssl_verification.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#transport_class ⇒ Object
Returns the value of attribute transport_class.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#encoding ⇒ Object
Returns the value of attribute encoding.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def encoding @encoding end |
#faraday_builder ⇒ Object
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_adapter ⇒ Object
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_timeout ⇒ Object
Returns the value of attribute open_timeout.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def open_timeout @open_timeout end |
#proxy ⇒ Object
Returns the value of attribute proxy.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def proxy @proxy end |
#ssl ⇒ Object
Returns the value of attribute ssl.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def ssl @ssl end |
#ssl_ca_file ⇒ Object
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_verification ⇒ Object
Returns the value of attribute ssl_verification.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def ssl_verification @ssl_verification end |
#timeout ⇒ Object
Returns the value of attribute timeout.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def timeout @timeout end |
#transport_class ⇒ Object
Returns the value of attribute transport_class.
4 5 6 |
# File 'lib/sentry/transport/configuration.rb', line 4 def transport_class @transport_class end |