class GraphQL::Analyzer::Instrumentation::Base
Public Instance Methods
instrument(type, field)
click to toggle source
# File lib/graphql/analyzer/instrumentation/base.rb, line 5 def instrument(type, field) resolve_proc(type, field, :resolve_proc) end
instrument_lazy(type, field)
click to toggle source
# File lib/graphql/analyzer/instrumentation/base.rb, line 9 def instrument_lazy(type, field) resolve_proc(type, field, :lazy_resolve_proc) end
Private Instance Methods
adapter()
click to toggle source
# File lib/graphql/analyzer/instrumentation/base.rb, line 19 def adapter raise NotImplementedError, "Please override in #{self.class.name}" end
resolve_proc(type, field, method)
click to toggle source
# File lib/graphql/analyzer/instrumentation/base.rb, line 15 def resolve_proc(type, field, method) raise NotImplementedError, "Please override in #{self.class.name}" end