This page last changed on Dec 02, 2010 by ben@involver.com.

Overview

Poll resource that is returned from using the poll feature block.


Attributes

name type description
poll_item.id
integer Returns id of the current poll_item.
poll_item.title
string Returns title of the poll_item. 
poll_item.options 
array of strings Returns an array of option strings.
poll_item.total_responses 
int Returns the total number of votes that a poll_item has received.
poll_item.image_url
string Returns the url of the uploaded image.
poll_item.results
hash Hash containing each poll option and associated total response count.

Examples

For examples of usage, see the ?poll feature block page.


Related Topics

Document generated by Confluence on Feb 12, 2013 09:09