Skip to content

Instantly share code, notes, and snippets.

@kiy0taka
Created July 12, 2013 07:23
Show Gist options
  • Select an option

  • Save kiy0taka/5982562 to your computer and use it in GitHub Desktop.

Select an option

Save kiy0taka/5982562 to your computer and use it in GitHub Desktop.

Revisions

  1. kiy0taka created this gist Jul 12, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    ratpack {
    modules {
    register(new AbstractModule() {
    protected void configure() {
    MongoDatastoreConfigurer.configure("myDatabase", Book)
    }
    })
    }
    }