Method: OpenC3::AwsBucket#put_object

Defined in:
lib/openc3/utilities/aws_bucket.rb

#put_object(bucket:, key:, body:, content_type: nil, cache_control: nil, metadata: nil) ⇒ Object

put_object fires off the request to store but does not confirm



192
193
194
195
# File 'lib/openc3/utilities/aws_bucket.rb', line 192

def put_object(bucket:, key:, body:, content_type: nil, cache_control: nil, metadata: nil)
  @client.put_object(bucket: bucket, key: key, body: body,
    content_type: content_type, cache_control: cache_control, metadata: )
end