[rackspace|compute] adding parameter to save method in order to make it more polymorphic

This commit is contained in:
Kyle Rames 2013-06-26 14:41:49 -05:00
parent 8c87f82b2a
commit 3afa23d655
1 changed files with 1 additions and 1 deletions

View File

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