class Lexicon::Common::Schema::ValidatorFactory
Attributes
schema_path[R]
@return [Pathname]
Public Class Methods
new(schema_path)
click to toggle source
@param [Pathname] schema_path
# File lib/lexicon/common/schema/validator_factory.rb, line 8 def initialize(schema_path) @schema_path = schema_path end
Public Instance Methods
build()
click to toggle source
@return [JSONSchemer::Schema::Base]
# File lib/lexicon/common/schema/validator_factory.rb, line 13 def build JSONSchemer.schema(schema_path) end