lib/open_calais/configuration.rb
# Reset configuration options to their defaults
Reset configuration options to their defaults
Reset configuration options to their defaults
def reset!
      self.api_key       	    = DEFAULT_API_KEY
      self.adapter            = DEFAULT_ADAPTER
      self.endpoint           = DEFAULT_ENDPOINT
      self.user_agent         = DEFAULT_USER_AGENT
      self
    end
def reset! self . api_key = DEFAULT_API_KEY self . adapter = DEFAULT_ADAPTER self . endpoint = DEFAULT_ENDPOINT self . user_agent = DEFAULT_USER_AGENT self end
Reset configuration options to their defaults
Reset configuration options to their defaults