1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/openstack/requests/identity/get_user_by_id.rb
Hunter Nield 330c28c5a8 [openstack|identity] Rough implementation of the Keystone API (untested)
Updated Openstack to handle other endpoints
2012-04-30 10:34:58 +08:00

24 lines
330 B
Ruby

module Fog
module Identity
class Openstack
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