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.2.3 lib/fb_graph/connections/members.rb
fb_graph-1.2.2 lib/fb_graph/connections/members.rb
fb_graph-1.2.1 lib/fb_graph/connections/members.rb
fb_graph-1.2.0 lib/fb_graph/connections/members.rb
fb_graph-1.1.7 lib/fb_graph/connections/members.rb
fb_graph-1.1.6 lib/fb_graph/connections/members.rb
fb_graph-1.1.5 lib/fb_graph/connections/members.rb
fb_graph-1.1.4 lib/fb_graph/connections/members.rb
fb_graph-1.1.3 lib/fb_graph/connections/members.rb
fb_graph-1.1.2 lib/fb_graph/connections/members.rb
fb_graph-1.1.1 lib/fb_graph/connections/members.rb
fb_graph-1.1.0 lib/fb_graph/connections/members.rb
fb_graph-1.0.7 lib/fb_graph/connections/members.rb
fb_graph-1.0.6 lib/fb_graph/connections/members.rb
fb_graph-1.0.5 lib/fb_graph/connections/members.rb
palidanx-fb_graph-1.0.4 lib/fb_graph/connections/members.rb
fb_graph-1.0.4 lib/fb_graph/connections/members.rb
fb_graph-1.0.3 lib/fb_graph/connections/members.rb
fb_graph-1.0.2 lib/fb_graph/connections/members.rb
fb_graph-1.0.1 lib/fb_graph/connections/members.rb