Class: Aws::Rails::Notifications Private

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/aws/rails/notifications.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instruments client operation calls for ActiveSupport::Notifications Each client operation will produce an event with name: <operation>.<service>.aws

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
16
17
18
19
20
# File 'lib/aws/rails/notifications.rb', line 15

def add_handlers(handlers, config)
  # This plugin needs to be first
  # which means it is called first in the stack, to start recording time,
  # and returns last
  handlers.add(Handler, step: :initialize, priority: 99)
end