lib/finapps/rest/resources.rb in finapps-2.0.24 vs lib/finapps/rest/resources.rb in finapps-2.0.25

- old
+ new

@@ -1,9 +1,10 @@ # frozen_string_literal: true module FinApps module REST class Resources # :nodoc: + include FinApps::Utils::ParameterFilter require 'erb' attr_reader :client # @param [FinApps::REST::Client] client @@ -42,10 +43,10 @@ request_with_body path, method, {} end def request_with_body(path, method, params) path = end_point if path.nil? - logger.debug "#{self.class.name}##{__method__} => path: #{path} params: #{params}" + logger.debug "#{self.class.name}##{__method__} => path: #{path} params: #{skip_sensitive_data(params)}" client.send_request path, method, params end protected