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

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

Instance Method Summary collapse

Instance Method Details

#instrumenterObject


8
9
10
# File 'lib/faraday/request/instrumentation.rb', line 8

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

#nameObject


4
5
6
# File 'lib/faraday/request/instrumentation.rb', line 4

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