Permalink
Browse files

tunerd Player into a case class

  • Loading branch information...
jcranky committed Apr 6, 2012
1 parent 7471cb8 commit 6de0b4b9a220ae25b163b1a9537f27cb5b2ce989
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/scala/net/vidageek/games/player/Player.scala
@@ -7,8 +7,8 @@ import net.vidageek.games.auth.AuthorizationVerifier
@Component
@SessionScoped
-class Player(val name : String) {
- var provider : AuthProvider = _
+case class Player(val name : String) {
+ var provider: AuthProvider = _
def authorize(authorization : AuthorizationVerifier) = authorization.authorized match {
case true => provider.accessToken(authorization.verifier)

0 comments on commit 6de0b4b

Please sign in to comment.