feathers-shippo
Version:
A Feathers JS adapter for the Shippo API
8 lines (7 loc) • 350 B
JavaScript
import { ShippoService, shippoLimiters } from '../service';
export class ShippoCustomsItems extends ShippoService {
constructor(options, app) {
options = Object.assign(Object.assign({ limiters: shippoLimiters(options.token) }, options), { path: 'customs/items', methods: ['get', 'find', 'create'] });
super(options, app);
}
}