Module: SmartCore::Schema::Checker::Reconciler::Matcher Private

Defined in:
lib/smart_core/schema/checker/reconciler/matcher.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Version:

  • 0.3.0

Defined Under Namespace

Modules: ResultFinalizer Classes: Options, Result

Class Method Summary collapse

Class Method Details

.match(reconciler, verifiable_hash) ⇒ SmartCore::Schema::Checker::Reconciler::Matcher::Result

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
22
23
24
25
26
# File 'lib/smart_core/schema/checker/reconciler/matcher.rb', line 19

def match(reconciler, verifiable_hash)
  matcher_options = Options.build_from(reconciler)

  Result.new(verifiable_hash).tap do |result|
    match_for_contract_keys(reconciler, matcher_options, verifiable_hash, result)
    match_for_extra_keys(reconciler, matcher_options, verifiable_hash, result)
  end
end