Class: Yahoo::Answers::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/yahoo/answers.rb

Overview

A Result contains the following fields

id

unique id of the question

type

state of the question (answered, open, …)

subject

question subject

content

question text

date

pre-formatted date of when the question was submitted

timestamp

unix timestamp of when the question was submitted

link

link to the question

category

category that the question is listed under

category_id

unique id of the category

user_id

unique id of the user who posted the question

user_nick

nickname of the user who posted the question

user_photo_url

URL of the user’s photo

num_answers

number of answers to the question

num_comments

number of comments to the question

answer

the text of the chosen answer

answer_timestamp

unix time of when the answer was submitted

answer_award_timestamp

unix time of when the answer was given an award

answerer_id

unique id of the user who submitted the answer

answerer_nick

nickname of the user who submitted the answer