Sha256: 4a4e1f6a8395fb009c32a45c5dd8a210a24df705f68d99f2a678c474519426c4
Contents?: true
Size: 220 Bytes
Versions: 4
Compression:
Stored size: 220 Bytes
Contents
module InsalesApi module Password def self.create(secret, token, user_email = '', user_name = '', user_id = '') Digest::MD5.hexdigest("#{token}#{user_email}#{user_name}#{user_id}#{secret}") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
insales_api-0.2.0 | lib/insales_api/password.rb |
insales_api-0.1.3 | lib/insales_api/password.rb |
insales_api-0.1.2 | lib/insales_api/password.rb |
insales_api-0.1.1 | lib/insales_api/password.rb |