class Aws::Rails::Notifications::Handler

Public Instance Methods

call(context) click to toggle source
# File lib/aws/rails/notifications.rb, line 21
def call(context)
  event_name = "#{context.operation_name}.#{context.config.api.metadata['serviceId']}.aws"
  ActiveSupport::Notifications.instrument(event_name, context: context) do
    @handler.call(context)
  end
end