Sha256: 8f8b3f5fc830fc0b6bc62abbebd7ab557d71b6d158f3741f82d02d8ef5f20b46

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

class ChinaAqi::InstallGenerator < Rails::Generators::Base
  def append_token_config
    application "config.china_aqi_token = 'you_token_here'"
    puts "Find below line in \e[33mconfig/application.rb\e[0m:"
    puts "\e[32m  config.china_aqi_token = '\e[0m\e[31myou_token_here\e[0m\e[32m'\e[0m"
    puts "Put your token."
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
china_aqi-0.0.4 lib/generators/china_aqi/install/install_generator.rb
china_aqi-0.0.3 lib/generators/china_aqi/install/install_generator.rb
china_aqi-0.0.2 lib/generators/china_aqi/install/install_generator.rb
china_aqi-0.0.1 lib/generators/china_aqi/install/install_generator.rb