Sha256: f658e843aa5566d87b4673eb24261c929c56213076ced6e407a07fbb714f15f1

Contents?: true

Size: 425 Bytes

Versions: 28

Compression:

Stored size: 425 Bytes

Contents

require 'rails/generators'

module Maxipago
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy Maxipago initializer file"
      source_root File.expand_path('../templates',__FILES__)

      def copy_maxipago_config_file
        puts "copy maxipago.rb in /config/initializers"
        copy_file "maxipago_config_template.rb", "config/initializers/maxipago.rb"
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
maxipago-0.1.10 lib/generators/maxipago/install_generator.rb
maxipago-0.1.9 lib/generators/maxipago/install_generator.rb
maxipago-0.1.8 lib/generators/maxipago/install_generator.rb
maxipago-0.1.7 lib/generators/maxipago/install_generator.rb
maxipago-0.1.6 lib/generators/maxipago/install_generator.rb
maxipago-0.1.5 lib/generators/maxipago/install_generator.rb
maxipago-0.1.4 lib/generators/maxipago/install_generator.rb
maxipago-0.1.3 lib/generators/maxipago/install_generator.rb