Skip to content

Instantly share code, notes, and snippets.

@newerton
Created September 20, 2022 16:43
Show Gist options
  • Save newerton/fc38afe752282abcb599056c9f8c60b3 to your computer and use it in GitHub Desktop.
Save newerton/fc38afe752282abcb599056c9f8c60b3 to your computer and use it in GitHub Desktop.
import { Injectable } from '@nestjs/common';
import { Book } from '../../../core/entities';
import { ICrmServices } from '../../../core/abstracts';
@Injectable()
export class SalesforceService implements ICrmServices {
bookAdded(book: Book): Promise<boolean> {
// Implement salesforce api logic
return Promise.resolve(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment