Sha256: aac860289b874c7b55b7be852a2471a66b121d7fe558b80f58eee1c0023246b6

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

module Clearest
  class ServiceBuilder
    def initialize(_options = {})
      _options[:template_map] = {
        'models/TABLE_NAME.rb' => [:model_definition],
        'routes/TABLE_NAME.rb' => [:prefix,:table_name,:model_name],
        'spec/TABLE_NAME_spec.rb' => [:prefix,:table_name,:model_name,:test_db_filename,:first_obj,:second_obj,:updated_field,:new_value]
      }
      Clearest::TemplatesGenerator::new _options
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clearest-0.0.1a lib/clearest/builders/2_services.rb