Module: InsalesApi::Password
- Defined in:
- lib/insales_api/password.rb
Class Method Summary collapse
Class Method Details
.create(secret, token, user_email = '', user_name = '', user_id = '') ⇒ Object
3 4 5 |
# File 'lib/insales_api/password.rb', line 3 def self.create(secret, token, user_email = '', user_name = '', user_id = '') Digest::MD5.hexdigest("#{token}#{user_email}#{user_name}#{user_id}#{secret}") end |