Class: EOL::Configuration

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

Overview

Configuration class for EndOfLife HTTP client

Constant Summary collapse

SETTINGS =
%i[timeout open_timeout].freeze

Instance Method Summary collapse

Instance Method Details

#reset!Object



9
10
11
# File 'lib/eol_rb/configuration.rb', line 9

def reset!
  SETTINGS.each { |s| instance_variable_set(:"@#{s}", nil) }
end