Sha256: cb1839093fc4435c1d3cd9b3dd2048749031530a6c67ebd3cddcf64061dda3c7
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
require 'rails/generators' module ZeroPush class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_initializer_file @production_token = ask 'Production auth_token:' @development_token = ask 'Development auth_token:' template('zero_push.rb', 'config/initializers/zero_push.rb') end private def self.installation_message 'Generates the initializer' end desc installation_message end end
Version data entries
15 entries across 15 versions & 1 rubygems