Class: RestClient::Request
- Inherits:
-
Object
- Object
- RestClient::Request
- Defined in:
- lib/rest_client/request.rb
Instance Method Summary collapse
Instance Method Details
#execute_with_instrumentation(&block) ⇒ Object
4 5 6 7 8 |
# File 'lib/rest_client/request.rb', line 4 def execute_with_instrumentation(& block) ActiveSupport::Notifications.instrument('log.restclient', url: url, method: method, headers: headers) do execute_without_instrumentation &block end end |