Class: Aliyun::SignatureMethods::HmacSha1
- Defined in:
- lib/aliyun/signature_methods/hmac_sha1.rb
Constant Summary collapse
- NAME =
"HMAC-SHA1".freeze
- VERSION =
"1.0".freeze
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate(params, service) ⇒ Object
13 14 15 |
# File 'lib/aliyun/signature_methods/hmac_sha1.rb', line 13 def generate(params, service) calculate_signature("#{service.access_key_secret}&", string_to_sign(params, service)) end |