Method: JSON::Schema::HyperDraft1#initialize
- Defined in:
- lib/json-schema/validators/hyper-draft1.rb
#initialize ⇒ HyperDraft1
Returns a new instance of HyperDraft1.
4 5 6 7 |
# File 'lib/json-schema/validators/hyper-draft1.rb', line 4 def initialize super @uri = JSON::Util::URI.parse('http://json-schema.org/draft-01/hyper-schema#') end |