Method: AWS::S3::ACLObject#valid?
- Defined in:
- lib/aws/s3/acl_object.rb
#valid? ⇒ Boolean
Returns true if and only if this object is valid according to S3’s published ACL schema. In particular, this will check that all required attributes are provided and that they are of the correct type.
59 60 61 62 63 64 65 |
# File 'lib/aws/s3/acl_object.rb', line 59 def valid? validate! rescue => e false else true end |