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_user_by_id(user_id)
|
|
|
|
request(
|
|
|
|
:expects => [200, 203],
|
|
|
|
:method => 'GET',
|
|
|
|
:path => "users/#{user_id}"
|
|
|
|
)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
class Mock
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|