{"size": 286, "ext": "js", "max_stars_repo_path": "clase_3/presentacion/NoiseGrasp - Development Environment_files/campaigns.client.service.js", "max_stars_repo_name": "forres/apis-y-backend-con-strongloop", "max_stars_repo_stars_event_min_datetime": "2016-06-14T19:00:29.000Z", "max_stars_repo_stars_event_max_datetime": "2017-03-19T05:32:10.000Z", "max_issues_repo_path": "clase_3/presentacion/NoiseGrasp - Development Environment_files/campaigns.client.service.js", "max_issues_repo_name": "Noders/-Deprecated-apis-y-backend-con-strongloop", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "clase_3/presentacion/NoiseGrasp - Development Environment_files/campaigns.client.service.js", "max_forks_repo_name": "Noders/-Deprecated-apis-y-backend-con-strongloop", "max_forks_repo_forks_event_min_datetime": "2015-09-25T20:52:52.000Z", "max_forks_repo_forks_event_max_datetime": "2016-06-14T19:00:33.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 22.0, "max_line_length": 64, "alphanum_fraction": 0.6538461538}
'use strict';

//Campaigns service used to communicate Campaigns REST endpoints
angular.module('campaigns').factory('Campaigns', ['$resource',
	function($resource) {
		return $resource('campaigns/:campaignId', { campaignId: '@_id'
		}, {
			update: {
				method: 'PUT'
			}
		});
	}
]);