mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
533 B
Ruby
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
|