Class: GraphQL::Client::FragmentDefinition
- Inherits:
-
Definition
- Object
- Module
- Definition
- GraphQL::Client::FragmentDefinition
- Defined in:
- lib/graphql/client/fragment_definition.rb
Overview
Specific fragment definition subtype.
Instance Attribute Summary
Attributes inherited from Definition
#client, #definition_node, #document, #schema_class, #source_document, #source_location
Instance Method Summary collapse
Methods inherited from Definition
#definition_name, for, #indexes, #initialize
Constructor Details
This class inherits a constructor from GraphQL::Client::Definition
Instance Method Details
#new(obj, *args) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/graphql/client/fragment_definition.rb', line 9 def new(obj, *args) if obj.is_a?(Hash) raise TypeError, "constructing fragment wrapper from Hash is deprecated" end super end |