lib/hcloud/image.rb in hcloud-1.2.0 vs lib/hcloud/image.rb in hcloud-1.3.0
- old
+ new
@@ -13,9 +13,11 @@
protectable :delete
updatable :description, :type
destructible
+ has_actions
+
def to_snapshot
update(type: 'snapshot')
end
end
end