Class: Api::MailMethodsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/api/mail_methods_controller.rb

Instance Method Summary collapse

Instance Method Details

#testmailObject



2
3
4
5
6
7
8
9
# File 'app/controllers/api/mail_methods_controller.rb', line 2

def testmail
p "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"
 if TestMailer.test_email(@mail_method, current_user).deliver
   	respond_to do |f|
	f.json {render :json=>{:response=>:sucess}}
  end
end
end