Class: GraphQL::RootCallArgument
- Inherits:
-
Object
- Object
- GraphQL::RootCallArgument
- Defined in:
- lib/graphql/root_call_argument.rb
Instance Attribute Summary collapse
-
#any_number ⇒ Object
readonly
Returns the value of attribute any_number.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:, name:, any_number: false) ⇒ RootCallArgument
constructor
A new instance of RootCallArgument.
Constructor Details
#initialize(type:, name:, any_number: false) ⇒ RootCallArgument
3 4 5 6 7 |
# File 'lib/graphql/root_call_argument.rb', line 3 def initialize(type:, name:, any_number: false) @type = type @name = name @any_number = any_number end |
Instance Attribute Details
#any_number ⇒ Object (readonly)
Returns the value of attribute any_number.
2 3 4 |
# File 'lib/graphql/root_call_argument.rb', line 2 def any_number @any_number end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/graphql/root_call_argument.rb', line 2 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
2 3 4 |
# File 'lib/graphql/root_call_argument.rb', line 2 def type @type end |