Class: Invoicing::Generators::ModelsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/invoicing/invoicing_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_modelsObject


7
8
9
10
11
# File 'lib/rails/generators/invoicing/invoicing_generator.rb', line 7

def create_models
  invoke "invoicing:tax_rate",    ["tax_rate"]
  invoke "invoicing:ledger_item", ["ledger_item"]
  invoke "invoicing:line_item",   ["line_item"]
end