# File lib/fog/rackspace/requests/identity/list_tenants.rb, line 5 def list_tenants() response = request( :expects => [200, 203], :method => 'GET', :path => 'tenants' ) unless response.body['tenants'].is_a?(Array) response.body['tenants'] = [response.body['tenant']] response.body.delete('tenant') end response end