Sha256: 2e4228b982b4f3bbf393484ad1119ed76ecb3c9ad934c9fd44befcf557773893
Contents?: true
Size: 470 Bytes
Versions: 72
Compression:
Stored size: 470 Bytes
Contents
module Fog module Rackspace class Identity class Real 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 end end end end
Version data entries
72 entries across 72 versions & 11 rubygems