lib/fb_graph2/edge/posts.rb in fb_graph2-0.1.0 vs lib/fb_graph2/edge/posts.rb in fb_graph2-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
module FbGraph2
class Edge
module Posts
def posts(params = {})
posts = self.edge :posts, params
- posts.collect do |post|
+ posts.collect! do |post|
Post.new(post[:id], post).authenticate self.access_token
end
end
end
end
\ No newline at end of file