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!, #to_header, #underscore

Constructor Details

#initialize(grantee) ⇒ Builder

Returns a new instance of Builder.



453
454
455
456
# File 'lib/aws/s3/acl.rb', line 453

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

Instance Method Details

#buildObject



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

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