Module: HTTPX::Plugins::AWSSigV4::OptionsMethods

Defined in:
lib/httpx/plugins/aws_sigv4.rb

Overview

adds support for the following options:

:sigv4_signer

instance of HTTPX::Plugins::AWSSigV4 used to sign requests.

Instance Method Summary collapse

Instance Method Details

#option_sigv4_signer(value) ⇒ Object



172
173
174
# File 'lib/httpx/plugins/aws_sigv4.rb', line 172

def option_sigv4_signer(value)
  value.is_a?(Signer) ? value : Signer.new(value)
end