Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object TokenType extends Enumeration {
- type TokenType = Value
- val Activation = Value("activation")
- val Authentication = Value("authentication")
- val Reset = Value("reset")
- }
- scala> val str = Reset.toString
- str: String = reset
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement