def listPosts(*args)
      options = args.last.is_a?(Hash) ? args.pop : {}
      thread = args.first
      options.merge!(:thread => thread) if ([:ident, :link] & options.keys).empty?
      response = get('threads/listPosts', options)
    end
def listPosts(*args)
      options = args.last.is_a?(Hash) ? args.pop : {}
      thread = args.first
      options.merge!(:thread => thread) if ([:ident, :link] & options.keys).empty?
      response = get('threads/listPosts', options)
    end
Returns a list of posts within a thread.
 @accessibility: public key, secret key
 @methods: GET
 @format: json, jsonp, rss
 @authenticated: false
 @limited: false
 @return [Hashie::Rash] List of threads post.
 @param thread [Integer] Looks up a thread by ID. You must be a moderator on the selected thread's forum. You may pass use the 'ident' or 'link' query types instead of an ID by including 'forum'.
 @param options [Hash] A customizable set of options.
 @option options [String] :forum. Defaults to null. Looks up a forum by ID (aka short name)
 @option options [Datetime, Timestamp] :since. Unix timestamp (or ISO datetime standard). Defaults to null
 @option options [String, Array] :related allows multiple. Defaults to []. You may specify relations to include with your response. Choices: forum
 @option options [Integer] :cursor. Defaults to null
 @option options [Integer] :limit. Defaults to 25. Maximum length of 100
 @option options [Integer] :query. Defaults to null.
 @option options [String, Array] :include allows multiple. Defaults to ["approved"]. Choices: unapproved, approved, spam, deleted, flagged
 @option options [String] :order. Defaults to "desc". Choices: asc, desc
 @example Return extended information for forum 'myforum'
   Disqussion::Client.threads.list()
 @see: http://disqus.com/api/3.0/threads/listPosts.json