module FbGraph2::Edge::PromotablePosts

Public Instance Methods

promotable_posts(params = {}) click to toggle source
# File lib/fb_graph2/edge/promotable_posts.rb, line 4
def promotable_posts(params = {})
  posts = self.edge :promotable_posts, params
  posts.collect! do |post|
    Post.new(post[:id], post).authenticate self.access_token
  end
end