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