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:
commit
82258177e8
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue