Method: Fog::Compute::Bluebox::Real#destroy_template

Defined in:
lib/fog/bluebox/requests/compute/destroy_template.rb

#destroy_template(id) ⇒ Object

Create a template from block

Parameters

  • id<~Integer> - Id of image to destroy

Returns

  • response<~Excon::Response>:

    • body<~Array>:

TODO



15
16
17
18
19
20
21
# File 'lib/fog/bluebox/requests/compute/destroy_template.rb', line 15

def destroy_template(id)
  request(
    :expects  => 200,
    :method   => 'DELETE',
    :path     => "api/block_templates/#{id}.json"
  )
end