lib/ll_pay/sign.rb in ll_pay-0.2.0 vs lib/ll_pay/sign.rb in ll_pay-0.3.0

- old
+ new

@@ -7,9 +7,10 @@ options = LlPay::Utils.stringify_keys(options) sign_type = params[:sign_type] md5_key = options[:md5_key] || LlPay.md5_key rsa_pri_key = options[:rsa_pri_key] || LlPay.rsa_pri_key + params[:oid_partner] = LlPay.oid_partner string = params_to_string(params) case sign_type when 'MD5' MD5.sign(md5_key, string)