Sha256: dfb691c4ba39dd9a39f4632c22d05257777fc69419daaad9a3c684469c7fac2e
Contents?: true
Size: 507 Bytes
Versions: 7
Compression:
Stored size: 507 Bytes
Contents
module Pesapal module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a Pesapal config file to your application." def copy_config copy_file "pesapal.yml", "config/pesapal.yml" end def copy_initializer copy_file "pesapal.rb", "config/initializers/pesapal.rb" end def show_readme readme "README.md" if behavior == :invoke end end end end
Version data entries
7 entries across 7 versions & 1 rubygems