Class: AWS::S3::ACL::Grantee::Builder

Inherits:
XmlGenerator show all
Defined in:
lib/aws/s3/acl.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from XmlGenerator

#xml

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

#initialize(grantee) ⇒ Builder

Returns a new instance of Builder



458
459
460
461
# File 'lib/aws/s3/acl.rb', line 458

def initialize(grantee)
  @grantee = grantee
  super()
end

Instance Method Details

#buildObject



463
464
465
466
467
# File 'lib/aws/s3/acl.rb', line 463

def build
  xml.tag!('Grantee', attributes) do
    representation
  end
end