Sha256: b5dc520a3e9f52ea8c56539197e0490396525baa47504558553da4f15d34f933

Contents?: true

Size: 525 Bytes

Versions: 111

Compression:

Stored size: 525 Bytes

Contents

module Fog
  module Compute
    class Bluebox
      class Real

        # Destroy a block
        #
        # ==== Parameters
        # * block_id<~Integer> - Id of block to destroy
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        # TODO
        def destroy_block(block_id)
          request(
            :expects  => 200,
            :method   => 'DELETE',
            :path     => "api/blocks/#{block_id}.json"
          )
        end

      end
    end
  end
end

Version data entries

111 entries across 111 versions & 19 rubygems

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