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