Skip to content

Commit f3e7216

Browse files
committed
fix: update namespace for coerce_hash! method in file upload parameters
1 parent 6beb35d commit f3e7216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/imagekitio/models/beta/v2/file_upload_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def self.dump_request(params)
2727
case (dumped = dump(params, state: state))
2828
in Hash
2929
serialized = serialize_upload_options(dumped)
30-
options = Imagekit::Internal::Util.coerce_hash!(serialized[:request_options]).to_h
30+
options = Imagekitio::Internal::Util.coerce_hash!(serialized[:request_options]).to_h
3131
request_options = state.fetch(:can_retry) ? options : {**options, max_retries: 0}
3232
[serialized.except(:request_options), request_options]
3333
else

lib/imagekitio/models/file_upload_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def self.dump_request(params)
2525
case (dumped = dump(params, state: state))
2626
in Hash
2727
serialized = serialize_upload_options(dumped)
28-
options = Imagekit::Internal::Util.coerce_hash!(serialized[:request_options]).to_h
28+
options = Imagekitio::Internal::Util.coerce_hash!(serialized[:request_options]).to_h
2929
request_options = state.fetch(:can_retry) ? options : {**options, max_retries: 0}
3030
[serialized.except(:request_options), request_options]
3131
else

0 commit comments

Comments
 (0)