Module: FbGraph2::Edge::Members

Included in:
Group
Defined in:
lib/fb_graph2/edge/members.rb

Instance Method Summary collapse

Instance Method Details

#members(params = {}) ⇒ Object



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

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