mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
parent
568d290ca9
commit
835255df96
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Fog
|
|||
attribute :creation_date, :aliases => 'CreationDate'
|
||||
|
||||
def acl=(new_acl)
|
||||
if VALID_ACLS.include?(new_acl)
|
||||
unless VALID_ACLS.include?(new_acl)
|
||||
raise ArgumentError.new("acl must be one of [#{VALID_ACLS.join(', ')}]")
|
||||
else
|
||||
@acl = new_acl
|
||||
|
|
Loading…
Reference in a new issue