Sha256: 27b4604bd7c609fdc8d6e33277486644ce9b65749e32fa96bde3242cb59d8156

Contents?: true

Size: 319 Bytes

Versions: 12

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module BeyondApi
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __dir__)

      def copy_initializer
        template "beyond_api_initializer.rb", "config/initializers/beyond_api.rb"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
beyond_api-0.24.3.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.24.2.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.24.1.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.24.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.23.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.22.2.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.22.1.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.22.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.21.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.20.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.19.0.pre lib/generators/beyond_api/install_generator.rb
beyond_api-0.18.2.pre lib/generators/beyond_api/install_generator.rb