Sha256: a93d156b6dfebf370c8b777de996424777b7915df42745155c2f88efd57d6dae

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module NotificationPusher
  class InstallGenerator < Rails::Generators::Base
    source_root(File.join(File.dirname(__FILE__), '../templates/install'))
    desc 'Install NotificationPusher'

    def create_initializer
      template 'initializer.rb', 'config/initializers/notification_pusher.rb'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notification-pusher-3.0.2 lib/generators/notification_pusher/install_generator.rb
notification-pusher-2.0.0 lib/generators/notification_pusher/install_generator.rb