Sha256: 5e2dda2a006e97e400d8d6ca9442826681bf79713725986e0551fb1e61924062
Contents?: true
Size: 491 Bytes
Versions: 18
Compression:
Stored size: 491 Bytes
Contents
module FbGraph module Connections module UserLikes def likes(options = {}) likes = self.connection :likes, options likes.map! do |like| Page.new like[:id], like.merge!( :access_token => options[:access_token] || self.access_token ) end end def like?(page, options = {}) like = self.connection :likes, options.merge(:connection_scope => page.identifier) like.present? end end end end
Version data entries
18 entries across 18 versions & 1 rubygems