Sha256: 9562296dfafb57d1273dcc0d339f84356889a432caaffadb9b8f2303b43c6e2e
Contents?: true
Size: 389 Bytes
Versions: 13
Compression:
Stored size: 389 Bytes
Contents
class JoyDataTransformerGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) argument :transformer_name, type: :string def generate_transformer create_transformer end private def create_transformer template 'joy_transformer_template.template', "app/services/ussd/transformers/#{transformer_name.underscore}_transformer.rb" end end
Version data entries
13 entries across 13 versions & 1 rubygems