Module: SecondStep::Models::ApplicationUser

Included in:
ActiveRecordAdapter::ApplicationUser, SecondStep::MemoryAdapter::ApplicationUser
Defined in:
lib/second_step/models/application_user.rb

Instance Method Summary collapse

Instance Method Details

#uuidObject

ORM implementation:

Attributes: token, :uuid Has one: application_user



8
9
10
# File 'lib/second_step/models/application_user.rb', line 8

def uuid
  super || self.uuid = SecureRandom.uuid
end