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-rackspace-0.1.6 lib/fog/rackspace/requests/identity/list_users.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/identity/list_users.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/identity/list_users.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.5 lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.4 lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.3 lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.2 lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.1 lib/fog/rackspace/requests/identity/list_users.rb
fog-rackspace-0.1.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.37.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.36.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.35.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-2.0.0.pre.0 lib/fog/rackspace/requests/identity/list_users.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/rackspace/requests/identity/list_users.rb
fog-1.34.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.33.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.32.0 lib/fog/rackspace/requests/identity/list_users.rb
fog-1.31.0 lib/fog/rackspace/requests/identity/list_users.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/rackspace/requests/identity/list_users.rb