Module: JSON::SchemaMatchers
- Defined in:
- lib/json-schema-rspec/matchers/json_schema_matcher.rb
Defined Under Namespace
Classes: MatchJsonSchemaMatcher
Instance Method Summary collapse
- #match_json_schema(schema_name, validation_opts = {}) ⇒ Object (also: #object_matching_schema)
Instance Method Details
#match_json_schema(schema_name, validation_opts = {}) ⇒ Object Also known as: object_matching_schema
70 71 72 |
# File 'lib/json-schema-rspec/matchers/json_schema_matcher.rb', line 70 def match_json_schema(schema_name, validation_opts = {}) MatchJsonSchemaMatcher.new(schema_name, validation_opts) end |