Method: Pact::MatchingRules::V3::Merge#initialize

Defined in:
lib/pact/matching_rules/v3/merge.rb

#initialize(expected, matching_rules, root_path) ⇒ Merge

Returns a new instance of Merge.



13
14
15
16
17
# File 'lib/pact/matching_rules/v3/merge.rb', line 13

def initialize expected, matching_rules, root_path
  @expected = expected
  @matching_rules = standardise_paths(matching_rules)
  @root_path = JsonPath.new(root_path).to_s
end