sig/transcoder/form.rbs in httpx-0.10.2 vs sig/transcoder/form.rbs in httpx-0.11.0
- old
+ new
@@ -1,13 +1,19 @@
module HTTPX::Transcoder
- type urlencoded_input = Enumerable[[string, string], untyped]
+ type form_value = string
+ type form_nested_value = form_value | _ToAry[form_value] | _ToHash[string, form_value]
+
+ type urlencoded_input = Enumerable[[string, form_nested_value], untyped]
+
module Form
def self?.encode: (urlencoded_input form) -> Encoder
class Encoder
include _Encoder
include _ToS
+
+ def content_type: () -> String
private
def initialize: (urlencoded_input form) -> untyped
end