Module: S3::PresignMethods

Included in:
ModuleMethods, Service
Defined in:
lib/s3/presign_methods.rb

Instance Method Summary collapse

Instance Method Details

#presign_get(options = nil, bucket:, key:, **kwargs) ⇒ Object



3
4
5
6
# File 'lib/s3/presign_methods.rb', line 3

def presign_get( options = nil, bucket:, key:, **kwargs )
  request = PresignGetRequest.new( **request_options )
  request.submit( options, bucket: bucket, key: key, **kwargs )
end

#presign_put(options = nil, bucket:, key:, **kwargs) ⇒ Object



8
9
10
11
# File 'lib/s3/presign_methods.rb', line 8

def presign_put( options = nil, bucket:, key:, **kwargs )
  request = PresignPutRequest.new( **request_options )
  request.submit( options, bucket: bucket, key: key, **kwargs )
end