class Faraday::Request
def self.create(request_method)
-
(Request)
-
Other tags:
- Yieldparam: request -
Other tags:
- Yield: - for block customization, if block given
Parameters:
-
request_method
(String
) --
def self.create(request_method) new(request_method).tap do |request| yield(request) if block_given? end end