Class: GraphQL::Groups::Schema::GroupField
- Inherits:
-
Schema::Field
- Object
- Schema::Field
- GraphQL::Groups::Schema::GroupField
- Defined in:
- lib/graphql/groups/schema/group_field.rb
Instance Attribute Summary collapse
-
#query_method ⇒ Object
readonly
Returns the value of attribute query_method.
Instance Method Summary collapse
-
#initialize(query_method:, **options, &definition_block) ⇒ GroupField
constructor
A new instance of GroupField.
Constructor Details
#initialize(query_method:, **options, &definition_block) ⇒ GroupField
Returns a new instance of GroupField.
9 10 11 12 |
# File 'lib/graphql/groups/schema/group_field.rb', line 9 def initialize(query_method:, **, &definition_block) @query_method = query_method super(**, &definition_block) end |
Instance Attribute Details
#query_method ⇒ Object (readonly)
Returns the value of attribute query_method.
7 8 9 |
# File 'lib/graphql/groups/schema/group_field.rb', line 7 def query_method @query_method end |