Module: Pu::Rodauth::Concerns::AccountSelector

Included in:
AccountGenerator, MigrationGenerator
Defined in:
lib/generators/pu/rodauth/concerns/account_selector.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
# File 'lib/generators/pu/rodauth/concerns/account_selector.rb', line 5

def self.included(base)
  base.send :argument, :account_name, type: :string, desc: "name of the account model. "
  base.send :class_option, :migration_name, type: :string, desc: "[CONFIG] name of the generated migration file"
end