diff src/luan/modules/mail/Mail.luan @ 1088:bae2d0c2576c

change module naming convention
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 26 Dec 2016 22:29:36 -0700
parents 1a68fc55a80c
children 1f9d34a6f308
line wrap: on
line diff
--- a/src/luan/modules/mail/Mail.luan	Mon Dec 19 01:38:21 2016 -0700
+++ b/src/luan/modules/mail/Mail.luan	Mon Dec 26 22:29:36 2016 -0700
@@ -4,14 +4,14 @@
 local System = require "java:java.lang.System"
 local SmtpCon = require "java:luan.modules.mail.SmtpCon"
 
-local M = {}
+local Mail = {}
 
 System.setProperty( "mail.mime.charset", "UTF-8" )
 
-function M.Sender(params)
+function Mail.Sender(params)
 	assert_table(params)
 	local smtpCon = SmtpCon.new(params)
 	return { send = smtpCon.send }
 end
 
-return M
+return Mail