codecombat/server/sendwithus.coffee
2014-02-05 09:39:14 -08:00

15 lines
No EOL
468 B
CoffeeScript

config = require '../server_config'
sendwithusAPI = require 'sendwithus'
swuAPIKey = config.mail.sendwithusAPIKey
queues = require './commons/queue'
module.exports.setupQueue = -> queues.initializeSendwithusQueue() unless queues.sendwithusQueue?
module.exports.setupRoutes = (app) ->
return
options = { DEBUG: not config.isProduction }
module.exports.api = new sendwithusAPI swuAPIKey, options
module.exports.templates =
welcome_email: 'utnGaBHuSU4Hmsi7qrAypU'