Class: Aws::S3::ObjectSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-resources/services/s3/object_summary.rb

Instance Method Summary collapse

Instance Method Details

#copy_from(source, options = {}) ⇒ Object



11
12
13
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 11

def copy_from(source, options = {})
  object.copy_from(source, options)
end

#copy_to(target, options = {}) ⇒ Object



19
20
21
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 19

def copy_to(target, options = {})
  object.copy_to(target, options)
end

#move_to(target, options = {}) ⇒ void

This method returns an undefined value.



27
28
29
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 27

def move_to(target, options = {})
  object.move_to(target, options)
end

#presigned_post(options = {}) ⇒ PresignedPost



35
36
37
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 35

def presigned_post(options = {})
  object.presigned_post(options)
end

#presigned_url(http_method, params = {}) ⇒ String



43
44
45
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 43

def presigned_url(http_method, params = {})
  object.presigned_url(http_method, params)
end

#public_url(options = {}) ⇒ String



51
52
53
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 51

def public_url(options = {})
  object.public_url(options)
end

#upload_file(source, options = {}) ⇒ Boolean

Returns ‘true` when the object is uploaded without any errors.



59
60
61
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 59

def upload_file(source, options = {})
  object.upload_file(source, options)
end