Sha256: 155045317050c70e2344b1165cdf6173af91081c2f9d1a4bc55ff67c888fa92b
Contents?: true
Size: 665 Bytes
Versions: 30
Compression:
Stored size: 665 Bytes
Contents
module Fog module KeyManager class OpenStack 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
30 entries across 28 versions & 3 rubygems