class Graphql::Generators::InterfaceGenerator

Generate an interface type by name, with the specified fields.

rails g graphql:interface NamedEntityType name:String!