UNPKG

feathers-shippo

Version:

A Feathers JS adapter for the Shippo API

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