lib/yahoo_content_analysis/configuration.rb
def reset!
      self.api_key            = DEFAULT_API_KEY
      self.api_secret         = DEFAULT_API_SECRET
      self.adapter            = DEFAULT_ADAPTER
      self.endpoint           = DEFAULT_ENDPOINT
      self.user_agent         = DEFAULT_USER_AGENT
      self.format             = DEFAULT_FORMAT
      self.max                = DEFAULT_MAX
      self.related_entities   = DEFAULT_RELATED_ENTITIES
      self.show_metadata      = DEFAULT_SHOW_METADATA
      self.enable_categorizer = DEFAULT_ENABLE_CATEGORIZER
      self.unique             = DEFAULT_UNIQUE
      self
    end
def reset!
      self.api_key            = DEFAULT_API_KEY
      self.api_secret         = DEFAULT_API_SECRET
      self.adapter            = DEFAULT_ADAPTER
      self.endpoint           = DEFAULT_ENDPOINT
      self.user_agent         = DEFAULT_USER_AGENT
      self.format             = DEFAULT_FORMAT
      self.max                = DEFAULT_MAX
      self.related_entities   = DEFAULT_RELATED_ENTITIES
      self.show_metadata      = DEFAULT_SHOW_METADATA
      self.enable_categorizer = DEFAULT_ENABLE_CATEGORIZER
      self.unique             = DEFAULT_UNIQUE
      self
    end
def reset! self . api_key = DEFAULT_API_KEY self . api_secret = DEFAULT_API_SECRET self . adapter = DEFAULT_ADAPTER self . endpoint = DEFAULT_ENDPOINT self . user_agent = DEFAULT_USER_AGENT self . format = DEFAULT_FORMAT self . max = DEFAULT_MAX self . related_entities = DEFAULT_RELATED_ENTITIES self . show_metadata = DEFAULT_SHOW_METADATA self . enable_categorizer = DEFAULT_ENABLE_CATEGORIZER self . unique = DEFAULT_UNIQUE self end
Reset configuration options to their defaults
Reset configuration options to their defaults