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-1.9.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.9.1 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.9.0 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.6 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.5 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.4 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.3 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.1 lib/fb_graph/connections/friend_lists.rb