Class S33r::S3ACL::Group
In: lib/s33r/s3_acl.rb
Parent: Grantee

One of the predefined S3 groups.

A group must have a type (AllUsers or AuthenticatedUsers).

Methods

new  

Attributes

group_type  [RW] 

Public Class methods

The type of group. A key from S3_GROUP_TYPES to one of the pre-defined Amazon group types.

[Source]

     # File lib/s33r/s3_acl.rb, line 327
327:       def initialize(group_type)
328:         unless S3_GROUP_TYPES.has_key?(group_type)
329:           raise InvalidS3GroupType, 'No such group type #{group_type}'
330:         end
331:         @group_type = S3_GROUP_TYPES[group_type]
332:         @grantee_type = GRANTEE_TYPES[:group]
333:       end

[Validate]