abstractart/sbrf_merchant

View on GitHub
lib/sbrf_merchant/utils/json/to_hash_parser.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'json'

module SbrfMerchant
  module Utils
    module JSON
      class ToHashParser
        def call(json)
          ::JSON.parse(json, symbolize_names: true)
        end
      end
    end
  end
end