Created
December 2, 2016 13:26
-
-
Save ostronom/63ae762f9fd9847b64d5b6dcaa94886b to your computer and use it in GitHub Desktop.
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
object UnregisterCredentials { | |
def unapply(c: UnregisterPushCredentials.Creds): Option[PushCredentials] = c match { | |
case apple if apple.isApple => apple.apple | |
case google if google.isGoogle => google.google | |
case _ => None | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment