Class: FragmentGraphQl::CustomClient

Inherits:
GraphQL::Client
  • Object
show all
Defined in:
lib/fragment_client.rb

Overview

Create a custom client class for Fragment-specific behavior

Defined Under Namespace

Classes: Definition

Class Method Summary collapse

Class Method Details

.new(schema:, execute:) ⇒ Object

Add this method to allow creating new instances



58
59
60
# File 'lib/fragment_client.rb', line 58

def self.new(schema:, execute:)
  super(schema: schema, execute: execute)
end