Class: JsonSchemaRails::SchemaValidator::Loader
Instance Attribute Summary
#cache
Instance Method Summary
collapse
#cache?, #clear, #load_schema
Constructor Details
#initialize ⇒ Loader
Returns a new instance of Loader.
78
79
80
|
# File 'lib/json_schema_rails/schema_validator.rb', line 78
def initialize
super(cache: false)
end
|
Instance Method Details
#load_schema!(schema_path) ⇒ Object
82
83
84
|
# File 'lib/json_schema_rails/schema_validator.rb', line 82
def load_schema!(schema_path)
load_schema_file(schema_path)
end
|
#render_schema_content(schema_path) ⇒ Object
86
87
88
|
# File 'lib/json_schema_rails/schema_validator.rb', line 86
def render_schema_content(schema_path)
load_schema_content(schema_path)
end
|