# File lib/fog/aws/models/storage/directory.rb, line 42 def location=(new_location) if INVALID_LOCATIONS.include?(new_location) raise ArgumentError, "location must not include any of #{INVALID_LOCATIONS.join(', ')}. See http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUT.html" else merge_attributes(:location => new_location) end end