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.



114
115
116
# File 'lib/kaya/support/notification.rb', line 114

def initialize

end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object



118
119
120
121
122
123
# File 'lib/kaya/support/notification.rb', line 118

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