diff --git a/lib/fog/core/attributes.rb b/lib/fog/core/attributes.rb index e9c2840425..2d658ed2eb 100644 --- a/lib/fog/core/attributes.rb +++ b/lib/fog/core/attributes.rb @@ -66,6 +66,8 @@ def #{name}=(new_#{name}) attributes[:#{name}] = [*new_#{name}] end EOS + when :readonly + #do not create a setter else if squash = options[:squash] class_eval <<-EOS, __FILE__, __LINE__