Sha256: ff352ed19c732c881415cf3880d2a8d5ae534404ba7de883f68c511bc2ea008c

Contents?: true

Size: 458 Bytes

Versions: 116

Compression:

Stored size: 458 Bytes

Contents

module Fog
  module Rackspace
    class Identity
      class Real
        def list_users()
          response = request(
            :expects => [200, 203],
            :method => 'GET',
            :path => 'users'
          )

          unless response.body['users'].is_a?(Array)
            response.body['users'] = [response.body['user']]
            response.body.delete('user')
          end

          response
        end
      end
    end
  end
end

Version data entries

116 entries across 114 versions & 16 rubygems

Version Path
fog-parser-fix-1.6.1 lib/fog/rackspace/requests/identity/list_users.rb
fog-test-again-1.6.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-test-me-1.10.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-parser-fix-1.6.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.10.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.9.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/rackspace/requests/identity/list_users.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/rackspace/requests/identity/list_users.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/rackspace/requests/identity/list_users.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/rackspace/requests/identity/list_users.rb
fog-sgonyea-1.8.1 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.8.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.7.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.6.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.5.0 lib/fog/rackspace/requests/identity/list_users.rb