Sha256: 15899cccf5478b9dfca7733f2a16c1dae6b474de1ff4ee1f7131431176914a24

Contents?: true

Size: 395 Bytes

Versions: 8

Compression:

Stored size: 395 Bytes

Contents

module Opay
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      desc "Description: Copies Opay configuration file to your application's initializer directory"
      def copy_config_file
        template 'opay_config.rb', 'config/initializers/opay_config.rb'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opay-1.0.7 lib/generators/opay/install_generator.rb
opay-1.0.6 lib/generators/opay/install_generator.rb
opay-1.0.5 lib/generators/opay/install_generator.rb
opay-1.0.4 lib/generators/opay/install_generator.rb
opay-1.0.3 lib/generators/opay/install_generator.rb
opay-1.0.1 lib/generators/opay/install_generator.rb
opay-1.0.0 lib/generators/opay/config_generator.rb
opay-1.0.0.beta lib/generators/opay/config_generator.rb