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

Version Path
fog-openstack-0.1.31 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.10 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.1.30 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.1.29 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.9 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.1.28 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.8 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.7 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.6 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.5 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.4 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.3 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.2 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.3.0 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.2.4 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.2.3 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.2.2 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.2.1 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-openstack-0.2.0 lib/fog/key_manager/openstack/requests/update_secret_acl.rb
fog-zj-0.1.28 lib/fog/key_manager/openstack/requests/update_secret_acl.rb