Module: Mayak::Http::Decoder

Extended by:
T::Generic, T::Helpers, T::Sig
Includes:
Decoder
Included in:
FunctionFromBodyDecoder, IdentityDecoder
Defined in:
lib/mayak/http/decoder.rb

Defined Under Namespace

Classes: FunctionFromBodyDecoder, IdentityDecoder

Constant Summary collapse

In =
type_member(:in) {{ fixed: ::Mayak::Http::Request }}
Out =
type_member(:out)

Class Method Summary collapse

Methods included from Decoder

#decode, #map

Class Method Details

.decode_body(&blk) ⇒ Object



25
26
27
# File 'lib/mayak/http/decoder.rb', line 25

def self.decode_body(&blk)
  FunctionFromBodyDecoder.new(decoder: blk)
end