Sha256: 86fcf18a75a0e9de6fff14764859363cd7abab27b6fa8064bf124b77443002e2
Contents?: true
Size: 667 Bytes
Versions: 4
Compression:
Stored size: 667 Bytes
Contents
module Fog module KeyManager class HuaweiCloud class Real def update_secret_acl(uuid, options) request( :body => Fog::JSON.encode(options), :expects => [200], :method => 'PATCH', :path => "secrets/#{uuid}/acl" ) end end class Mock def update_secret_acl(_uuid, _options) response = Excon::Response.new response.status = 200 response.body = { "acl_ref" => "https://10.0.2.15:9311/v1/secrets/17ca49d9-0804-4ba7-b931-d34cabaa1f04/acl" } response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems