Class: Ggggsss::S3Object
- Inherits:
-
Object
- Object
- Ggggsss::S3Object
- Defined in:
- lib/ggggsss.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key:, body:) ⇒ S3Object
constructor
A new instance of S3Object.
Constructor Details
#initialize(key:, body:) ⇒ S3Object
Returns a new instance of S3Object.
40 41 42 43 |
# File 'lib/ggggsss.rb', line 40 def initialize(key:, body:) @key = key @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
38 39 40 |
# File 'lib/ggggsss.rb', line 38 def body @body end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
38 39 40 |
# File 'lib/ggggsss.rb', line 38 def key @key end |