UNPKG

423 BJavaScriptView Raw
1import angular from 'angular';
2
3import { AvProxy } from '@availity/api-core';
4
5function factory($http, $q, avApiOptions) {
6 class AvProxyApi extends AvProxy {
7 constructor(options) {
8 options = angular.merge({}, avApiOptions, options);
9 super({
10 http: $http,
11 promise: $q,
12 merge: angular.merge,
13 config: options,
14 });
15 }
16 }
17 return AvProxyApi;
18}
19export default factory;