abstractart/sbrf_merchant

View on GitHub
lib/sbrf_merchant/api/request/body_preprocessor.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'sbrf_merchant/utils/hash/to_camel_case_keys'

module SbrfMerchant
  module Api
    module Request
      class BodyPreProcessor
        def call(body)
          SbrfMerchant::Utils::Hash::ToCamelCaseKeys.new.call(body)
        end
      end
    end
  end
end