lib/fb_graph2/edge/groups.rb in fb_graph2-0.1.0 vs lib/fb_graph2/edge/groups.rb in fb_graph2-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
module FbGraph2
class Edge
module Groups
def groups(params = {})
groups = self.edge :groups, params
- groups.collect do |group|
+ groups.collect! do |group|
Group.new(group[:id], group).authenticate self.access_token
end
end
end
end
\ No newline at end of file