Sha256: 428ee8613feffe133235a7569e192dcb51c60e4f44653194349e56cd4d3a6ff8
Contents?: true
Size: 471 Bytes
Versions: 8
Compression:
Stored size: 471 Bytes
Contents
class PuntoPagosRails::InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_transactions_table generate("migration create_punto_pagos_rails_transactions") new_migration_path = Dir["#{Rails.application.root}/db/migrate/*.rb"].last template "transactions_migration.rb", new_migration_path, force: true end def create_initializer copy_file "puntopagos.yml", "config/puntopagos.yml" end end
Version data entries
8 entries across 8 versions & 1 rubygems