Class: Graphql::Generators::MutationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Graphql::Generators::MutationGenerator
- Defined in:
- lib/generators/graphql/mutation_generator.rb
Overview
TODO: What other options should be supported?
Instance Method Summary collapse
Instance Method Details
#create_mutation_file ⇒ Object
14 15 16 |
# File 'lib/generators/graphql/mutation_generator.rb', line 14 def create_mutation_file template "mutation.erb", "app/graphql/mutations/#{file_name}.rb" end |