Class: GraphQL::StaticValidation::DefinitionDependencies::NodeWithPath

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/graphql/static_validation/definition_dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node, path) ⇒ NodeWithPath


102
103
104
105
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 102

def initialize(node, path)
  @node = node
  @path = path
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node


101
102
103
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 101

def node
  @node
end

#pathObject (readonly)

Returns the value of attribute path


101
102
103
# File 'lib/graphql/static_validation/definition_dependencies.rb', line 101

def path
  @path
end