Sha256: 1352715a31f6525d2513944e92fbcf6f9cb8d72a88d3738a286802325317a977

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fb_graph-1.8.0 lib/fb_graph/connections/family.rb
fb_graph-1.8.0.alpha2 lib/fb_graph/connections/family.rb
fb_graph-1.7.5 lib/fb_graph/connections/family.rb
fb_graph-1.8.0.alpha lib/fb_graph/connections/family.rb
fb_graph-1.7.4 lib/fb_graph/connections/family.rb
fb_graph-1.7.3 lib/fb_graph/connections/family.rb
fb_graph-1.7.2 lib/fb_graph/connections/family.rb