Skip to content

Commit

Permalink
Fix older rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Aug 21, 2023
1 parent d443aef commit 7386d49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gems/aws-sdk-s3/lib/aws-sdk-s3/file_downloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ def single_part_progress
end
end

Part = Struct.new(:part_number, :size, :params, keyword_init: true)
class Part < Struct.new(:part_number, :size, :params)
include Aws::Structure
end

# @api private
class PartList
Expand Down

0 comments on commit 7386d49

Please sign in to comment.