2012-02-17 04:29:44 -05:00
|
|
|
module Fog
|
|
|
|
module Identity
|
2012-02-22 01:46:56 -05:00
|
|
|
class OpenStack
|
2012-02-17 04:29:44 -05:00
|
|
|
class Real
|
|
|
|
|
|
|
|
def get_tenants_by_name(name)
|
|
|
|
request(
|
|
|
|
:expects => [200],
|
|
|
|
:method => 'GET',
|
|
|
|
:path => "tenants?name=#{name}"
|
|
|
|
)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
class Mock
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|