Class: Aws::Rails::Notifications::Handler Private

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

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.

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ 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.



21
22
23
24
25
26
# File 'lib/aws/rails/notifications.rb', line 21

def call(context)
  event_name = "#{context.operation_name}.#{context.config.api.['serviceId']}.aws"
  ActiveSupport::Notifications.instrument(event_name, context: context) do
    @handler.call(context)
  end
end