diff --git a/lib/pact/consumer_contract/query.rb b/lib/pact/consumer_contract/query.rb index c02ec27..c29073e 100644 --- a/lib/pact/consumer_contract/query.rb +++ b/lib/pact/consumer_contract/query.rb @@ -105,6 +105,10 @@ def self.normalize_params(params, name, v) params end + def self.params_hash_type?(obj) + obj.is_a?(Hash) + end + def self.unescape(s, encoding = Encoding::UTF_8) URI.decode_www_form_component(s, encoding) end