debian-mirror-gitlab/faraday-middleware-aws-signers-v4/lib/faraday_middleware/aws_signers_v4.rb
2019-12-05 21:41:47 +05:30

8 lines
229 B
Ruby

require 'aws-sdk-resources'
require 'faraday'
module FaradayMiddleware
autoload :AwsSignersV4, 'faraday_middleware/request/aws_signers_v4'
Faraday::Request.register_middleware :aws_signers_v4 => lambda { AwsSignersV4 }
end