Sha256: 76293161abda05f89492406a85184d4e651db1a3840e8d3b70f287641e8987cd

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

module FbGraph2
  class Edge
    module SharedPosts
      def shared_posts(params = {})
        posts = self.edge :posts, 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

2 entries across 2 versions & 1 rubygems

Version Path
fb_graph2-0.0.4 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.0.3 lib/fb_graph2/edge/shared_posts.rb