Class: GraphQL::EnumType::EnumValue
Overview
Constant Summary
collapse
- ATTRIBUTES =
[:name, :description, :deprecation_reason, :value]
Instance Attribute Summary collapse
Instance Method Summary
collapse
#define, #deprecated_define, #initialize_copy, #metadata, #redefine
Instance Attribute Details
#ast_node ⇒ Object
73
74
75
|
# File 'lib/graphql/enum_type.rb', line 73
def ast_node
@ast_node
end
|
Instance Method Details
#graphql_name ⇒ Object
83
84
85
|
# File 'lib/graphql/enum_type.rb', line 83
def graphql_name
name
end
|
#name=(new_name) ⇒ Object
#type_class ⇒ Object
87
88
89
|
# File 'lib/graphql/enum_type.rb', line 87
def type_class
metadata[:type_class]
end
|