Sha256: 189f3cce7f7d44a56ed6d28bff5ff292e6e450d7dc669ad41ffe504eed2ba6b1
Contents?: true
Size: 720 Bytes
Versions: 51
Compression:
Stored size: 720 Bytes
Contents
/*global angular, $scope */ (function() { 'use strict'; var conf_url = '/redhat_access/telemetry_configuration'; angular.module('RedhatAccessInsights').factory('ConfigurationService', ['$http','InsightsConfig', function($http,InsightsConfig) { var postConfig = function(data) { return $http.put(conf_url, data); }; var getConfig = function() { return $http.get(conf_url); }; var getAccountInfo = function(){ return $http.get(InsightsConfig.apiRoot + 'me'); }; return{ getConfig : getConfig, postConfig : postConfig, getAccountInfo : getAccountInfo }; }]); }());
Version data entries
51 entries across 51 versions & 1 rubygems