Module: Canon::Comparison::MatchOptions::Json

Defined in:
lib/canon/comparison/match_options.rb

Overview

JSON-specific matching options

Constant Summary collapse

MATCH_DIMENSIONS =
Dimensions::Registry.for(:json).names.freeze
FORMAT_DEFAULTS =
MatchOptions::JsonResolver.const_get(:FORMAT_DEFAULTS)
MATCH_PROFILES =
MatchOptions::JsonResolver.const_get(:MATCH_PROFILES)

Class Method Summary collapse

Class Method Details

.format_defaults(format) ⇒ Object



205
206
207
# File 'lib/canon/comparison/match_options.rb', line 205

def format_defaults(format)
  MatchOptions::JsonResolver.format_defaults(format)
end

.get_profile_options(profile) ⇒ Object



197
198
199
# File 'lib/canon/comparison/match_options.rb', line 197

def get_profile_options(profile)
  MatchOptions::JsonResolver.get_profile_options(profile)
end

.match_dimensionsObject



201
202
203
# File 'lib/canon/comparison/match_options.rb', line 201

def match_dimensions
  MatchOptions::JsonResolver.match_dimensions
end

.resolve(**kwargs) ⇒ Object



193
194
195
# File 'lib/canon/comparison/match_options.rb', line 193

def resolve(**kwargs)
  MatchOptions::JsonResolver.resolve(**kwargs)
end