Class: Mutx::Support::NoEmail

Inherits:
Object
  • Object
show all
Defined in:
lib/mutx/support/notification.rb

Instance Method Summary collapse

Constructor Details

#initializeNoEmail

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