Method: GraphQL::Schema::Member::HasArguments#argument_class

Defined in:
lib/graphql/schema/member/has_arguments.rb

#argument_class(new_arg_class = nil) ⇒ 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.

Parameters:

  • new_arg_class (Class) (defaults to: nil)

    A class to use for building argument definitions



246
247
248
# File 'lib/graphql/schema/member/has_arguments.rb', line 246

def argument_class(new_arg_class = nil)
  self.class.argument_class(new_arg_class)
end