Sha256: 71a6eafe7fd24653e64309f5fc949158d048c42e39780a46daf6c4b66b79a92b

Contents?: true

Size: 321 Bytes

Versions: 37

Compression:

Stored size: 321 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

37 entries across 37 versions & 1 rubygems

Version Path
fb_graph2-0.6.1 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.6.0 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.5.3 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.5.2 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.5.1 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.5.0 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.4.4 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.4.3 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.4.1 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.4.0 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.3.2 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.3.1 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.3.0 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.2.0 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.1.3 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.1.2 lib/fb_graph2/edge/shared_posts.rb
fb_graph2-0.1.1 lib/fb_graph2/edge/shared_posts.rb