Sha256: 601f1bb2fd7c7e5b835ca7fc486f7eb738a70e42df5d3390ef4291d2d922e3a3
Contents?: true
Size: 388 Bytes
Versions: 37
Compression:
Stored size: 388 Bytes
Contents
module FbGraph2 class Edge module Admins def admins(params = {}) users = self.edge :admins, params users.collect! do |user| User.new(user[:id], user).authenticate self.access_token end end def admin?(user, params = {}) users = self.edge :admins, params, edge_scope: user users.present? end end end end
Version data entries
37 entries across 37 versions & 1 rubygems