Sha256: 57c07fee4e6c44460e90a9e0f2a74de8f2359ab5a50eafecf401a1af635d1dbc

Contents?: true

Size: 495 Bytes

Versions: 10

Compression:

Stored size: 495 Bytes

Contents

require 'colorize'
module NitroPay
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)
      
      desc 'It automatically create it initializer NitroPay rails app config'
      
      def copy_initializer
        template 'nitro_pay.rb', 'config/initializers/nitro_pay.rb'
        puts 'Check your config/initializers/nitro_pay.rb & read it comments'.colorize(:light_yellow)
      end
      
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nitro_pay-1.0.10 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.9 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.8 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.7 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.6 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.4 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.3 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.2 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.1 lib/generators/nitro_pay/install_generator.rb
nitro_pay-1.0.0 lib/generators/nitro_pay/install_generator.rb