import BaseAPI from './BaseAPI' ; export default class Reminders extends BaseAPI { public add ( text , time , user = null , extraArgs = { } ) { const args = { text , time , user , ... extraArgs } ; return this . _post ( 'reminders.add' , args ) ; } public complete ( reminder , extraArgs = { } ) { const args = { reminder , ... extraArgs } ; return this . _post ( 'reminders.complete' , args ) ; } public delete_ ( reminder , extraArgs = { } ) { const args = { reminder , ... extraArgs } ; return this . _post ( 'reminders.delete' , args ) ; } public info ( reminder , extraArgs = { } ) { const args = { reminder , ... extraArgs } ; return this . _get ( 'reminders.info' , args ) ; } public list ( extraArgs = { } ) { const args = { ... extraArgs } ; return this . _get ( 'reminders.list' , args ) ; } }