Class: FaradayThrottler::KeyResolver

Inherits:
Object
  • Object
show all
Defined in:
lib/faraday_throttler/key_resolver.rb

Instance Method Summary collapse

Instance Method Details

#call(request_env) ⇒ Object



5
6
7
# File 'lib/faraday_throttler/key_resolver.rb', line 5

def call(request_env)
  hash request_env[:url].to_s
end