lib/hcloud/image.rb in hcloud-0.1.0.pre.alpha4 vs lib/hcloud/image.rb in hcloud-0.1.0
- old
+ new
@@ -32,10 +32,10 @@
parent,
client
)
end
- def destory
+ def destroy
request("images/#{id.to_i}", method: :delete).run
true
end
end
end