Sha256: 419d551e257d361214eed6dd0ab1c962dd0346edf8adaca9a80be93cd62fd10a
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 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 template "puntopagos.yml", "config/puntopagos.yml" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
punto_pagos_rails-1.0.1 | lib/generators/punto_pagos_rails/install/install_generator.rb |
punto_pagos_rails-1.0.0 | lib/generators/punto_pagos_rails/install/install_generator.rb |