Sha256: 4766f73cf8827d62e6de7d1cd42df610eb7da35c5e459cd994bff52266463cac
Contents?: true
Size: 597 Bytes
Versions: 6
Compression:
Stored size: 597 Bytes
Contents
module PhraseappInContextEditor module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "Creates a Phrase In-Context-Editor initializer for your application." class_option :account_id, type: :string, desc: "Your Phrase account id", required: true class_option :project_id, type: :string, desc: "Your Phrase project id", required: true def copy_initializer template "phraseapp_in_context_editor.rb", "config/initializers/phraseapp_in_context_editor.rb" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems