Method: ContextIO::Config#reset
- Defined in:
- lib/context-io/config.rb
#reset ⇒ void
This method returns an undefined value.
Reset the configuration to the default values
94 95 96 97 98 99 100 101 |
# File 'lib/context-io/config.rb', line 94 def reset self.adapter = DEFAULT_ADAPTER self. = DEFAULT_CONNECTION_OPTIONS self.consumer_key = DEFAULT_CONSUMER_KEY self.consumer_secret = DEFAULT_CONSUMER_SECRET self.proxy = DEFAULT_PROXY self.user_agent = DEFAULT_USER_AGENT end |