mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
23 lines
442 B
Ruby
23 lines
442 B
Ruby
module Fog
|
|
module RiakCS
|
|
class Provisioning
|
|
class Real
|
|
include Utils
|
|
include UserUtils
|
|
include MultipartUtils
|
|
|
|
def enable_user(key_id)
|
|
update_riakcs_user(key_id, { :status => 'enabled' })
|
|
end
|
|
end
|
|
|
|
class Mock
|
|
include UserUtils
|
|
|
|
def enable_user(key_id)
|
|
update_mock_user(key_id, { :status => 'enabled' })
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|