lib/fog/storage/google_xml/models/directory.rb in fog-google-1.3.3 vs lib/fog/storage/google_xml/models/directory.rb in fog-google-1.4.0

- old
+ new

@@ -5,12 +5,11 @@ identity :key, :aliases => %w(Name name) attribute :creation_date, :aliases => "CreationDate" def acl=(new_acl) - valid_acls = ["private", "public-read", "public-read-write", "authenticated-read"] - unless valid_acls.include?(new_acl) - raise ArgumentError.new("acl must be one of [#{valid_acls.join(', ')}]") + unless Utils::VALID_ACLS.include?(new_acl) + raise ArgumentError.new("acl must be one of [#{Utils::VALID_ACLS.join(', ')}]") end @acl = new_acl end def destroy