Module: Vigiles::Types

Extended by:
T::Sig
Defined in:
lib/vigiles/types.rb

Defined Under Namespace

Classes: ContentType, HttpMethod, WellKnownHttpHeader

Constant Summary collapse

HtmlPayload =
String
UntypedHash =
T.type_alias { T::Hash[T.untyped, T.untyped] }
JsonPayload =
T.type_alias { UntypedHash }
Payload =
T.type_alias { T.any(JsonPayload, HtmlPayload) }
Headers =
T.type_alias { T::Hash[String, T.untyped] }
ContentTypeRecorder =
T.type_alias do
  T::Hash[String, T.proc.params(arg0: ActionDispatch::Response).returns(Vigiles::Archive::Conversation)]
end