Sha256: 0932e864950dee658cb2250a58fa93c70d761b691fd49e6c8b3261976f9dc17d
Contents?: true
Size: 533 Bytes
Versions: 7
Compression:
Stored size: 533 Bytes
Contents
module LeadManagement module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __dir__) desc 'This will create initializer files for lead management' def create_initializer create_file "config/initializers/lead_management.rb" end desc 'This will create config file for lead management' def create_config template 'lead_management_config.rb', "#{Rails.root}/config/lead_management_config.rb" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems