Sha256: 2dd53df12626f54627e0ae996d15816d8bcfc2811a3fdeb09c29ce46384f7806
Contents?: true
Size: 266 Bytes
Versions: 10
Compression:
Stored size: 266 Bytes
Contents
require "multi_json" module Cp8Cli module Trello class JSONParser < Faraday::Response::Middleware def parse(body) return if body.blank? json = MultiJson.load(body, symbolize_keys: true) { data: json } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems