1
0
Fork 0
mirror of https://github.com/nov/fb_graph2 synced 2023-03-27 23:22:15 -04:00
fb_graph2/lib/fb_graph2/edge/shared_posts.rb
2014-06-03 15:03:43 +09:00

13 lines
No EOL
320 B
Ruby

module FbGraph2
class Edge
module SharedPosts
def shared_posts(params = {})
posts = self.edge :sharedposts, params
posts.collect do |post|
Post.new(post[:id], post).authenticate self.access_token
end
end
alias_method :sharedposts, :shared_posts
end
end
end