Class: Tus::Storage::S3::Response
- Inherits:
-
Object
- Object
- Tus::Storage::S3::Response
- Defined in:
- lib/tus/storage/s3.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(chunks:) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(chunks:) ⇒ Response
Returns a new instance of Response.
232 233 234 |
# File 'lib/tus/storage/s3.rb', line 232 def initialize(chunks:) @chunks = chunks end |
Instance Method Details
#each(&block) ⇒ Object
236 237 238 |
# File 'lib/tus/storage/s3.rb', line 236 def each(&block) @chunks.each(&block) end |