Sha256: ef38c890e938bdd294165862daeb2b6bd943624a83d75b51eb3abeeeb2aae47f

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

module FbGraph
  module Connections
    module Participants
      def participants(options = {})
        users = self.connection(:participants, options)
        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

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-2.2.6 lib/fb_graph/connections/participants.rb
fb_graph-2.2.5 lib/fb_graph/connections/participants.rb
fb_graph-2.2.4 lib/fb_graph/connections/participants.rb
fb_graph-2.2.3 lib/fb_graph/connections/participants.rb