Sha256: fe04ad6a1f4a8b79a344ad21a183579dc0283a876df7803fdde585d91a9313d5

Contents?: true

Size: 344 Bytes

Versions: 29

Compression:

Stored size: 344 Bytes

Contents

module FbGraph
  module Connections
    module Members
      def members(options = {})
        members = self.connection(:members, options)
        members.map! do |member|
          User.new(member[:id], member.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fb_graph-1.9.2 lib/fb_graph/connections/members.rb
fb_graph-1.9.1 lib/fb_graph/connections/members.rb
fb_graph-1.9.0 lib/fb_graph/connections/members.rb
fb_graph-1.8.6 lib/fb_graph/connections/members.rb
fb_graph-1.8.5 lib/fb_graph/connections/members.rb
fb_graph-1.8.4 lib/fb_graph/connections/members.rb
fb_graph-1.8.3 lib/fb_graph/connections/members.rb
fb_graph-1.8.2 lib/fb_graph/connections/members.rb
fb_graph-1.8.1 lib/fb_graph/connections/members.rb