module JsonReducer
Constants
- VERSION
Public Class Methods
base_path(path)
click to toggle source
# File lib/json_reducer.rb, line 15 def self.base_path(path) JsonReducer::Schemas.instance.base_path = path end
new(*args)
click to toggle source
# File lib/json_reducer.rb, line 7 def self.new(*args) Mask.new(*args) end
register(key, schema, file: true)
click to toggle source
# File lib/json_reducer.rb, line 11 def self.register(key, schema, file: true) JsonReducer::Schemas.instance.set(key, schema, file) end