Class: GraphQL::Argument
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
236 237 238 239 240 |
# File 'ext/graphql_parser/graphql_ruby.c', line 236
static VALUE argument_get_name(VALUE self) {
struct GraphQLAstArgument *node;
TypedData_Get_Struct(self, struct GraphQLAstArgument, &argument_type, node);
return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstArgument_get_name(node));
}
|
#value ⇒ Object
242 243 244 245 246 |
# File 'ext/graphql_parser/graphql_ruby.c', line 242
static VALUE argument_get_value(VALUE self) {
struct GraphQLAstArgument *node;
TypedData_Get_Struct(self, struct GraphQLAstArgument, &argument_type, node);
return TypedData_Wrap_Struct(value_class, &value_type, (void*)GraphQLAstArgument_get_value(node));
}
|