Sha256: ddd4141c2a0ad5b5682fe253576e5c51939ed0ed4257f1c8c171a677a5afde35
Contents?: true
Size: 439 Bytes
Versions: 9
Compression:
Stored size: 439 Bytes
Contents
require 'rails/generators' class Ipizza::InitGenerator < Rails::Generators::Base def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end def create_configuration_file template 'ipizza.yml', 'config/ipizza.yml' end def copy_test_certificates %w(nordea_test_priv seb_test_priv.pem seb_test_pub.pem).each { |f| copy_file "certificates/#{f}", "config/certificates/#{f}" } end end
Version data entries
9 entries across 9 versions & 1 rubygems