Sha256: 089dcdd681a408cc69fa501db9fc52841d017907a862574549fc469d96cbaa9f

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

module FbGraph
  module Connections
    module Likes
      def likes(options = {})
        likes = FbGraph::Collection.new(get(options.merge(:connection => 'likes')))
        likes.map! do |like|
          Page.new(like.delete(:id), like)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.0.6 lib/fb_graph/connections/likes.rb
fb_graph-0.0.5 lib/fb_graph/connections/likes.rb
fb_graph-0.0.4 lib/fb_graph/connections/likes.rb
fb_graph-0.0.3 lib/fb_graph/connections/likes.rb