Method: SimpleQS::Request::Base#sign!

Defined in:
lib/simple_qs/request/base.rb

#sign!Object



79
80
81
82
83
84
# File 'lib/simple_qs/request/base.rb', line 79

def sign!
  update_query_params({
    'Signature'   => Base64.encode64(HMAC::SHA1.digest(SimpleQS.secret_access_key, signature_base_string)).chomp
  })
  self
end