Sha256: a69d094a51b4c48a0495a04cb7dcb39f7cb50f51e10dccbfbb05a39fe4e4497e
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
module Fog module Compute class HuaweiCloud class Real def change_server_password(server_id, admin_password) body = {'changePassword' => {'adminPass' => admin_password}} server_action(server_id, body) end end class Mock def change_server_password(_server_id, _admin_password) response = Excon::Response.new response.status = 202 response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems