Class: MailEngine::Install

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/mail_engine/generators/install.rb

Instance Method Summary collapse

Instance Method Details

#copy_migrationsObject



16
17
18
19
# File 'lib/mail_engine/generators/install.rb', line 16

def copy_migrations
  say "Copying Migration Files to project...", :yellow
  MailEngine::CopyMigrations.start
end

#copy_resourcesObject



11
12
13
14
# File 'lib/mail_engine/generators/install.rb', line 11

def copy_resources
  say "Copying Resource Files to project...", :yellow
  MailEngine::CopyResources.start
end

#create_configObject



6
7
8
9
# File 'lib/mail_engine/generators/install.rb', line 6

def create_config
  say "Create Configure file to project...", :yellow
  MailEngine::CreateConfig.start
end