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
- .format_defaults(format) ⇒ Object
- .get_profile_options(profile) ⇒ Object
- .match_dimensions ⇒ Object
- .resolve(**kwargs) ⇒ Object
Class Method Details
.format_defaults(format) ⇒ Object
174 175 176 |
# File 'lib/canon/comparison/match_options.rb', line 174 def format_defaults(format) MatchOptions::JsonResolver.format_defaults(format) end |
.get_profile_options(profile) ⇒ Object
166 167 168 |
# File 'lib/canon/comparison/match_options.rb', line 166 def (profile) MatchOptions::JsonResolver.(profile) end |
.match_dimensions ⇒ Object
170 171 172 |
# File 'lib/canon/comparison/match_options.rb', line 170 def match_dimensions MatchOptions::JsonResolver.match_dimensions end |
.resolve(**kwargs) ⇒ Object
162 163 164 |
# File 'lib/canon/comparison/match_options.rb', line 162 def resolve(**kwargs) MatchOptions::JsonResolver.resolve(**kwargs) end |