Last active
November 27, 2017 10:02
-
-
Save sliskiCode/0191416b425d4a5f561d9ab4915795db to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #7
This file contains hidden or 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 class SafariBookAccess | |
data class Granted(val expirationDate: DateTime) : SafariBookAccess() | |
data class NotGranted(val error: AssertionError) : SafariBookAccess() | |
data class Blocked(val message: String) : SafariBookAccess() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment