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

Merge pull request #3396 from plribeiro3000/fix-rdoc-build

Fix RDoc build
This commit is contained in:
Wesley Beary 2015-01-14 10:21:35 -06:00
commit 2a9ce483eb

View file

@ -37,11 +37,11 @@ module Fog
config = host_ref
extra_params = name_label
%i(physical_size name description type content_type shared sm_config).each do |attribute|
[:physical_size, :name, :description, :type, :content_type, :shared, :sm_config].each do |attribute|
raise "Missing Argument in first param: #{attribute}" if config[attribute].nil?
end
%i(host_ref device_config).each do |attribute|
[:host_ref, :device_config].each do |attribute|
raise "Missing Argument in second param: #{attribute}" if extra_params[attribute].nil?
end