Last active
August 29, 2015 14:02
-
-
Save alvarosanchez/d4ef79ef29d9c8077696 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
def castleBuilder = new Game(name: 'Castle Builder').save() | |
def amazingCircus = new Game(name: 'The Amazing Circus').save() | |
def pokerDrop = new Game(name: 'Poker Drop Riches').save() | |
def petsPayDay = new Game(name: "Pet's Pay Day").save() | |
def grandBlackjack = new Game(name: 'Grand Blackjack').save() |
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
@Resource(uri = '/games') | |
class Game { | |
String name | |
static constraints = { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment