Sha256: 2cb4d42db4d1a7e34d066ef60b07efac65159aa655e4e619b56cc75f7bdfdb9d

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 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 show_readme
        readme "README.md" if behavior == :invoke
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pesapal-1.5.4 lib/generators/pesapal/install_generator.rb
pesapal-1.5.3 lib/generators/pesapal/install_generator.rb
pesapal-1.5.2 lib/generators/pesapal/install_generator.rb
pesapal-1.5.1 lib/generators/pesapal/install_generator.rb
pesapal-1.5.0 lib/generators/pesapal/install_generator.rb