Skip to content

Instantly share code, notes, and snippets.

@craigquincy
Created April 26, 2016 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigquincy/3fd3cab981e9866cd52b0e59cd6b2313 to your computer and use it in GitHub Desktop.
Save craigquincy/3fd3cab981e9866cd52b0e59cd6b2313 to your computer and use it in GitHub Desktop.
gibbon gem retrieve lists and print id & name
gibbon = Gibbon::Request.new
data = Hashie::Mash.new gibbon.lists.retrieve(params: {"count": "200"})
lists = data.lists
lists.each {|list| puts list.name + ' : ' + list.id}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment