lib/fb_graph/connections/family.rb in fb_graph-2.2.6 vs lib/fb_graph/connections/family.rb in fb_graph-2.3.0

- old
+ new

@@ -1,13 +1,13 @@ module FbGraph module Connections module Family def family(options = {}) - users = self.connection(:family, options) + users = self.connection :family, options users.map! do |user| - User.new(user[:id], user.merge( + User.new user[:id], user.merge( :access_token => options[:access_token] || self.access_token - )) + ) end end end end end \ No newline at end of file