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.31 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.10 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.30 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.29 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.9 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.1.28 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.8 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.7 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.6 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.5 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.4 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.3 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.2 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.3.0 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.2.4 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.2.3 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.2.2 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.2.1 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-openstack-0.2.0 lib/fog/volume/openstack/requests/delete_volume_type.rb
fog-zj-0.1.28 lib/fog/volume/openstack/requests/delete_volume_type.rb