lib/tumblr-oauth/configuration.rb
# Reset all configuration options to defaults
Reset all configuration options to defaults
Reset all configuration options to defaults
def reset
      self.consumer_key       = DEFAULT_CONSUMER_KEY
      self.consumer_secret    = DEFAULT_CONSUMER_SECRET
      self.endpoint           = DEFAULT_ENDPOINT
      self.oauth_token        = DEFAULT_OAUTH_TOKEN
      self.oauth_token_secret = DEFAULT_OAUTH_TOKEN_SECRET
      self.blog_host          = DEFAULT_BLOG_HOST
      self.debug              = DEFAULT_DEBUG
      self
    end
def reset self . consumer_key = DEFAULT_CONSUMER_KEY self . consumer_secret = DEFAULT_CONSUMER_SECRET self . endpoint = DEFAULT_ENDPOINT self . oauth_token = DEFAULT_OAUTH_TOKEN self . oauth_token_secret = DEFAULT_OAUTH_TOKEN_SECRET self . blog_host = DEFAULT_BLOG_HOST self . debug = DEFAULT_DEBUG self end
Reset all configuration options to defaults
Reset all configuration options to defaults