Sha256: eb5b56f1b729545ea33d8fc6a3551b06a795eed342acaed005629ce9578d9186
Contents?: true
Size: 575 Bytes
Versions: 5
Compression:
Stored size: 575 Bytes
Contents
module FbGraph module Connections module Feed def feed(options = {}) posts = self.connection(:feed, options) posts.map! do |post| Post.new(post.delete(:id), post.merge( :access_token => options[:access_token] || self.access_token )) end end def feed!(options = {}) post = post(options.merge(:connection => 'feed')) Post.new(post.delete(:id), options.merge(post).merge( :access_token => options[:access_token] || self.access_token )) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems