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.



40
41
42
43
# File 'lib/ggggsss.rb', line 40

def initialize(key:, body:)
  @key = key
  @body = body
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



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

def body
  @body
end

#keyObject (readonly)

Returns the value of attribute key.



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

def key
  @key
end