Class: Faraday::Request::Instrumentation::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/faraday/request/instrumentation.rb

Overview

Options class used in Request::Instrumentation class.

Instance Method Summary collapse

Instance Method Details

#instrumenterClass

Returns:

  • (Class)

15
16
17
# File 'lib/faraday/request/instrumentation.rb', line 15

def instrumenter
  self[:instrumenter] ||= ActiveSupport::Notifications
end

#nameString

Returns:

  • (String)

10
11
12
# File 'lib/faraday/request/instrumentation.rb', line 10

def name
  self[:name] ||= 'request.faraday'
end