module Pxpay class InstallGenerator < Rails::Generators::Base desc "Copies pxpay.yml to config" source_root File.expand_path('../templates', __FILE__) def copy_files template 'pxpay.yml' ,'config/pxpay.yml' end end end