1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1920 from rackspace/save_param

[rackspace|compute] adding parameter to save method
This commit is contained in:
Kyle Rames 2013-06-27 08:40:47 -07:00
commit 82258177e8

View file

@ -65,7 +65,7 @@ module Fog
true true
end end
def save def save(options = {})
raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted? raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted?
requires :flavor_id, :image_id requires :flavor_id, :image_id
options = { options = {