class Ogre::UserList

List users through Chef::REST object

Public Instance Methods

org_list() click to toggle source

Users list

# File lib/ogre/user-list.rb, line 7
def org_list
  # pull down all users
  results = chef_rest.get('/users')
  puts results.keys.sort { |a, b| a <=> b }
end