Class: GraphQL::Schema::Printer::TypeKindPrinters::InterfacePrinter

Inherits:
Object
  • Object
show all
Extended by:
FieldPrinter
Defined in:
lib/graphql/schema/printer.rb

Class Method Summary collapse

Methods included from FieldPrinter

print_args, print_fields, print_input_value, print_value

Class Method Details



108
109
110
# File 'lib/graphql/schema/printer.rb', line 108

def self.print(type)
  "interface #{type.name} {\n#{print_fields(type)}\n}"
end