Fixed typos and removal of name attribute

This commit is contained in:
ggoodale 2010-06-08 13:14:15 +08:00 committed by Wesley Beary
parent e734d7c40f
commit 9ed11028a4
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ module Fog
end
def save
requires :flavor_id, :image_id, :name
requires :flavor_id, :image_id
options = if !@password && !@ssh_key
raise(ArgumentError, "password or ssh_key is required for this operation")
elsif @ssh_key

View File

@ -22,7 +22,7 @@ module Fog
:expects => 200,
:method => 'POST',
:path => '/api/blocks.json',
:query => {'product' => product_id, 'template' => templated_id}.merge!(query)
:query => {'product' => product_id, 'template' => template_id}.merge!(options)
)
end