class Lurker::Json::Extensions

Constants

EXTENSIONS

Public Class Methods

new(schema, options = {}) click to toggle source
Calls superclass method Lurker::Json::Schema::new
# File lib/lurker/json/schema/extensions.rb, line 6
def initialize(schema, options = {})
  @parent_property = EXTENSIONS

  super
end

Public Instance Methods

merge!(schema) click to toggle source
# File lib/lurker/json/schema/extensions.rb, line 12
def merge!(schema)
  return unless Lurker.upgrade?

  @schema = @parser.parse_property(parent_property, schema)
end