Class: Groovestack::Base::GraphQL::Base::Argument

Inherits:
GraphQL::Schema::Argument
  • Object
show all
Defined in:
lib/groovestack/base/graphql/base/argument.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, camelize: ::Groovestack::Base.config.graphql.camelize, **kwargs, &block) ⇒ Argument

Returns a new instance of Argument.



8
9
10
11
12
# File 'lib/groovestack/base/graphql/base/argument.rb', line 8

def initialize(*args, camelize: ::Groovestack::Base.config.graphql.camelize, **kwargs, &block)
  # Then, call super _without_ any args, where Ruby will take
  # _all_ the args originally passed to this method and pass it to the super method.
  super
end