Commit 2be1c4a
Changed files (1)
app
models
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