src/app/core/resources/currency/currency.js
/**
* @author Martin Micunda {@link http://martinmicunda.com}
* @copyright Copyright (c) 2015, Martin Micunda
* @license GPL-3.0
*/
'use strict';
import './currency.mock.js#?ENV|mock';
import AbstractResource from '../abstract-resource';
import {Service, Inject} from '../../../ng-decorators'; // jshint unused: false
//start-non-standard
@Service({
serviceName: 'CurrencyResource'
})
@Inject('$http')
//end-non-standard
class CurrencyResource extends AbstractResource {
constructor($http) {
super($http, 'currencies');
}
}
export default CurrencyResource;