Class: Mayak::Http::Decoder::IdentityDecoder

Inherits:
Object
  • Object
show all
Extended by:
T::Generic, T::Helpers, T::Sig
Includes:
Mayak::Http::Decoder
Defined in:
lib/mayak/http/decoder.rb

Constant Summary collapse

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

Instance Method Summary collapse

Methods included from Mayak::Http::Decoder

decode_body

Instance Method Details

#decode(response) ⇒ Object



44
45
46
# File 'lib/mayak/http/decoder.rb', line 44

def decode(response)
  Mayak::Monads::Try::Success.new(response)
end