Class: GraphQLSchema::EnumValue
- Inherits:
-
Object
- Object
- GraphQLSchema::EnumValue
- Includes:
- Deprecatable, NamedHash
- Defined in:
- lib/graphql_schema.rb
Instance Method Summary collapse
-
#initialize(enum_value_hash) ⇒ EnumValue
constructor
A new instance of EnumValue.
Methods included from Deprecatable
#deprecated?, #deprecation_reason
Methods included from NamedHash
#camelize_name, #classify_name, #description, #name, #to_h, #upcase_name
Constructor Details
#initialize(enum_value_hash) ⇒ EnumValue
Returns a new instance of EnumValue.
135 136 137 |
# File 'lib/graphql_schema.rb', line 135 def initialize(enum_value_hash) @hash = enum_value_hash end |