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-2.1.10 lib/fb_graph/connections/members.rb
fb_graph-2.1.9 lib/fb_graph/connections/members.rb
fb_graph-2.1.8 lib/fb_graph/connections/members.rb
fb_graph-2.1.7 lib/fb_graph/connections/members.rb
fb_graph-2.1.6 lib/fb_graph/connections/members.rb
fb_graph-2.1.5 lib/fb_graph/connections/members.rb
fb_graph-2.1.4 lib/fb_graph/connections/members.rb
fb_graph-2.1.3 lib/fb_graph/connections/members.rb
fb_graph-2.1.2 lib/fb_graph/connections/members.rb
fb_graph-2.1.1 lib/fb_graph/connections/members.rb
fb_graph-2.1.0 lib/fb_graph/connections/members.rb
fb_graph-2.1.0.alpha lib/fb_graph/connections/members.rb
fb_graph-2.0.2 lib/fb_graph/connections/members.rb
fb_graph-2.0.1 lib/fb_graph/connections/members.rb
fb_graph-2.0.0 lib/fb_graph/connections/members.rb
fb_graph-2.0.0.beta lib/fb_graph/connections/members.rb
fb_graph-2.0.0.alpha lib/fb_graph/connections/members.rb
fb_graph-1.9.5 lib/fb_graph/connections/members.rb
fb_graph-1.9.4 lib/fb_graph/connections/members.rb
fb_graph-1.9.3 lib/fb_graph/connections/members.rb