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