Sha256: bb5098daa9468c3335323296fa35f3393be4d722d637ed9e2a4329c7511265cd
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
# encoding: utf-8 require "rails/generators/named_base" require "rails/generators/active_model" module Baidupush # Your code goes here... module Generators class ConfigGenerator < Rails::Generators::Base desc "Creates a baidu_cloud_push configuration file at config/baidu_push.yml" def self.create_config_file template 'baidu_cloud_push.yml', File.join('config', 'baidu_cloud_push.yml') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Baidupush-0.0.3 | lib/rails/generators/Baidupush/config/config_generator.rb |