Module: Mailfloss::_Transport

Defined in:
sig/mailfloss.rbs

Overview

Duck type for injectable transports: anything with call(method, url, headers, body) returning status/headers/body.

Instance Method Summary collapse

Instance Method Details

#callObject

Parameters:

  • method (Symbol)
  • url (String)
  • headers (Hash[String, String])
  • body (String, nil)

Returns:

  • (Object)


36
# File 'sig/mailfloss.rbs', line 36

def call: (Symbol method, String url, Hash[String, String] headers, String? body) -> untyped