Plato on Github
Report Home
services/users_change_password.js
Maintainability
73.74
Lines of code
19
Difficulty
4.81
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name SnsApp.usersChangePassword * @description * # usersChangePassword * Factory in the SnsApp. */ angular.module('SnsApp') .factory('usersChangePassword', ['$resource', function($resource) { return $resource('/api/v1/users/:id/change_password', {}, { changePassword: { method: 'PUT', params: { id: '@id' } } }); }]);