Class: OpenIdAuthenticationTablesGenerator

Inherits:
Rails::Generator::NamedBase
  • Object
show all
Defined in:
lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb

Instance Method Summary collapse

Constructor Details

#initialize(runtime_args, runtime_options = {}) ⇒ OpenIdAuthenticationTablesGenerator

Returns a new instance of OpenIdAuthenticationTablesGenerator.


2
3
4
# File 'lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb', line 2

def initialize(runtime_args, runtime_options = {})
  super
end

Instance Method Details

#manifestObject


6
7
8
9
10
# File 'lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb', line 6

def manifest
  record do |m|
    m.migration_template 'migration.rb', 'db/migrate'
  end
end