method

new

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: S3Service
new(bucket:, upload: {}, **options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service/s3_service.rb, line 12
    def initialize(bucket,, upload: {}, **options)
      @client = Aws::S3::Resource.new(**options)
      @bucket = @client.bucket(bucket)

      @upload_options = upload
    end
Register or log in to add new notes.