Class: Mutx::Support::NoEmail
- Inherits:
-
Object
- Object
- Mutx::Support::NoEmail
- Defined in:
- lib/mutx/support/notification.rb
Instance Method Summary collapse
-
#initialize ⇒ NoEmail
constructor
A new instance of NoEmail.
- #method_missing(meth, *args) ⇒ Object
Constructor Details
#initialize ⇒ NoEmail
Returns a new instance of NoEmail.
105 106 107 |
# File 'lib/mutx/support/notification.rb', line 105 def initialize end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
109 110 111 112 113 114 |
# File 'lib/mutx/support/notification.rb', line 109 def method_missing meth, *args begin rescue Mutx::Support::Log.error "Notification: #{meth} invoked but email is not configured" end end |