Sha256: 9dc2c32365ae9b3162b16c8b7948283b85356ee105f2c057c4c68df2a15d36c2

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/base'

module SchoologyClient
  module Generators

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

      desc "Generate Strongmind Schoology Client initializer file for Rails applications"

      def copy_initializer
        template "schoology_api.rb", "config/initializers/schoology_api.rb"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strongmind-schoology-client-0.1.5 lib/schoology_client/generators/schoology_client/install_generator.rb
strongmind-schoology-client-0.1.4 lib/schoology_client/generators/schoology_client/install_generator.rb
strongmind-schoology-client-0.1.3 lib/schoology_client/generators/schoology_client/install_generator.rb