Class: GraphQL::Define::AssignMutationFunction::ResultProxy

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/graphql/define/assign_mutation_function.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target, client_mutation_id) ⇒ ResultProxy

Returns a new instance of ResultProxy.



27
28
29
30
# File 'lib/graphql/define/assign_mutation_function.rb', line 27

def initialize(target, client_mutation_id)
  @client_mutation_id = client_mutation_id
  super(target)
end

Instance Attribute Details

#client_mutation_idObject (readonly)

Returns the value of attribute client_mutation_id.



26
27
28
# File 'lib/graphql/define/assign_mutation_function.rb', line 26

def client_mutation_id
  @client_mutation_id
end