Sha256: 5cfa2dec3511e17a1cf2d14417b3bffc1a3a4d6840c83346236bc61ee73b1dc7

Contents?: true

Size: 382 Bytes

Versions: 10

Compression:

Stored size: 382 Bytes

Contents

module FetcheableOnApi
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)
      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

10 entries across 10 versions & 1 rubygems

Version Path
fetcheable_on_api-0.2.1 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.2 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.9.0 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.8 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.7 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.6 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.5 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.4 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.3 lib/generators/fetcheable_on_api/install_generator.rb
fetcheable_on_api-0.1.2 lib/generators/fetcheable_on_api/install_generator.rb