diff --git a/lib/wreq_ruby/client.rb b/lib/wreq_ruby/client.rb index cbf56b1..a9d9414 100644 --- a/lib/wreq_ruby/client.rb +++ b/lib/wreq_ruby/client.rb @@ -246,7 +246,7 @@ def self.new(**options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -277,7 +277,7 @@ def request(method, url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -308,7 +308,7 @@ def get(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -339,7 +339,7 @@ def head(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -370,7 +370,7 @@ def post(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -401,7 +401,7 @@ def put(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -432,7 +432,7 @@ def delete(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -463,7 +463,7 @@ def options(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression @@ -494,7 +494,7 @@ def trace(url, **options) # @param auth [String, nil] Authorization header value # @param bearer_auth [String, nil] Bearer token for Authorization header # @param basic_auth [Array, nil] Username and password for basic auth - # @param cookies [Array, nil] Cookies to send + # @param cookies [Hash{String=>String}, nil] Cookies to send # @param allow_redirects [Boolean, nil] Whether to follow redirects # @param max_redirects [Integer, nil] Maximum number of redirects to follow # @param gzip [Boolean, nil] Enable gzip compression