Class: Mayak::Http::Decoder::FunctionFromBodyDecoder
- Inherits:
-
T::Struct
- Object
- T::Struct
- Mayak::Http::Decoder::FunctionFromBodyDecoder
- Extended by:
- T::Generic, T::Helpers, T::Sig
- Includes:
- Mayak::Http::Decoder
- Defined in:
- lib/mayak/http/decoder.rb
Constant Summary collapse
Instance Method Summary collapse
Methods included from Mayak::Http::Decoder
Instance Method Details
#decode(response) ⇒ Object
66 67 68 |
# File 'lib/mayak/http/decoder.rb', line 66 def decode(response) decoder.call(response.body || "") end |