UNPKG

feathers-shippo

Version:

A Feathers JS adapter for the Shippo API

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