Sha256: 28e406594499129f0948b3fc58b1bfa0baa177f477af66f1c1dcd08132392a6d
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
require 'json' module Cogitate module Client module ResponseParsers # Responsible for parsing a Cogitate response and just getting the basic data module BasicExtractor def self.call(response:) JSON.parse(response).fetch('data') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cogitate-0.0.2 | lib/cogitate/client/response_parsers/basic_extractor.rb |