Class: GraphQL::Execution::Interpreter::Runtime::CurrentState Private

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/execution/interpreter/runtime.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCurrentState

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CurrentState.



13
14
15
16
17
18
19
20
# File 'lib/graphql/execution/interpreter/runtime.rb', line 13

def initialize
  @current_object = nil
  @current_field = nil
  @current_arguments = nil
  @current_result_name = nil
  @current_result = nil
  @was_authorized_by_scope_items = nil
end

Instance Attribute Details

#current_argumentsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def current_arguments
  @current_arguments
end

#current_fieldObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def current_field
  @current_field
end

#current_objectObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def current_object
  @current_object
end

#current_resultObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def current_result
  @current_result
end

#current_result_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def current_result_name
  @current_result_name
end

#was_authorized_by_scope_itemsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
# File 'lib/graphql/execution/interpreter/runtime.rb', line 22

def was_authorized_by_scope_items
  @was_authorized_by_scope_items
end