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, #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