Sha256: 1a86efd4261f0502ebe42857e552755550137b7943fadef691e64b29ecacc16d
Contents?: true
Size: 389 Bytes
Versions: 16
Compression:
Stored size: 389 Bytes
Contents
module SimpleNotifications class CopyModelsGenerator < Rails::Generators::Base source_root File.expand_path('../../../simple_notifications/app/models', __dir__) def copy_notification_model copy_file "simple_notification.rb", "app/models/simple_notification.rb" end def copy_delivery_model copy_file "delivery.rb", "app/models/delivery.rb" end end end
Version data entries
16 entries across 16 versions & 1 rubygems