Sha256: 47eb9bc3c52bdd9055509132641c1272e7a92e1813d7e6f0bab845626feea219

Contents?: true

Size: 508 Bytes

Versions: 33

Compression:

Stored size: 508 Bytes

Contents

module Fog
  module ContainerInfra
    class OpenStack
      class Real
        def delete_bay_model(uuid_or_name)
          request(
            :expects => [204],
            :method  => 'DELETE',
            :path    => "baymodels/#{uuid_or_name}"
          )
        end
      end

      class Mock
        def delete_bay_model(_uuid_or_name)
          response = Excon::Response.new
          response.status = 204
          response.body = {}
          response
        end
      end
    end
  end
end

Version data entries

33 entries across 31 versions & 3 rubygems

Version Path
fog-openstack-0.1.27 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-openstack-0.1.26/lib/fog/container_infra/openstack/requests/delete_bay_model.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-openstack-0.1.26/lib/fog/container_infra/openstack/requests/delete_bay_model.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-openstack-0.1.26/lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.26 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.25 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.24 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.23 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.22 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.21 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.20 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.19 lib/fog/container_infra/openstack/requests/delete_bay_model.rb
fog-openstack-0.1.18 lib/fog/container_infra/openstack/requests/delete_bay_model.rb