Sha256: 26d5427807fcb817c21058eea4764eec5fb76cc627896573ece8c39e566f0ced

Contents?: true

Size: 477 Bytes

Versions: 39

Compression:

Stored size: 477 Bytes

Contents

module Fog
  module Volume
    class OpenStack
      module Real
        def delete_volume_type(volume_type_id)
          request(
            :expects => 202,
            :method  => 'DELETE',
            :path    => "types/#{volume_type_id}"
          )
        end
      end

      module Mock
        def delete_volume_type(_volume_type_id)
          response = Excon::Response.new
          response.status = 204
          response
        end
      end
    end
  end
end

Version data entries

39 entries across 37 versions & 3 rubygems

Version Path
fog-openstack-0.1.27 lib/fog/volume/openstack/requests/delete_volume_type.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-openstack-0.1.26/lib/fog/volume/openstack/requests/delete_volume_type.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-openstack-0.1.26/lib/fog/volume/openstack/requests/delete_volume_type.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-openstack-0.1.26/lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.26 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.25 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.24 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.23 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.22 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.21 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.20 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.19 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.18 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.17 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.15 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.14 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.13 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.12 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.11 lib/fog/volume/openstack/requests/delete_volume_type.rb