Module: FbGraph::Connections::Posts
Instance Method Summary (collapse)
Instance Method Details
- (Object) posts(options = {})
4 5 6 7 8 9 10 11 |
# File 'lib/fb_graph/connections/posts.rb', line 4 def posts( = {}) posts = self.connection :posts, posts.map! do |post| Post.new post[:id], post.merge( :access_token => [:access_token] || self.access_token ) end end |