# File lib/fog/core/attributes.rb, line 147 def merge_attributes(new_attributes = {}) for key, value in new_attributes unless self.class.ignored_attributes.include?(key) if aliased_key = self.class.aliases[key] send("#{aliased_key}=", value) elsif (public_methods | private_methods).detect {|method| ["#{key}=", "#{key}=""#{key}="].include?(method)} send("#{key}=", value) else attributes[key] = value end end end self end