Sha256: 068a248df87368593840c6a95b3f93cbe931ca7419cf02e2eea5dd9937b12433
Contents?: true
Size: 681 Bytes
Versions: 1
Compression:
Stored size: 681 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/active_record' class Hws::PaymentOperationsDemo::InstallGenerator < Rails::Generators::Base # :nodoc: include Rails::Generators::Migration source_root File.expand_path('templates', __dir__) def self.next_migration_number(path) ActiveRecord::Generators::Base.next_migration_number(path) end def install_dependencies generate 'hws:resources:install' generate 'hws:stores:install' generate 'hws:transactions:install' generate 'hws:instruments:install' end def copy_migrations migration_template 'migration.rb.erb', 'db/migrate/create_hws_instrument_resource_store_table.rb' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hws-payment_operations_demo-0.1.0 | lib/generators/hws/payment_operations_demo/install_generator.rb |