Sha256: d238eacd359d397879c6564cda02fbb1a7a6f0d0c4e538050cf4969230b3f806

Contents?: true

Size: 527 Bytes

Versions: 23

Compression:

Stored size: 527 Bytes

Contents

module Fog
  module Compute
    class OpenStack
      class Real

        def delete_meta(collection_name, parent_id, key)
          request(
            :expects  => 204,
            :method   => 'DELETE',
            :path     => "#{collection_name}/#{parent_id}/metadata/#{key}"
          )
        end

      end

      class Mock

        def delete_meta(collection_name, parent_id, key)
          response = Excon::Response.new
          response.status = 204
          response
        end

      end

    end
  end
end

Version data entries

23 entries across 23 versions & 7 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
michiels-fog-1.3.1 lib/fog/openstack/requests/compute/delete_meta.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.3.1 lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.3.0 lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.2.0 lib/fog/openstack/requests/compute/delete_meta.rb
ktheory-fog-1.1.2 lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.1.2 lib/fog/openstack/requests/compute/delete_meta.rb
fog_tractical-1.1.4 lib/fog/openstack/requests/compute/delete_meta.rb
fog_tractical-1.1.3 lib/fog/openstack/requests/compute/delete_meta.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.1.1 lib/fog/openstack/requests/compute/delete_meta.rb
fog-1.1.0 lib/fog/openstack/requests/compute/delete_meta.rb