Plato on Github
Report Home
services/users_logout.js
Maintainability
79.45
Lines of code
16
Difficulty
4.85
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; /** * @ngdoc service * @name SnsApp.usersLogout * @description * # usersLogout * Factory in the SnsApp. */ angular.module('SnsApp') .factory('usersLogout', ['$resource', function($resource) { return $resource('/api/v1/users/logout', {}, { logout: { method: 'GET' } }); }]);