mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
13 lines
No EOL
320 B
Ruby
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 |