Class: GraphQL::Execution::Interpreter::Runtime::CurrentState Private
- Inherits:
 - 
      Object
      
        
- Object
 - GraphQL::Execution::Interpreter::Runtime::CurrentState
 
 
- 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
- 
  
    
      #current_arguments  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
 - 
  
    
      #current_field  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
 - 
  
    
      #current_result  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
 - 
  
    
      #current_result_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
 - 
  
    
      #was_authorized_by_scope_items  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
 
Instance Method Summary collapse
- 
  
    
      #current_object  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 - 
  
    
      #initialize  ⇒ CurrentState 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of CurrentState.
 
Constructor Details
#initialize ⇒ CurrentState
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  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 13 def initialize @current_field = nil @current_arguments = nil @current_result_name = nil @current_result = nil @was_authorized_by_scope_items = nil end  | 
  
Instance Attribute Details
#current_arguments ⇒ Object
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.
      25 26 27  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 25 def current_arguments @current_arguments end  | 
  
#current_field ⇒ Object
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.
      25 26 27  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 25 def current_field @current_field end  | 
  
#current_result ⇒ Object
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.
      25 26 27  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 25 def current_result @current_result end  | 
  
#current_result_name ⇒ Object
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.
      25 26 27  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 25 def current_result_name @current_result_name end  | 
  
#was_authorized_by_scope_items ⇒ Object
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.
      25 26 27  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 25 def @was_authorized_by_scope_items end  | 
  
Instance Method Details
#current_object ⇒ Object
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.
      21 22 23  | 
    
      # File 'lib/graphql/execution/interpreter/runtime.rb', line 21 def current_object @current_result.graphql_application_value end  |