Sha256: f5191b3ec6fd247a64987cf78779cd0cd7e25862fe137c812328a3525a748ed9
Contents?: true
Size: 564 Bytes
Versions: 28
Compression:
Stored size: 564 Bytes
Contents
module FbGraph module Connections module FormerParticipants def former_participants(options = {}) users = if @_former_participants_ && options.blank? self.connection(:former_participants, options.merge(:cached_collection => @_former_participants_)) else self.connection(:former_participants, options) end users.map! do |user| User.new(user.delete(:id), user.merge( :access_token => options[:access_token] || self.access_token )) end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems