Sha256: 3c176f7a6f8708ed38741374b8e7f601916cfb0f7bdf315cc145a3ab957d1b0d

Contents?: true

Size: 351 Bytes

Versions: 68

Compression:

Stored size: 351 Bytes

Contents

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

Version data entries

68 entries across 68 versions & 2 rubygems

Version Path
fb_graph-1.5.5 lib/fb_graph/connections/members.rb
fb_graph-1.5.4 lib/fb_graph/connections/members.rb
fb_graph-1.5.3 lib/fb_graph/connections/members.rb
fb_graph-1.5.2 lib/fb_graph/connections/members.rb
fb_graph-1.5.1 lib/fb_graph/connections/members.rb
fb_graph-1.5.0 lib/fb_graph/connections/members.rb
fb_graph-1.4.1 lib/fb_graph/connections/members.rb
fb_graph-1.4.0 lib/fb_graph/connections/members.rb
fb_graph-1.3.9 lib/fb_graph/connections/members.rb
fb_graph-1.3.8 lib/fb_graph/connections/members.rb
fb_graph-1.3.7 lib/fb_graph/connections/members.rb
fb_graph-1.3.6 lib/fb_graph/connections/members.rb
fb_graph-1.3.5 lib/fb_graph/connections/members.rb
fb_graph-1.3.4 lib/fb_graph/connections/members.rb
fb_graph-1.3.3 lib/fb_graph/connections/members.rb
fb_graph-1.3.2 lib/fb_graph/connections/members.rb
fb_graph-1.3.1 lib/fb_graph/connections/members.rb
fb_graph-1.3.0 lib/fb_graph/connections/members.rb
fb_graph-1.2.5 lib/fb_graph/connections/members.rb
fb_graph-1.2.4 lib/fb_graph/connections/members.rb