Class: GraphQL::Directive
- Defined in:
- ext/graphql_parser/graphql_ruby.c
Instance Method Summary collapse
Instance Method Details
#arguments_size ⇒ Object
592 593 594 595 596 |
# File 'ext/graphql_parser/graphql_ruby.c', line 592
static VALUE directive_get_arguments_size(VALUE self) {
struct GraphQLAstDirective *node;
TypedData_Get_Struct(self, struct GraphQLAstDirective, &directive_type, node);
return INT2FIX(GraphQLAstDirective_get_arguments_size(node));
}
|
#name ⇒ Object
586 587 588 589 590 |
# File 'ext/graphql_parser/graphql_ruby.c', line 586
static VALUE directive_get_name(VALUE self) {
struct GraphQLAstDirective *node;
TypedData_Get_Struct(self, struct GraphQLAstDirective, &directive_type, node);
return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstDirective_get_name(node));
}
|