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.
39 40 41 42 |
# File 'lib/ggggsss.rb', line 39 def initialize(key:, body:) @key = key @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
37 38 39 |
# File 'lib/ggggsss.rb', line 37 def body @body end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
37 38 39 |
# File 'lib/ggggsss.rb', line 37 def key @key end |