Created
August 31, 2015 18:58
-
-
Save helsont/005e496bc887cc7f2aa4 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
Request.remoteMethod( | |
'getNumPresentStudents', | |
{ | |
description: 'Get all givers in the specified DiningHall.', | |
accessType: 'READ', | |
accepts: [ | |
{arg: 'diningHallId', type: 'string', required: true, description: 'The specified DiningHall.'} | |
], | |
http: {path: '/getNumPresentStudents', verb: 'get'}, | |
returns: {type: 'number', root: true} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment