UNPKG

feathers-shippo

Version:

A Feathers JS adapter for the Shippo API

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