Plato on Github
Report Home
services/user_notification.js
Maintainability
66.56
Lines of code
25
Difficulty
5.83
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name SnsApp.userProfile * @description * # userProfile * Factory in the SnsApp. */ angular.module('SnsApp') .factory('userNotificationFactory', ['$resource', function($resource) { return $resource('/api/v1/user_notification_settings/:id', {}, { update: { method: 'PUT', params: { id: '@id' } }, get: { method: 'GET', params: { id: '@id' } } }); }]);