Sha256: b6c90fcb279995c7a3c0cac682238a6ef1dceec751eee96305c073e8a726c4a3

Contents?: true

Size: 424 Bytes

Versions: 11

Compression:

Stored size: 424 Bytes

Contents

module PushToSns # We need this name to help Rails generators lookup
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Create PushToSNS configuration initializer"

      def self.source_root
        @source_root ||= File.expand_path("../templates", __FILE__)
      end

      def create_config_initializer
        copy_file "config/initializers/push_to_sns.rb"
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
push_to_sns-0.6.0 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.5.0 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.4.1 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.4.0 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.3.3 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.3.2 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.3.1 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.3.0 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.2.0 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.1.1 lib/rails/generators/push_to_sns/install_generator.rb
push_to_sns-0.1.0 lib/rails/generators/push_to_sns/install_generator.rb