Module: SfCli::Sf::Model

Defined in:
lib/sf_cli/sf/model.rb,
lib/sf_cli/sf/model/schema.rb,
lib/sf_cli/sf/model/generator.rb,
lib/sf_cli/sf/model/class_definition.rb

Overview

description

The module for Object Model definition and generation

see the section “Object Model support” in README.

Defined Under Namespace

Classes: ClassDefinition, Generator, Schema

Class Method Summary collapse

Class Method Details

.generate(object_names, target_org: nil) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/sf_cli/sf/model.rb', line 12

def self.generate(object_names, target_org: nil)
  generator = Generator.new(target_org: target_org)

  object_names.each do |object_name|
    generator.generate(object_name)
  end
end