Sha256: 3cfcd7df795c43b36f1735a2ce1eb500b0d58ceea2f27cb7c1c6255e16bd219a

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

# encoding: utf-8

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.4 lib/rails/generators/baidupush/config/config_generator.rb