Sha256: a22b011d7d3d5dc5740420b2c53bc845d20afa355ef2a3f1147f6d2f79f47e03
Contents?: true
Size: 516 Bytes
Versions: 24
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true # This is capitalized differently (Fmrest vs FmRest) on purpose, so the # generator can be found as "fmrest:config" module Fmrest module Generators class ConfigGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def copy_config_file copy_file "fmrest.yml", "config/fmrest.yml" end def copy_initializer_file copy_file "fmrest_initializer.rb", "config/initializers/fmrest.rb" end end end end
Version data entries
24 entries across 24 versions & 2 rubygems