def update_thread(thread_id, opts = {})
      result = Disqus::Api::update_thread(
        :forum_api_key  => key,
        :thread_id      => thread_id,
        :title          => opts[:title],
        :slug           => opts[:slug],
        :url            => opts[:url],
        :allow_comments => opts[:allow_comments]
      )
      return result["succeeded"]
    end
def update_thread(thread_id, opts = {})
      result = Disqus::Api::update_thread(
        :forum_api_key  => key,
        :thread_id      => thread_id,
        :title          => opts[:title],
        :slug           => opts[:slug],
        :url            => opts[:url],
        :allow_comments => opts[:allow_comments]
      )
      return result["succeeded"]
    end
Sets the provided values on the thread object.

 Returns an empty success message.

 Options:

 * <tt>:title</tt> - the title of the thread
 * <tt>:slug</tt> - the per-forum-unique string used for identifying this thread in disqus.com URL's relating to this thread. Composed of underscore-separated alphanumeric strings.
 * <tt>:url</tt> - the URL this thread is on, if known.
 * <tt>:allow_comment</tt> - whether this thread is open to new comments