Class: GraphQL::RootCallArgumentDefiner

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/root_call_argument_definer.rb

Overview

Enables the GraphQL::RootCall.argument API, used internall by GraphQL

Constant Summary collapse

ARGUMENT_TYPES =
[:string, :object, :number]

Instance Method Summary collapse

Constructor Details

#initialize(owner) ⇒ RootCallArgumentDefiner

Returns a new instance of RootCallArgumentDefiner.



5
6
7
# File 'lib/graphql/root_call_argument_definer.rb', line 5

def initialize(owner)
  @owner = owner
end

Instance Method Details

#noneObject



9
10
# File 'lib/graphql/root_call_argument_definer.rb', line 9

def none
end