Skip to content

Commit

Permalink
Add new sample service and a dependency for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
ranweiler committed Jul 1, 2013
1 parent cd52e23 commit d0bccb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sample/app/domain/auth/services/doSomething.coffee
@@ -0,0 +1,7 @@
module.exports =
dependencies:
services: ['helpDoSomething']
required: []
service: (args, done, deps) ->
{services} = deps
services?.helpDoSomething args, done
2 changes: 2 additions & 0 deletions sample/app/domain/auth/services/helpDoSomething.coffee
@@ -0,0 +1,2 @@
module.exports = (args, done) ->
done null, {result: 'it worked'}

0 comments on commit d0bccb5

Please sign in to comment.