UNPKG

feathers-shippo

Version:

A Feathers JS adapter for the Shippo API

8 lines (7 loc) 353 B
import { ShippoService, shippoLimiters } from '../service'; export class ShippoCarrierParcelTemplates extends ShippoService { constructor(options, app) { options = Object.assign(Object.assign({ limiters: shippoLimiters(options.token) }, options), { path: 'parcel-templates', methods: ['get', 'find'] }); super(options, app); } }