lib/alipay/sign.rb in alipay-0.6.0.beta3 vs lib/alipay/sign.rb in alipay-0.6.0
- old
+ new
@@ -12,10 +12,10 @@
when 'RSA'
RSA.sign(key, string)
when 'DSA'
DSA.sign(key, string)
else
- raise ArgumentError, "[Alipay] Invalid sign_type #{sign_type}, allow value: 'MD5', 'RSA', 'DSA'"
+ raise ArgumentError, "invalid sign_type #{sign_type}, allow value: 'MD5', 'RSA', 'DSA'"
end
end
ALIPAY_RSA_PUBLIC_KEY = <<-EOF
-----BEGIN PUBLIC KEY-----