Sha256: f620bf6c78ac8268c8c1ab475bb44fc9c6e70bcf05abb0cfb36a03c6795f71e7

Contents?: true

Size: 395 Bytes

Versions: 47

Compression:

Stored size: 395 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.delete(:id), friend_list.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
fb_graph-1.8.0 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.0.alpha2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.5 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.8.0.alpha lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.4 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.3 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.1 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.0 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.0.alpha2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.9 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.7.0.alpha lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.8 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.7 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.5 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.4 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.3 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.2 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.1 lib/fb_graph/connections/friend_lists.rb
fb_graph-1.6.0 lib/fb_graph/connections/friend_lists.rb