Sha256: 7b972589ed7a8305acd58ef28d48230036f9405842c6c59f8c3b29585c117195

Contents?: true

Size: 418 Bytes

Versions: 12

Compression:

Stored size: 418 Bytes

Contents

module FetcheableOnApi
  module Generators
    # Create conf file
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __dir__)
      desc 'Creates FetcheableOnApi initializer for your application'

      def copy_initializer
        template 'fetcheable_on_api_initializer.rb',
                 'config/initializers/fetcheable_on_api.rb'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fetcheable_on_api-0.4.1 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.4 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.3.1 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.3 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.9 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.8 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.7 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.6 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.5 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.4 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.3 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2.2 lib/generators/fetcheable_on_api/install_generator.rb