Module: AWS::S3::ACL::Policy::GrantListExtensions
- Defined in:
- lib/aws-matt/s3/acl.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#==(grants) ⇒ Object
Two grant lists are equal if they have identical grants both in terms of permission and grantee.
- #delete(grant) ⇒ Object
- #include?(grant) ⇒ Boolean
Instance Method Details
#==(grants) ⇒ Object
Two grant lists are equal if they have identical grants both in terms of permission and grantee.
175 176 177 |
# File 'lib/aws-matt/s3/acl.rb', line 175 def ==(grants) size == grants.size && all? {|grant| grants.include?(grant)} end |