Class: RAWS::S3::ACL::Grant
- Inherits:
-
Object
- Object
- RAWS::S3::ACL::Grant
- Defined in:
- lib/raws/s3/acl.rb
Instance Attribute Summary collapse
-
#permission ⇒ Object
Returns the value of attribute permission.
Instance Method Summary collapse
-
#initialize(permission) ⇒ Grant
constructor
A new instance of Grant.
- #to_xml ⇒ Object
Constructor Details
#initialize(permission) ⇒ Grant
Returns a new instance of Grant.
22 23 24 |
# File 'lib/raws/s3/acl.rb', line 22 def initialize() @permission = end |
Instance Attribute Details
#permission ⇒ Object
Returns the value of attribute permission.
20 21 22 |
# File 'lib/raws/s3/acl.rb', line 20 def @permission end |
Instance Method Details
#to_xml ⇒ Object
26 27 28 |
# File 'lib/raws/s3/acl.rb', line 26 def to_xml "<Permission>#{@permission}</Permission>" end |