Class: DummyUser
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- DummyUser
- Defined in:
- app/models/dummy_user.rb
Overview
ユーザ
Constant Summary collapse
- NicknameMaximumLength =
40
- TokenLength =
20
- TokenPattern =
TokenUtil.create_token_regexp(TokenLength)
Class Method Summary collapse
Class Method Details
.create_unique_user_token ⇒ Object
35 36 37 |
# File 'app/models/dummy_user.rb', line 35 def self.create_unique_user_token return TokenUtil.create_unique_token(self, :user_token, TokenLength) end |