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

27 lines
533 B
Ruby
Raw Normal View History

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