Class: GraphQLSchema::EnumValue

Inherits:
Object
  • Object
show all
Includes:
Deprecatable, NamedHash
Defined in:
lib/graphql_schema.rb

Instance Method Summary collapse

Methods included from Deprecatable

#deprecated?, #deprecation_reason

Methods included from NamedHash

#camelize_name, #classify_name, #name, #upcase_name

Constructor Details

#initialize(enum_value_hash) ⇒ EnumValue

Returns a new instance of EnumValue.



114
115
116
# File 'lib/graphql_schema.rb', line 114

def initialize(enum_value_hash)
  @hash = enum_value_hash
end