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