Sha256: 89c5c600b11ca8bf22665e97e043a924392518a4ab227cdcac27f4ab86500309
Contents?: true
Size: 893 Bytes
Versions: 36
Compression:
Stored size: 893 Bytes
Contents
module Connector module Generators class ComplexEntityGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def copy_example_files copy_file 'complex_entity_example/contact_and_lead.rb', 'app/models/entities/example_contact_and_lead.rb' copy_file 'complex_entity_example/contact.rb', 'app/models/entities/sub_entities/example_contact.rb' copy_file 'complex_entity_example/contact_mapper.rb', 'app/models/entities/sub_entities/example_contact_mapper.rb' copy_file 'complex_entity_example/lead.rb', 'app/models/entities/sub_entities/example_lead.rb' copy_file 'complex_entity_example/lead_mapper.rb', 'app/models/entities/sub_entities/example_lead_mapper.rb' copy_file 'complex_entity_example/person.rb', 'app/models/entities/sub_entities/example_person.rb' end end end end
Version data entries
36 entries across 36 versions & 1 rubygems