Skip to content

Instantly share code, notes, and snippets.

@smalltown
Created April 23, 2016 15:53
Show Gist options
  • Save smalltown/583a737b1637340a51e01c0ef56d6f80 to your computer and use it in GitHub Desktop.
Save smalltown/583a737b1637340a51e01c0ef56d6f80 to your computer and use it in GitHub Desktop.
search("groups", "*:*").each do |group_data|
group group_data["id"] do
gid group_data["gid"]
members group_data["members"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment