Sha256: 6ea85c1c923ad3b7e1ae77ca305e0e8b5dd7f3bd0fc71bf3c48bfc69dcfcea21

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

class ChinaAqi::InstallGenerator < Rails::Generators::Base
  def append_token_config
    application "config.china_aqi_token = 'you_token_here'\n"
    application '# API key for PM25.in'
    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

1 entries across 1 versions & 1 rubygems

Version Path
china_aqi-0.0.5 lib/generators/china_aqi/install/install_generator.rb