Representation of a story to be published into a user’s news feed.
Attributes
body[RW]
title[RW]
Public Instance Methods
to_params()click to toggle source
Converts Story to a Hash of its attributes for use as parameters to
Facebook REST API calls
# File lib/facebooker/feed.rb, line 64defto_paramsraise"Must set title before converting"ifself.title.nil?
{ :title =>title, :body =>body }.mergeimage_paramsend