Created
March 7, 2016 23:38
-
-
Save nraychaudhuri/db843e309dc0d3fa88af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed trait UrinalStatus { def value: String } | |
final case object Available extends UrinalStatus { | |
val value = "Avialable" | |
} | |
final case object Occupied extends UrinalStatus { | |
val value = "Occupied" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment