codecombat/server/sendwithus.coffee

15 lines
468 B
CoffeeScript
Raw Normal View History

config = require '../server_config'
sendwithusAPI = require 'sendwithus'
swuAPIKey = config.mail.sendwithusAPIKey
2014-02-05 12:39:14 -05:00
queues = require './commons/queue'
2014-01-27 14:14:44 -05:00
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'