Module: FbGraph::Connections::Groups
Instance Method Summary collapse
Instance Method Details
#groups(options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fb_graph/connections/groups.rb', line 4 def groups( = {}) groups = FbGraph::Collection.new(get(.merge(:connection => 'groups'))) groups.map! do |group| Group.new(group.delete(:id), group) end end |