Class: GraphQL::RootCallArgumentDefiner
- Inherits:
-
Object
- Object
- GraphQL::RootCallArgumentDefiner
- Defined in:
- lib/graphql/root_call_argument_definer.rb
Constant Summary collapse
- ARGUMENT_TYPES =
[:string, :object, :number]
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
Instance Method Summary collapse
-
#initialize(call_class) ⇒ RootCallArgumentDefiner
constructor
A new instance of RootCallArgumentDefiner.
- #none ⇒ Object
Constructor Details
#initialize(call_class) ⇒ RootCallArgumentDefiner
Returns a new instance of RootCallArgumentDefiner.
6 7 8 9 |
# File 'lib/graphql/root_call_argument_definer.rb', line 6 def initialize(call_class) @call_class = call_class @arguments = [] end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
4 5 6 |
# File 'lib/graphql/root_call_argument_definer.rb', line 4 def arguments @arguments end |
Instance Method Details
#none ⇒ Object
11 12 13 |
# File 'lib/graphql/root_call_argument_definer.rb', line 11 def none @arguments = [] end |