Sha256: 0ea2ad136b361ace8695799e261e3bb14c32ec5408a63fe1983821d2f72e78d6

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

module Pxpay
  class InstallGenerator < Rails::Generators::Base
    desc "Copies pxpay.yml to config and a config initializer to config/initializers/pxpay_config.rb"

    source_root File.expand_path('../templates', __FILE__)

    def copy_files
      template        'pxpay.rb'  ,'config/initializers/pxpay.rb'
      template        'pxpay.yml' ,'config/pxpay.yml'
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pxpay-0.1.0 lib/pxpay/install_generator.rb