import BaseAPI from './BaseAPI' ; export default class API extends BaseAPI { public test ( error = null , foo = null , extraArgs = { } ) { const args = { error , foo , ... extraArgs } ; return this . _post ( 'api.test' , args ) ; } }