Method: Saml::Notification::ClassMethods#notify

Defined in:
lib/saml/notification.rb

#notify(method, result) ⇒ Object



25
26
27
28
29
# File 'lib/saml/notification.rb', line 25

def notify(method, result)
  class_name = self.name.demodulize.underscore
  ActiveSupport::Notifications.instrument "#{method}.#{class_name}.saml", result
  result
end