Sha256: 6eb7186743ba3a5dcd0c0d8f004cdd86e6a6e15b0ccbb3031d391754df919eb4

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

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