Class: Kaya::Support::NoEmail

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

Instance Method Summary collapse

Constructor Details

#initializeNoEmail

Returns a new instance of NoEmail.



104
105
106
# File 'lib/kaya/support/notification.rb', line 104

def initialize

end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object



108
109
110
111
112
113
# File 'lib/kaya/support/notification.rb', line 108

def method_missing meth, *args
  begin
  rescue
    $K_LOG.error "Notification: #{meth} invoked but email is not configured"
  end
end