aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 11:14:08 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 11:14:08 -0500
commit1f1580b678ff0b859e0b08e11e10e29f49cd4680 (patch)
tree637540c47991c081d4534559def2a4f1f0ea18fa /tests
parentupdate README (diff)
downloadsleepy-1f1580b678ff0b859e0b08e11e10e29f49cd4680.tar.gz
sleepy-1f1580b678ff0b859e0b08e11e10e29f49cd4680.tar.bz2
sleepy-1f1580b678ff0b859e0b08e11e10e29f49cd4680.zip
export 'method supported' interfaces
Diffstat (limited to 'tests')
-rw-r--r--tests/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.go b/tests/test.go
index b36cdb6..fededa1 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -18,7 +18,7 @@ func main() {
item := new(Item)
- var api = new(sleepy.API)
+ var api = sleepy.NewAPI()
api.AddResource(item, "/items")
api.Start(3000)
bgstack15