Method: Peerindex::Configuration#reset
- Defined in:
- lib/peerindex/configuration.rb
#reset ⇒ Object
Reset all configuration options to defaults
68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/peerindex/configuration.rb', line 68 def reset self.adapter = DEFAULT_ADAPTER self.api_key = DEFAULT_API_KEY self.endpoint = DEFAULT_ENDPOINT self.format = DEFAULT_FORMAT self.proxy = DEFAULT_PROXY self.user_agent = DEFAULT_USER_AGENT self.gateway = DEFAULT_GATEWAY self. = DEFAULT_FARADAY_OPTIONS self end |