Class: Ggggsss::S3Object

Inherits:
Object
  • Object
show all
Defined in:
lib/ggggsss.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



37
38
39
# File 'lib/ggggsss.rb', line 37

def body
  @body
end

#keyObject (readonly)

Returns the value of attribute key.



37
38
39
# File 'lib/ggggsss.rb', line 37

def key
  @key
end