Sha256: d7e8d08bf0c65d889382a7ae0a699c513588788c812350e0c975a58901510b92
Contents?: true
Size: 564 Bytes
Versions: 4
Compression:
Stored size: 564 Bytes
Contents
app.factory('Documentation', function($http) { return { getIndex: function() { return $http.get('api/index.json', { cache: true }); }, getController: function(version, name) { return $http.get('api/' + version + '/resources/' + name + '.json', { cache: true }); }, getType: function(version, name) { return $http.get('api/' + version + '/types/' + name + '.json', { cache: true }); }, getTemplates: function(version) { return $http.get('api/' + version + '/templates.json', { cache: true }); } }; });
Version data entries
4 entries across 4 versions & 1 rubygems