Sha256: dc77e4976f293144c9d45c636c2b3927decff5c171f86544059f2af739530e39

Contents?: true

Size: 557 Bytes

Versions: 38

Compression:

Stored size: 557 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[:id], user.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
fb_graph-2.1.0.alpha lib/fb_graph/connections/former_participants.rb
fb_graph-2.0.2 lib/fb_graph/connections/former_participants.rb
fb_graph-2.0.1 lib/fb_graph/connections/former_participants.rb
fb_graph-2.0.0 lib/fb_graph/connections/former_participants.rb
fb_graph-2.0.0.beta lib/fb_graph/connections/former_participants.rb
fb_graph-2.0.0.alpha lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.5 lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.4 lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.3 lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.2 lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.1 lib/fb_graph/connections/former_participants.rb
fb_graph-1.9.0 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.6 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.5 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.4 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.3 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.2 lib/fb_graph/connections/former_participants.rb
fb_graph-1.8.1 lib/fb_graph/connections/former_participants.rb