module Tolliver
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
*
-
Author: Matěj Outlý
-
Date : 9. 6. 2015
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Bar request error
*
-
Author: Matěj Outlý
-
Date : 19. 4. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Not found error
*
-
Author: Matěj Outlý
-
Date : 19. 4. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Standard error
*
-
Author: Matěj Outlý
-
Date : 19. 4. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification mailer
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification attachment
*
-
Author: Matěj Outlý
-
Date : 27. 10. 2020
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification receiver
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification receiver
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification template
*
-
Author: Matěj Outlý
-
Date : 9. 5. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification method - E-mail
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Mailgun e-mail provider
*
-
Author: Matěj Outlý
-
Date : 1. 12. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
SMTP e-mail provider
*
-
Author: Matěj Outlý
-
Date : 1. 12. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification receiver
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Plivo SMS provider
*
-
Author: Matěj Outlý
-
Date : 1. 12. 2017
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification receiver
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
*****************************************************************************
-
Copyright © 2019 Matěj Outlý
***************************************************************************** *
-
Notification receiver
*
-
Author: Matěj Outlý
-
Date : 21. 1. 2016
* *****************************************************************************
Public Class Methods
# File lib/tolliver.rb, line 62 def self.deliver(notification) Tolliver::Services::DeliveryService.instance.deliver(notification) end
# File lib/tolliver.rb, line 66 def self.enqueue_for_delivery(notification) Tolliver::Services::DeliveryService.instance.enqueue_for_delivery(notification) end
# File lib/tolliver.rb, line 99 def self.notification_attachment_model return @@notification_attachment_model.constantize end
# File lib/tolliver.rb, line 108 def self.notification_delivery_model return @@notification_delivery_model.constantize end
# File lib/tolliver.rb, line 90 def self.notification_model return @@notification_model.constantize end
# File lib/tolliver.rb, line 117 def self.notification_receiver_model return @@notification_receiver_model.constantize end
# File lib/tolliver.rb, line 126 def self.notification_template_model return @@notification_template_model.constantize end
************************************************************************* Services
*************************************************************************
# File lib/tolliver.rb, line 58 def self.notify(options) Tolliver::Services::NotificationService.instance.notify(options) end
# File lib/tolliver.rb, line 70 def self.reset_delivery(notification) Tolliver::Services::DeliveryService.instance.reset_delivery(notification) end
Default way to setup module
# File lib/tolliver.rb, line 79 def self.setup yield self end
This will keep Rails Engine
from generating all table prefixes with the engines name
# File lib/tolliver.rb, line 51 def self.table_name_prefix end