Sha256: 5ec2517c64f6ae911ce35396bd6c51597768ddc5bee124a4f4039b2564bf9584
Contents?: true
Size: 592 Bytes
Versions: 30
Compression:
Stored size: 592 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
30 entries across 30 versions & 1 rubygems