Sha256: fc3c50a4667a975550cefd068f719832f647c111ba97fee11888d1ea695c1fc7

Contents?: true

Size: 388 Bytes

Versions: 29

Compression:

Stored size: 388 Bytes

Contents

module FbGraph
  module Connections
    module FriendLists
      def friend_lists(options = {})
        friend_lists = self.connection(:friendlists, options)
        friend_lists.map! do |friend_list|
          FriendList.new(friend_list[:id], friend_list.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/friend_lists.rb
fb_graph-2.1.9 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.8 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.7 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.6 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.5 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.4 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.3 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.1 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.0 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.1.0.alpha lib/fb_graph/connections/friend_lists.rb
fb_graph-2.0.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.0.1 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.0.0 lib/fb_graph/connections/friend_lists.rb
fb_graph-2.0.0.beta lib/fb_graph/connections/friend_lists.rb
fb_graph-2.0.0.alpha lib/fb_graph/connections/friend_lists.rb
fb_graph-1.9.5 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.9.4 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.9.3 lib/fb_graph/connections/friend_lists.rb