Commit 0ee65c9
2017-10-22 22:18:43
1 parent
76df550
Changed files (1)
proof
app
models
proof/app/models/user.rb
@@ -3,4 +3,12 @@ class User < ApplicationRecord
after_initialize do
self.uuid = SecureRandom.uuid unless self.uuid
end
+
+ def assertion_attributes
+ {
+ id: uuid,
+ email: email,
+ created_at: created_at,
+ }
+ end
end