Module: Openc::JsonSchema
- Extended by:
- JsonSchema
- Included in:
- JsonSchema
- Defined in:
- lib/openc/json_schema.rb,
lib/openc/json_schema/utils.rb,
lib/openc/json_schema/version.rb,
lib/openc/json_schema/validator.rb,
lib/openc/json_schema/date_converter.rb
Defined Under Namespace
Modules: DateConverter, Utils, Validator
Constant Summary
collapse
- VERSION =
'0.0.9'
Instance Method Summary
collapse
Instance Method Details
#convert_dates(schema_path, record) ⇒ Object
17
18
19
|
# File 'lib/openc/json_schema.rb', line 17
def convert_dates(schema_path, record)
DateConverter.convert_dates(schema_path, record)
end
|
#validate(schema_path, record) ⇒ Object
13
14
15
|
# File 'lib/openc/json_schema.rb', line 13
def validate(schema_path, record)
Validator.validate(schema_path, record)
end
|