Sha256: b62aa5f3931a6d1052ba731a8c36eb5e6ac70c78213a8387c450bcedf37b9bac

Contents?: true

Size: 159 Bytes

Versions: 10

Compression:

Stored size: 159 Bytes

Contents

require 'digest/md5'
module InsalesApi
  module Password
    def self.create(secret, token)
      Digest::MD5.hexdigest("#{token}#{secret}")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
insales_api-0.0.10 lib/insales_api/password.rb
insales_api-0.0.9 lib/insales_api/password.rb
insales_api-0.0.8 lib/insales_api/password.rb
insales_api-0.0.7 lib/insales_api/password.rb
insales_api-0.0.6 lib/insales_api/password.rb
insales_api-0.0.5 lib/insales_api/password.rb
insales_api-0.0.4 lib/insales_api/password.rb
insales_api-0.0.3 lib/insales_api/password.rb
insales_api-0.0.2 lib/insales_api/password.rb
insales_api-0.0.1 lib/insales_api/password.rb