From e4b0f3772b2ceaa3486e5f04ad3c15c958fc9707 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 18 Nov 2014 10:11:18 -0400 Subject: [PATCH] Implement ApplicationModel's getAll function --- lib/models/application.coffee | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/models/application.coffee diff --git a/lib/models/application.coffee b/lib/models/application.coffee new file mode 100644 index 00000000..985aac85 --- /dev/null +++ b/lib/models/application.coffee @@ -0,0 +1,8 @@ +canvas = require('./_canvas') + +exports.getAll = -> + return canvas.get + resource: 'application' + options: + orderby: 'app_name asc' + expand: 'device'