Class: Aws::Rails::Notifications::Handler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Rails::Notifications::Handler
- 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
- #call(context) ⇒ Object private
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.
19 20 21 22 23 24 |
# File 'lib/aws/rails/notifications.rb', line 19 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 |