lib/sfpark/configuration.rb
# Reset all configuration options to defaults
Reset all configuration options to defaults
Reset all configuration options to defaults
def reset
      self.adapter                = DEFAULT_ADAPTER
      self.endpoint               = DEFAULT_ENDPOINT
      self.proxy                  = DEFAULT_PROXY
      self.user_agent             = DEFAULT_USER_AGENT
      self.response               = DEFAULT_RESPONSE
      self.faraday_options        = DEFAULT_FARADAY_OPTIONS
      self
    end
def reset self . adapter = DEFAULT_ADAPTER self . endpoint = DEFAULT_ENDPOINT self . proxy = DEFAULT_PROXY self . user_agent = DEFAULT_USER_AGENT self . response = DEFAULT_RESPONSE self . faraday_options = DEFAULT_FARADAY_OPTIONS self end
Reset all configuration options to defaults
Reset all configuration options to defaults