Plato on Github
Report Home
services/user_activation.js
Maintainability
71.78
Lines of code
20
Difficulty
4.67
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name SnsApp.userActivation * @description * # userActivation * Factory in the SnsApp. */ angular.module('SnsApp') .factory('userActivation', ['$resource', function($resource) { return $resource('/api/v1/users/:user_id/activation/:hash', {}, { activation: { method: 'PUT', params: { user_id: '@user_id', hash: '@hash' } } }); }]);