Sha256: 292cfa20d998d51165148b911297ae4831ca4e1af5e5f7c43e9449eee1298586

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 Bytes

Contents

module FbGraph2
  class Edge
    module PromotablePosts
      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
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fb_graph2-0.1.0 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.11 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.10 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.9 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.8 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.7 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.6 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.5 lib/fb_graph2/edge/promotable_posts.rb
fb_graph2-0.0.4 lib/fb_graph2/edge/promotable_posts.rb