Sha256: a59ce09062c294fc7ed3c9420b38dc138920e1433fe838ed01e3de07452537a2
Contents?: true
Size: 563 Bytes
Versions: 4
Compression:
Stored size: 563 Bytes
Contents
# This RBI is here for patching generated method from Faraday. # From: https://github.com/sorbet/sorbet-typed/tree/master/lib/faraday/all # typed: true module Faraday sig do params( url: String, body: T.any(String, T.nilable(T::Hash[Object, Object])), headers: T.nilable(T::Hash[Object, String]), block: T.nilable(T.proc.params(req: Request).void), ) .returns(Response) end def self.post(url, body = nil, headers = nil, &block); end class Request def headers; end def headers=(hash); end end end
Version data entries
4 entries across 4 versions & 1 rubygems