mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-12 07:32:37 +01:00
Rename to MessageGateway since it's really not SMS-specific.
This commit is contained in:
parent
8238e488a2
commit
ca4255332f
4 changed files with 18 additions and 19 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class SMSGateway < ActionMailer::Base
|
||||
CONTEXT_NAME = 'Inbox'
|
||||
class MessageGateway < ActionMailer::Base
|
||||
def receive(email)
|
||||
user = User.find(:first, :include => [:preference], :conditions => ["preferences.sms_email = ?", email.from[0].strip])
|
||||
if user.nil?
|
||||
Loading…
Add table
Add a link
Reference in a new issue