Module: FbGraph2::Edge::Family

Included in:
User
Defined in:
lib/fb_graph2/edge/family.rb

Instance Method Summary collapse

Instance Method Details

#family(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/family.rb', line 4

def family(params = {})
  users = self.edge :family, params
  users.collect! do |user|
    User.new(user[:id], user).authenticate self.access_token
  end
end