Class: Service::Generators::ExternalGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/service/external/external_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_externalsObject



11
12
13
14
15
16
17
# File 'lib/generators/service/external/external_generator.rb', line 11

def create_externals
  externals.each do |m|
    @external = m.classify
    create_main(m)
    create_test(m)
  end
end