[rackspace|compute] adding parameter to save method in order to make it more polymorphic
This commit is contained in:
parent
8c87f82b2a
commit
3afa23d655
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue