1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/bluebox/requests/compute/destroy_template.rb
2011-09-07 12:43:12 -07:00

26 lines
533 B
Ruby

module Fog
module Compute
class Bluebox
class Real
# Create a template from block
#
# ==== Parameters
# * id<~Integer> - Id of image to destroy
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Array>:
# TODO
def destroy_template(id)
request(
:expects => 200,
:method => 'DELETE',
:path => "api/block_templates/#{id}.json"
)
end
end
end
end
end