Module: Mayak::Http::Decoder

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

Defined Under Namespace

Classes: FunctionFromBodyDecoder, IdentityDecoder

Constant Summary collapse

RequestType =
type_member {{ fixed: ::Mayak::Http::Request }}
RequestEntity =
type_member

Class Method Summary collapse

Methods included from Decoder

#decode

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