Method: Recognition::Database.redeem
- Defined in:
- lib/recognition/database.rb
.redeem(id, bucket, type, code, value) ⇒ Object
46 47 48 49 50 |
# File 'lib/recognition/database.rb', line 46 def self.redeem id, bucket, type, code, value certificate = { type: type, code: code } Recognition.log type, "redeeming #{type}:#{code} for user: #{id}" log id, value, bucket, certificate end |