Sha256: c366719a9b796337566a88f35957082b41c55a5edaee10c5dddf90e62e919de8

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

module CampaignByMsg91
  # Generators for LokaliseRails
  module Generators
    # Installs LokaliseRails config
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __dir__)

      desc 'Creates a campaign_by_msg91 initializer file.'

      def copy_initializer
        template 'campaign_by_msg91_initializer.rb', 'config/initializers/campaign_by_msg91.rb'
        puts 'Install complete!'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
campaign_by_msg91-0.1.6 lib/generators/campaign_by_msg91/install_generator.rb
campaign_by_msg91-0.1.5 lib/generators/campaign_by_msg91/install_generator.rb