Skip to content

Instantly share code, notes, and snippets.

View gadaldo's full-sized avatar

adaldo giuseppe gadaldo

  • Gamesys
  • London
View GitHub Profile
@gadaldo
gadaldo / index.js
Created September 6, 2018 10:06 — forked from jugyo/index.js
An example to send email with Cloud Pub Sub and Cloud Functions #Rails
const sendEmail = require('./sendEmail').sendEmail;
/**
* Deplooyment:
*
* $ gcloud beta functions deploy sendEmail --trigger-topic sendEmail
*
*/
/**