class NxtSchema::Registry::Proxy

Attributes

registry[R]

Public Class Methods

new(namespace) click to toggle source
# File lib/nxt_schema/registry/proxy.rb, line 4
def initialize(namespace)
  @registry = ::NxtRegistry::Registry.new(namespace, call: false)
end

Public Instance Methods

apply(key, input) click to toggle source
# File lib/nxt_schema/registry/proxy.rb, line 12
def apply(key, input)
  resolve!(key).apply(input: input)
end
apply!(key, input) click to toggle source
# File lib/nxt_schema/registry/proxy.rb, line 16
def apply!(key, input)
  resolve!(key).apply!(input: input)
end