Class: RightAws::S3::Owner
- Inherits:
-
Object
- Object
- RightAws::S3::Owner
- Defined in:
- lib/s3/right_s3.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ Owner
constructor
A new instance of Owner.
-
#to_s ⇒ Object
Return Owner name as a
String
.
Constructor Details
#initialize(id, name) ⇒ Owner
Returns a new instance of Owner.
667 668 669 670 |
# File 'lib/s3/right_s3.rb', line 667 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
665 666 667 |
# File 'lib/s3/right_s3.rb', line 665 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
665 666 667 |
# File 'lib/s3/right_s3.rb', line 665 def name @name end |
Instance Method Details
#to_s ⇒ Object
Return Owner name as a String
.
673 674 675 |
# File 'lib/s3/right_s3.rb', line 673 def to_s @name end |